Releases: metal-toolbox/flasher
Releases · metal-toolbox/flasher
v0.1.0
Changelog
- 249d9d1 Format component model numbers since devices report them differently
- 8f9ea62 Update Makefile and generate statemachine docs
- 7dff4da add some NATS metrics to flasher (#40)
- 037e775 go: bump bmclib dep
- 4c1ccf5 outofband/action_handlers: introduce post install delay for BMC firmware
- 52aaa41 outofband/action_handlers: reset BMC based on task parameter
- 89172e1 outofband/actions: Add a pre-install BMC reset state to reset the BMC before installs
- a0621aa outofband/actions: fix state documentation
- ce86b96 outofband/bmc: fixes bmc reset parameter
- 17f9044 outofband/bmc: include bmc-ip span attributes
- 8d988b3 outofband/bmc: set a separate firmware install timeout
- b84238a update dependencies for events (#43)
- 521bf60 worker: ensure firmware install is ordered, this was left out in a refactor
v0.0.6
Changelog
- 2a8b18f Makefile: update local devel repository port
- 07ab55f allow for runtime override of KV replica count (#28)
- 6a89403 app/config: purge unused serverservice facility code paramter
- df1d2a7 bmclib: update to include SMC X11 firmware install support
- dc079af check events for progress and guard against concurrent execution (#32)
- ccce7d5 ci: update dep and goreleaser build param
- 2016244 clear existing status if the condition is orphaned (#35)
- 51ccd51 cmd/run: add --facility-code flag which is required when --use-kv is enabled #
- c537f51 fixes based on feedback and testing
- 3773f2c go mod tidy
- e8ea79e go: update all dependencies
- 4e663e4 goreleaser: replacements attribute was removed
- 0e65cfb instrument methods to collect metrics
- e26156d metrics/store_query_error_count: declare label queryKind, this was missed out
- 348500d metrics: define metrics to be collected
- 4eb1079 metrics: related to previous commit - remove duplicate counter metrics
- dd5447b model/task: struct type Fault was moved into Conditionorc
- 18079da only set replicas when we have more than 1 (#30)
- 5254a1c outofband/bmc: rename ctx var
- ec6cdd6 outofband/pollInstallstatus: drop exp-backoff when querying BMCs
- 7bb44a3 statemachine/actions: set task status to a clearer final action completion message
- 5eb1007 store/serverservice: ignore errors on non-essential model/vendor lookups
- 8b71497 tracing: extract, inject traceparent for propagation
- 97a2283 tracing: include workerID in span attributes
- a0915cf tracing: instrument various methods
- acf1a49 worker/kv_status: add a trace log for debugging k/v publish, minor formatting fixes
- b28d73e worker: fixes multiple event ACKs for the case where store.AssetByID fails
v0.0.5
What's Changed
- fix-up some flasher inconsistencies with status KV by @DoctorVin in #27
Full Changelog: v0.0.4...v0.0.5
v0.0.4
v0.0.3
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
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
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