Skip to content

Releases: metal-toolbox/flasher

v1.0.9

06 May 09:30
Compare
Choose a tag to compare

Changelog

  • b13ac00 go: update to bmclib v2.2.6 which fixes a regression in the SMC X11 provider

v1.0.8

03 May 06:17
Compare
Choose a tag to compare

Changelog

  • 49ac14e Use mockery for generating mocks
  • 10164d1 cmd/export diagram: update graph methods and move into respective packages
  • 2c9c7e1 go: update deps
  • 25821ad install/task_handler: use runner.TaskHandlerContext
  • 39177be install: move from statemachine lib to internal handler
  • ca1dfc2 internal/fixtures: purge fixtures package, not required anymore
  • db2e212 internal/install: fix install cli command for recent runner changes
  • acec76c internal/model: Add Action, Step types and related methods
  • 0ded45a internal/runner: Define TaskHandler, ActionHandler structs
  • 7e67d53 internal/statemachine: purge statemachine package
  • 6c6a76a model/Task: use 1.0 for the version, clean up a TODO
  • fa44b98 outofband/action_handlers: move to internal model.Step type
  • 86dcd49 outofband/actions: move handler init into helper method
  • 08c141d outofband/actions: switch to internal model.Step from stateswitch.TransitionTyps
  • a0421f1 outofband/bmc: DeviceQueryor moved into its own package
  • ca5af94 outofband: power off the host if the provider indicates its required
  • d40fd31 runner: add mocks
  • 48844c5 runner: fix imports after rebase on main
  • dc6bccd runner: rename type Handler -> TaskHandler
  • 8c7a63d update bmclib for Supermicro x12spo-ntf BIOS update fixes
  • a8f63c8 worker, install: move RunActions into the runner
  • 5370388 worker/task_handler: move to runner.TaskHandlerContext
  • ddd5451 worker/task_handler: update PlanActions() to use actions composer

v1.0.7

25 Apr 12:15
Compare
Choose a tag to compare

Changelog

  • 69e5c5d outofband/action_handlers: poller to collect inventory for install tasks

v1.0.6

22 Apr 12:52
Compare
Choose a tag to compare

Changelog

  • 56b74a0 Update rivets to include nil pointer deref fix
  • b500638 outofband/action_handlers: elaborate a bit more on verifyAttempts
  • 89d3430 outofband/poll: clearer logging and error return
  • 3b4c71c outofband/poll: require multiple inventory attempts

v1.0.5

18 Apr 13:56
Compare
Choose a tag to compare

Changelog

  • c17a9f9 go: pin bmclib to release with SMC, provider session fixes
  • d6ed897 go: pin to bmclib release with SMC session fixes
  • ef1343a internal/outofband: a few debug logging improvements, shadow err var fixes
  • ce92796 internal/runner: recover on panic, fail task

v1.0.4

08 Apr 15:18
Compare
Choose a tag to compare

Changelog

  • 7bfa9fd go: include rivets fix for NATS connection setup and update other deps

v1.0.3

05 Apr 10:58
Compare
Choose a tag to compare

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

29 Feb 10:46
Compare
Choose a tag to compare

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

02 Feb 13:46
Compare
Choose a tag to compare

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

07 Dec 09:36
Compare
Choose a tag to compare

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