Commit graph

5 commits

Author SHA1 Message Date
Jean-Michel Tremblay
f47e611e2c Deploy tagged releases via versioned dir + symlink swap
All checks were successful
Build and Test / build-and-test (push) Successful in 36s
On tag push, scp the binary to ~/hsa-app/releases/hsa-app-V<tag>/hsa,
repoint the ~/hsa-app/hsa symlink, and restart the user systemd
service. Add deploy/hsa_app.service unit and deploy/INSTALL.md with
host layout, one-time install, deploy, and rollback steps.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 15:08:20 -04:00
Jean-Michel Tremblay
2f817d16d0 CI: deploy binary to versioned dir on tag push
All checks were successful
Build and Test / build-and-test (push) Successful in 35s
On a tag push, scp the built hsa binary to ~/hsa-app-V<tag> on the
target host (created if missing). Reuses the FORGEJO_SSH key; host and
user come from the HSA_APP_HOST / HSA_APP_USER repo vars. Branch
pushes still only build and test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 14:44:16 -04:00
Jean-Michel Tremblay
cddc42b32d CI: disable VCS stamping in containerized build
All checks were successful
Build and Test / build-and-test (push) Successful in 34s
git inside the golang container flags the mounted repo as dubious
ownership (different UID), so `go build` fails obtaining VCS status
(exit 128). The binary doesn't need git version stamping here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 14:39:14 -04:00
Jean-Michel Tremblay
5bf03feb94 CI: target the shell runner label instead of docker
Some checks failed
Build and Test / build-and-test (push) Failing after 36s
The only registered act_runner advertises the `shell` label, not
`docker`, so `runs-on: docker` left the job queued forever. The host
has the docker CLI (the resume repo builds via `docker run` on this
same runner), so keep running the build/test inside a golang container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 14:36:25 -04:00
Jean-Michel Tremblay
15335a9f4c Add Forgejo Actions workflow to build and test on push
Some checks are pending
Build and Test / build-and-test (push) Waiting to run
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 14:31:20 -04:00