Releases: metal-toolbox/flasher
Releases · metal-toolbox/flasher
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3
Changelog
- 91ed505 Changes to compilation to support linux (#140)
- aa1c8b6 Makefile: include gen-mocks command
- e645e7e ci, go: update deps
- 590ce2f ci: use Go version from go.mod file
- 91e67b2 config: fixes NATS KV replica, concurrency parameter handling
- fa72a90 go: update dependencies
- 3d814c7 linter: update golangci-lint and lint files
- 6b1fc62 store: rename HSS references to fleetdb
- 9606566 worker: switch to using the rivets controller package
v1.0.2
Changelog
- ab3cf47 DeviceQueryor interface: define and implement the ReinitializeClient() method
- bed2caa outofband/bmc: reinitialize the client if the BMC was reset or flashed
- 95cb6ac outofband/bmc: return err as is
- 8dfafdb outofband: add debug/trace logging in a few places and enable otel bmclib tracing
- 9b6269b update go deps
v1.0.1
Changelog
- c7fbff5 Go: update bmclib to v2.2.1
- c5786c7 cmd/export: update command that exports the statemachine docs
- 253d3f0 install: update install command to use internal task runner
- 388d981 runner: fix execution order with struct slice instead of map
- 4dfc36f runner: runner initializes and runs tasks for flasher
- 6997f2b statemachine: purge task statemachine runner
- c9f62ac worker: fix up to use the internal task runner
- aeff50c worker: purge debug prints
v1.0.0
Changelog
- 578aebc Adapt mock for new parameter
- ecc737b Add parameter to bypass Open on FirmwareTaskStatus
- 4d0502f FirmwareTaskStatus(): remove unused bool parameter to skip bmc session Open
- 6189492 Install uber's mockgen in make gen-mock
- 4612e68 Need to downgrade rivets to take dev version
- 7b55d25 Update go modules
- 69f7a1a Update go modules
- 594b36b action_handlers: update StatusRecord with status while polling
- 7efd0a1 adds the install command
- 5f8a08f app: define the cli app kind for when
flasher install
is invoked via CLI - 2d9f237 cap status history at last 5 entries (#109)
- 886220c cmd/export: use FirmwareInstallSteps to generate docs
- d02ed94 cmd/install: Add a --plan-only flag to print the firmware install plan
- c9f107e cmd/install: a few fixes based on feedback
- f4cdbd7 cmd/install: add --force flag to skip checking install versions
- 17888d2 cmd/install: fix up force install param
- e1660db cmd/install: include firmware vendor, model parameters required for firmware install
- 394754a cmd/install: listen for ctrl+c
- 35690a0 fix up task run, IP parse
- ad2f8fd fix(deps): update module github.com/nats-io/nats-server/v2 to v2.10.4 [security]
- 62be8df fixtures/bmc: replaced by gomock
- 6e30158 fixtures/mock: make gen-mocks
- 5e021a8 go: mod tidy
- f8d97d5 go: pin bmclib to version with ASRR firmware update support
- f4bdef9 go: update bmclib and other deps
- 2a43a6c go: update bmclib dep to include bmc reset support for Dell, OpenBMC, SMC
- b6bfb74 go: update bmclib for openbmc support
- 6564c52 go: update deps to latest, pin to bmclib v2.2.0
- aef181c gomock: move to go.uber.org/mock since https://github.com/golang/mock is deprecated
- fc103de install/task_handler: update plan method to use FirmawreInstallSteps
- 8d3b66e install/taskhandler: make linter happy
- 25c7f0a install: fix up linter comments
- 104efcd install: validate update file exists
- fc79d0f model/DeviceQueryor: define the new interface methods
- a5a8aa7 model/DeviceQueryor: update interface for newer firmware methods
- 14e10ad model/DeviceQueryor: use go generate for mock
- 09b0f72 model/component: BySlug to return BIOS, BMC components as is when found
- d005f5a model/task: declare parameters for BMC resets
- 2c28261 model/task: update comment and add the FirmwareInstallStep field
- fac7879 model/task: updated boolean variable name
- 97fcd3c outofband/BmcResetParams: Add helper method to resolve BMC reset parameters
- 2580861 outofband/action handlers: update for newer handlers
- 31a08f8 outofband/action: update tests for newer interface
- c14c89d outofband/action_handlers: add a smaller powerCycleBMC() method for reuse
- d2543a9 outofband/action_handlers: checkFirmwareInstall method returns errors only when firmware is equal
- c6e1b02 outofband/action_handlers: pollFirmwareTaskStatus to use updated consts, rework
- 1d39500 outofband/action_handlers: use newer bmclib upload and initiate firmware install method
- 35412c6 outofband/actions: Add a Remove() method on the Transitions type
- 0bf8989 outofband/actions: composeTransitions() to accept a bmc reset bool parameter
- 817059f outofband/actions: purge postInstallResetBMC transition
- be3f364 outofband/actions: resetDevice is run only if host indicates it requires a powercycle
- 81efbdf outofband/actions: rework transitions
- 1ffd534 outofband/actions: when required reset BMC during polling
- b584eaa outofband/bmc: bmclibv2 is now main, purge trace spans added into bmclib
- 66279d7 outofband/bmc: pin bmclib provider and reinit bmclib client on disconnect
- 781b880 outofband/bmc_helper: check error on method return
- 2e98a50 outofband/sessionActive(): bubble up bmcliberrs.ErrBMCUpdating error
- b7b92b3 outofband: invert test based on changes to method
- 1ac12d1 outofband: rework status poller method
- dd39923 statemachine/actions: removes redundant Action Success, Failure Transitions and handlers
- afc66b6 update docs to reflect changes
- bc60ab8 worker/task_handler tests: update comments to reflect test case
- 1b7ac72 worker: bmc resets to be done only for the first action when required
- d8ec55d worker: initialize device queryor earlier, invoke FirmwareInstallSteps
v0.2.7
Changelog
- 61f522b Task.Status to hold records of status updates
- 81fae82 Task/StatusRecord: change method on type String() -> MustMarshal() json.RawMessage
- 9e81160 go: update bmclib to current
- f18a169 go: update deps
- 6444c93 go: update rivets
- 008ad8f outofband/powerOnDevice: don't fail on host power status in subsequent actions
- 33d1de8 outofband: host required to be powered off based on task parameter
- cc7c706 task/StatusRecord: add tests
- cc16703 worker: log final action bool
v0.2.6
Changelog
- 7e116de Adding conditionKind values to traces (#91)
- 8b8ecb6 statemachine/actions: a few more logging tweaks
- bf99013 statemachine/actions: support conditional faults in action handlers
- a42b9ff statemachine/actions: update logging and invert error check for readability
- 4283a99 statemachine/task: fixes the task success handler not being executed
- 3b523c4 worker/task_handler: TaskSuccessful to summarize task Status
- ae60f60 worker/task_handler: tweak logging for consistency