Send publish reports to Argus from the release job #45

Merged
Gilles merged 1 commit from feat/44-publish-report-pilot into master 2026-10-29 23:30:51 +00:00
Owner

Closes #44

Monitoring plan, phase 5 pilot.

Merge only after guardians_of_the_galaxy/ci-base#15 is merged and the ci-base images are rebuilt (the current publish-release rejects the new options), and after #42 is deployed.

Changes (.forgejo/workflows/ci.yml, docker job)

  • New step "Collect publish details for Argus": ARGUS_IMAGE = <image:tag>|<compressed bytes>|<package page> — the size is the sum of the layers of the linux/amd64 manifest from docker buildx imagetools inspect --raw (the docker-container builder never loads the image locally); /tmp/dependencies.txt = pip freeze inside the pushed image (empty on failure). Checked on garion with the current :devel image inside ci-base:docker: 105 693 272 bytes, pip freeze OK.
  • Both publish-release calls get ARGUS_UPLOAD_TOKEN: ${{ secrets.ARGUS_BACKEND_UPLOAD_TOKEN }}, --artifact "$ARGUS_IMAGE" and --dependencies /tmp/dependencies.txt. A failed upload only warns.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA

Closes #44 Monitoring plan, phase 5 pilot. **Merge only after guardians_of_the_galaxy/ci-base#15 is merged and the ci-base images are rebuilt** (the current publish-release rejects the new options), and after #42 is deployed. ## Changes (`.forgejo/workflows/ci.yml`, docker job) - New step "Collect publish details for Argus": `ARGUS_IMAGE` = `<image:tag>|<compressed bytes>|<package page>` — the size is the sum of the layers of the linux/amd64 manifest from `docker buildx imagetools inspect --raw` (the docker-container builder never loads the image locally); `/tmp/dependencies.txt` = `pip freeze` inside the pushed image (empty on failure). Checked on garion with the current `:devel` image inside `ci-base:docker`: 105 693 272 bytes, pip freeze OK. - Both publish-release calls get `ARGUS_UPLOAD_TOKEN: ${{ secrets.ARGUS_BACKEND_UPLOAD_TOKEN }}`, `--artifact "$ARGUS_IMAGE"` and `--dependencies /tmp/dependencies.txt`. A failed upload only warns. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
ci: send publish reports to Argus from the release job
All checks were successful
ci / test (pull_request) Successful in 3m36s
ci / e2e (pull_request) Has been skipped
ci / docker (pull_request) Has been skipped
ci / deploy (pull_request) Has been skipped
b7985a91d3
The docker job passes ARGUS_BACKEND_UPLOAD_TOKEN to publish-release
(ci-base) with the pushed image as artifact (compressed size summed
from its linux/amd64 registry manifest) and its pip freeze, for
numbered releases and the devel snapshot.

Closes #44

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
Author
Owner
<!-- argus-link-bot:argus/backend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/argus/backend/pr/45)
Gilles merged commit 29031c9ba7 into master 2026-10-29 23:30:51 +00:00
Gilles deleted branch feat/44-publish-report-pilot 2026-10-29 23:30:51 +00:00
Sign in to join this conversation.
No description provided.