Commit Graph

4 Commits

Author SHA1 Message Date
Vantz Stockwell
627a2085d4 fix: Rename GITEA_TOKEN to RELEASE_TOKEN in CI workflow
Some checks failed
Build Companion Agent / build (push) Failing after 13s
Test Asgard Runner / test (push) Successful in 3s
Gitea reserves GITEA_* and GITHUB_* prefixes for secrets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 13:55:01 -05:00
Vantz Stockwell
e0f9438dfa feat: Companion agent download in ServerView + Gitea CI pipeline fix
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
Frontend:
- Add Companion Agent card to ServerView (status, download links, setup instructions)
- Shows agent connection status, last heartbeat, license key for copy
- Download buttons for Linux/Windows amd64 from Gitea releases

CI/CD:
- Fix build-companion.yml: replace actions/github-script with Gitea API curl
- Inject version from git tag via ldflags (-X main.version)
- Add VERSION variable to Makefile with ldflags injection
- Change main.go version from const to var for ldflags compatibility

Deployment:
- Add systemd service file (deployment/corrosion-companion.service)
- Add .gitignore for bin/ (binaries should come from CI, not repo)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 13:47:09 -05:00
Vantz Stockwell
a9a4bcff99 ci: Add companion agent release workflow
All checks were successful
Test Asgard Runner / test (push) Successful in 2s
Production build pipeline for companion agent:

- Triggers on version tags (v*.*.*)
- Cross-compiles for Linux and Windows (AMD64)
- Generates SHA256 checksums for verification
- Creates Gitea release with auto-generated notes
- Uploads binaries and checksums as release assets
- Provides build summary in workflow output

Built artifacts:
- corrosion-companion-linux-amd64
- corrosion-companion-windows-amd64.exe
- checksums.txt

Usage: git tag v1.0.0 && git push origin v1.0.0

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 14:07:18 -05:00
Vantz Stockwell
e908170b30 ci: Add Asgard runner test workflow
All checks were successful
Test Asgard Runner / test (push) Successful in 23s
Test workflow to verify act_runner on asgard is operational.

Validates:
- Runner picks up jobs
- Docker container execution
- Go/Rust toolchains available
- System resources (CPU, memory, disk)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 13:58:58 -05:00