Skip to content

Releases: metal-toolbox/flasher

v0.0.4

13 Jun 13:24
aaf4dfa
Compare
Choose a tag to compare

Use the ConditionOrc exported name for the status KV bucket.

v0.0.3

09 Jun 18:43
7e9c86e
Compare
Choose a tag to compare

What's Changed

  • worker/publish: suffix publish subject with condition update by @joelrebel in #24
  • Vc/export install status obj by @DoctorVin in #25

Full Changelog: v0.0.2...v0.0.3

v0.0.2

05 Jun 10:40
0c35a03
Compare
Choose a tag to compare

Changelog

  • 0c35a03 add a KV status publisher for Flasher (#21)
  • 5a5773e app/config: load nats connect timeout from env var
  • 7035cf9 app/config: load various NATS stream configuration parameters from env variables
  • d85a771 app: clean up pprof endpoint spawn
  • e9636ad metrics: listen on port 9090 for prometheus scrape
  • af40c5b update conditionorc dep, firmawareInstall conditionKind was renamed
  • 54c65e5 worker: fix publish subject - should be suffix and not the whole

v0.0.1

31 May 10:16
Compare
Choose a tag to compare

Changelog

  • b0b28f0 .goreleaser: fix dumb copy paste
  • ca33ef9 Add Goreleaser configuration, update CI deps
  • d1874b9 Adds flasher version command and export version metrics
  • 902cba4 Adds go.mod, go.sum, CI, linter docker, workflow templates
  • f58e79c Make, CI: remove inband image build step
  • a0dc96a Makefile: Add command to generate docs
  • af4e32d README: update diagram, cheatsheet
  • e5309ba Vc/event message update (#14)
  • 7704c6a add worker liveness support for flasher (#15)
  • 724386e ci/release: quote Go version so its not interpret as 1.2 vs 1.20
  • aa13270 cmd/export: Update statemachine docs generation to generate dot and JSON formats
  • 87f76fc cmd/export: rework statemachine documentation exporter methods
  • 3fd2b4d cmd/root,run: rework for changes in worker execution
  • ca585bf cmd/version: fixes copy pasta typo
  • 0f25e83 cmd: purge unused commands
  • 72eed3c docs generated: updated statemachine docs
  • a0ca6e6 docs, samples: add README, statemachine docs and sample configuration files
  • abcafc6 fixtures: update based on changes to structs, lint
  • a66db42 go: bump conditionorc dep
  • a90bb26 go: bump conditionorc dependency
  • 0a716ce go: updated dependencies
  • bdfb623 init branch
  • 7d20ff8 internal/app: define flasher app type
  • 47e7071 internal/app: rework to load configuration file
  • ebe8cbd internal/fixtures: add fixture data for tests
  • dff3ee0 internal/inventory: provides an interface to inventory backends
  • f7fed7f internal/model: define consts, types and methods on the types
  • fb01f7e internal/outofband: defines the statemachine to install firmware out of band
  • d28582a internal/statemachine: rename state succeeded -> success to conform with condition states
  • bfb9daa internal/statemachine: statemachine that drives tasks to completion
  • 63651aa internal/store: store provides an interface to persist flasher task data
  • a08f5b1 internal/worker: implements a worker loop to handler firmware install tasks.
  • bcbdc6b inventory package replaced by store
  • cfc849b main, cmd: Add cli command methods to execute flasher
  • 75138f5 model/config: configuration load moved into internal/app
  • d8b7317 model/task: include fault injection field in Task
  • e1fec91 model/task: update Task, TaskParameter fields and comments
  • fc2a37e model: firmware install sort will be moved into the worker package
  • c4acaf7 model: rename Device struct to Asset
  • 196e213 model: rename and add a few consts
  • 4b32e88 model: update Firmware struct to include ID, rename ComponentSlug field
  • 246ef4f outofband/action handler: remove nil err var in log message
  • d7de3d2 outofband/action handler: update error to be more clear
  • 0c75132 outofband/action: state transition, publish handler renamed
  • d75aae6 outofband/action_handlers: purge unused function parameters, objects renamed
  • f932a04 outofband/actions: sha1 file checksums were replaced with md5 sum
  • aebef61 outofband/actions: update tests
  • dd6e29c outofband/bmc: create a context with timeout for each login attempt
  • c5f9397 outofband/bmc: simplify time.Duration consts, lint fixes
  • f3f8814 outofband/download: define HTTP client timeout
  • c111d99 outofband: renamed object Device -> Asset and a few lint fixes
  • 342794f purge unused StreamEvent.Data field
  • 5649a62 purge unused Task.InstallFirmwares field
  • d67492c purge unused context parameter
  • cc2320c samples: update worker config
  • f719c30 statemachine/task: Add init task transistion to cover any Task initialization work
  • c7ebde4 statemachine/task: PersistState() method renamed to PublishStatus()
  • 6a12aa4 statemachine/task: Task.Status is now Task.State()
  • 2df6da3 statemachine: Implements conditional fault in task execution
  • 428bc47 statemachine: Task Status field renamed
  • fd345f1 statemachine: purge unused state, fix statemachine docs
  • b9cecf5 statemachine: update task HandlerContext type to include the Task type
  • 42f8c53 statemachine: update tests
  • e648a9d statemachines/action: return consistent errors with component information
  • 2121f02 store/serverservice: init client with OAuth support based on configuration
  • 05a21c0 worker/task handler: set action state to active
  • 70a1e3f worker: accept the --fault-injection parameter and setup task to run with fault
  • c8eb3c2 worker: include condition identifier in conditionUpdate payload
  • 4c09777 worker: purge firmware version check method
  • a9c04eb worker: purge unused code
  • c7cd4a4 worker: refactor to listen for stream events and simplify task execution
  • e88b6b2 worker: task handler file renamed
  • e3be6a3 worker: update tests
  • 5880908 worker; clearer atomic decrement for dispatched routines