Commit Graph

75 Commits

Author SHA1 Message Date
github-actions[bot]
501caeb750 chore(main): release 0.8.2 (#64)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.8.2
2025-06-06 14:31:48 +02:00
Matthias Riegler
6faf63c76f fix: auth to ghcr.io (#63)
Signed-off-by: Matthias Riegler <me@xvzf.tech>
2025-06-06 14:29:35 +02:00
github-actions[bot]
459ab10bec chore(main): release 0.8.1 (#62)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.8.1
2025-06-06 14:29:24 +02:00
Matthias Riegler
790ea2089a fix: set goreleaser version to v2.x (#61)
* fix: set goreleaser version to v2.x

Signed-off-by: Matthias Riegler <me@xvzf.tech>

* fix: goreleaser issues

---------

Signed-off-by: Matthias Riegler <me@xvzf.tech>
Co-authored-by: Luke Mallon (Nalum) <luke@mallon.ie>
2025-06-06 14:26:53 +02:00
github-actions[bot]
2ff46c62b7 chore(main): release 0.8.0 (#60)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.8.0
2025-06-06 14:26:45 +02:00
Cedric Kienzler
ff6898f514 chore(go version)!: Bump go version to 1.24 (#58)
* refactor(workflows): Improve GitHub Action workflows

* bump go version to 1.24

* set coverage report baseline to correct workflow

* nit: keep same

* require older go version

* let semantic-prs write to PR

* let semantic-prs write to PR

* bump go version to 1.24

* bump dependencies

---------

Co-authored-by: Cedric Kienzler <cedric@specht-labs.de>
2025-06-06 14:19:42 +02:00
github-actions[bot]
ac573c805f chore(main): release 0.7.0 (#52)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.7.0
2025-06-06 14:19:21 +02:00
Cedric Kienzler
70541d86ba feat(agent)!: add support for mTLS authentication in gRPC server (#54)
* refactor(fancontroller): improve fan controller validation logic and error handling for temperature steps

* refactor(agent): restructure gRPC server implementation by moving it to a new api package for better organization and maintainability

* feat(agent): implement gRPC server for managing compute blade agents and add graceful shutdown support
refactor(agent): restructure agent code by moving API logic to a dedicated file and improving error handling
fix(agent): update logging messages for clarity and consistency across the agent's operations
chore(agent): remove unused API code and consolidate event handling logic for better maintainability
style(agent): improve code formatting and organization for better readability and adherence to conventions

* feat(agent): add support for TLS configuration in gRPC server

* feat(api): add gRPC server authentication

* fix

* feat(config): add listen mode configuration to support tcp or unix sockets
feat(agent): implement listen mode in gRPC service to allow flexible socket types
feat(bladectl): enhance configuration loading and add support for TLS credentials
fix(bladectl): improve error handling for gRPC connection and event emission
style(logging): change log level from Warn to Info for better clarity in logs

* add logging middleware + fixes

* fix remote-connection to gRPC API Server

debugging the SAN issues took the soul out of me... And then the stupid
mistake in cmd_root where I didn't construct the TLS credentials
correctly... Oh dear...

* cleanup

* cleanup

* cleanup commands

* cleanup

* make README.md nicer

* Update cmd/agent/main.go

Co-authored-by: Matthias Riegler <github@m4tbit.de>

* Update cmd/bladectl/cmd_root.go

Co-authored-by: Matthias Riegler <github@m4tbit.de>

* move bladectl config into correct directory

* fix bugs

* // FIXME: No dead code

* nit: code style

* nit(YAGNI): you aint gonna need it. Don't make life harder than it needs to be

* nit(YAGNI): you aint gonna need it. Don't make life harder than it needs to be

* nit(YAGNI): you aint gonna need it. Don't make life harder than it needs to be

* nit(cmd_identify)

---------

Co-authored-by: Matthias Riegler <github@m4tbit.de>
2025-05-12 00:00:55 +02:00
Cedric Kienzler
ec6229ad86 chore: some improvements in bladectl sub-command handling, error logging, and CI (#51)
chore(ci): update Go setup action to v5 and simplify caching configuration for improved performance
chore(release): update Go setup action to v5 and simplify caching configuration for improved performance
fix(.gitignore): add .idea directory to ignore list to prevent IDE files from being tracked
feat(goreleaser): add versioning information to builds for better traceability
feat(agent): expose version, commit, and date information in logs for better tracking
feat(bladectl): implement command structure for managing compute-blade features
fix(bladectl): improve error handling in identify command for better user feedback
chore(go.mod): update dependencies to latest versions for improved stability and features
2025-05-03 11:13:37 +02:00
github-actions[bot]
c5ff21d522 chore(main): release 0.6.6 (#48)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.6
2025-01-14 22:26:13 +01:00
Matthias Duve
67b3411e32 fix: correct package name from computeblade-agent to compute-blade-agent (#47)
* fix: correct package name from computeblade-agent to compute-blade-agent

* fix: update autoinstall script to use correct GitHub repository format and improve error handling

---------

Co-authored-by: Matthias Duve <morzan1001@mail.runforest.run>
2025-01-14 22:24:47 +01:00
github-actions[bot]
485f5ac79b chore(main): release 0.6.5 (#44)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.5
2024-08-31 15:08:21 +02:00
Matthias Riegler
ca690d418f fix: pin golang/tinygo versions
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-31 15:07:31 +02:00
github-actions[bot]
9048a4afca chore(main): release 0.6.4 (#43)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.4
2024-08-31 15:03:44 +02:00
Matthias Riegler
158e7fc1bd fix: finalize renaming
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-31 15:02:45 +02:00
github-actions[bot]
4a7c244cde chore(main): release 0.6.3 (#42)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.3
2024-08-05 18:51:23 +02:00
Matthias Riegler
3cbf7a8733 fix: oci reg typo
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-05 18:50:44 +02:00
github-actions[bot]
349c8b5199 chore(main): release 0.6.2 (#41)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.2
2024-08-05 18:47:39 +02:00
Matthias Riegler
d088a1ba0a fix: cleanup uf2 files
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-05 18:45:55 +02:00
github-actions[bot]
4649d02952 chore(main): release 0.6.1 (#40)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.1
2024-08-05 18:42:47 +02:00
Matthias Riegler
3278678768 fix: bump tinygo release (#39)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-05 18:42:13 +02:00
github-actions[bot]
ae843db32c chore(main): release 0.6.0 (#38)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.6.0
2024-08-05 18:32:02 +02:00
Matthias Riegler
6421521bfc feat: migrate to uptime-industries gh org (#37)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2024-08-05 00:00:01 +02:00
github-actions[bot]
c93e561952 chore(main): release 0.5.0 (#30)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.5.0
2023-11-25 11:12:28 +01:00
Matthias Riegler
a8d470d4f9 fix: smart fan unit improvements (#31)
* fix: load config from /etc/computeblade-agent

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: fan target percent reporting

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: fancontroller default config & update interval

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: update Readme

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-11-25 11:10:12 +01:00
Matthias Riegler
99920370fb feat: add smart fan unit support (#29)
* feat: add smart fanunit (serial) protocol

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: add rudimentary eventbus to ease implementation

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: smart fanunit client

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: initial smart fan unit implementation

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: improve logging, double btn press

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: testcases

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: context closure handling, RPM reporting

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: address linting issues

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: edge line closure

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: reset CPU after i2c lockup

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: add uf2 to release

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-11-25 11:07:50 +01:00
github-actions[bot]
c6bba1339b chore(main): release 0.4.1 (#24)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.1
2023-10-05 08:49:42 +02:00
Matthias Riegler
e86b221aa8 fix: rename release-please -> release workflow (#28)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:48:57 +02:00
Matthias Riegler
f2cd029d83 fix: ${ -> ${{ ... (#27)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:46:48 +02:00
Matthias Riegler
780455e749 fix: debug statement (#26)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:42:56 +02:00
Matthias Riegler
21d9942629 fix: add debug statement (#25)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:39:06 +02:00
Matthias Riegler
4691e2b3d7 fix: if statement? (#23)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:36:46 +02:00
github-actions[bot]
6eef51b585 chore(main): release 0.4.0 (#20)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
v0.4.0
2023-10-05 08:24:51 +02:00
Matthias Riegler
cee6912f57 fix: if condition (#22)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:24:08 +02:00
Matthias Riegler
9c82b60fd8 fix: explicitly check for true before running goreleaser (#21)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:21:14 +02:00
Matthias Riegler
33dd6e5adf feat: switch to release-please (#19)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-05 08:14:26 +02:00
Matthias Riegler
a793872bf2 docs: add comment about feature completeness
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-03 00:19:59 +02:00
Matthias Riegler
5129bf6b33 fix: cleanup of gRPC conn is done based on the context
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
v0.3.4
2023-10-03 00:12:59 +02:00
Matthias Riegler
0170f70cc0 fix: remove debug exit on startup
that's on me!

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
v0.3.3
2023-10-03 00:04:27 +02:00
Matthias Riegler
0064ed77d7 chore: sign binary releases
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
v0.3.2
2023-10-02 23:57:55 +02:00
Matthias Riegler
b1e8a88210 fix: login to ghcr, cosign
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
v0.3.1
2023-10-02 23:51:37 +02:00
Matthias Riegler
74c74dead5 fix: change OCI target image
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-02 23:31:43 +02:00
Matthias Riegler
7f166f2ed3 feat: add configuration support, update docs (#18)
* chore: remove duplicated import

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* chore: rename bcm273x -> bcm2711 to avoid confusion

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* feat: add configuration support

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* docs: update docs & add install script

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

* fix: split workflows until release-please is setup on org level

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>

---------

Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
v0.3.0
2023-10-02 23:27:19 +02:00
Matthias Riegler
7af2623765 fix: bump github action cache to v3 everywhere (#17)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-02 00:03:22 +02:00
Matthias Riegler
ecf70a4cd0 fix: gha cache for go mod/build (#16)
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-01 23:58:41 +02:00
Matthias Riegler
87f4d42b82 fix: gha cache for go mod/build
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-01 23:56:56 +02:00
Matthias Riegler
47ef404dd7 Merge pull request #15 from xvzf/chore/add-gha-jobs
feat: add automated release pipeline + initial CI
2023-10-01 23:53:58 +02:00
Matthias Riegler
df1b89e22e chore: run tests in CI
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-01 23:53:05 +02:00
Matthias Riegler
f77352835c chore: add conventional PR title enforcer
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-01 23:41:03 +02:00
Matthias Riegler
c8955046f1 chore: add release pipeline
Signed-off-by: Matthias Riegler <matthias.riegler@ankorstore.com>
2023-10-01 23:40:54 +02:00