US08-04 — Publish and Deploy from Gitea Actions #90
Notifications
Due Date
No due date set.
Blocks
Depends on
#91 US08-05 — Automate Container Deployment Acceptance
domverse/photoanalyzer
#88 US08-02 — Build a Reproducible Application Image
domverse/photoanalyzer
#89 US08-03 — Compose the Runtime and Mount the Library Safely
domverse/photoanalyzer
Reference: domverse/photoanalyzer#90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source specification: delivery_backlog/stories/US08-04-gitea-cicd.md
US08-04 — Publish and Deploy from Gitea Actions
Epic: E08
As a release owner, I want
mainto build, publish, and redeploy the imageautomatically, so deployment is the same reproducible path every time.
Context
The workflow is adapted from the
crowdsec-admindeployment workflow(
.gitea/workflows/deploy.ymlin that repository): build, log in to the Gitea registry,push, trigger a Portainer webhook, prune. This project needs the same shape plus a test
gate, because unlike that project it has a required suite that must not be skipped.
Acceptance criteria
.gitea/workflows/contains a test workflow that runs on pull requests and onmain,executing the configured required suites, and a deploy workflow that runs only after
the tests pass on
mainand on manual dispatch.git.domverse-berlin.euunder this project's ownimage path, tagged
latestand the commit SHA, so a rollback is a tag change.secrets (vision key, Immich key, access secret) stay in the Portainer stack and never
enter the repository or the image.
README.mddocuments the required secrets, the image path, the rollback procedure,and that the stack is managed by Portainer from git.
Automated tests
so a rename cannot silently disable the test gate.
latestor triggering a redeploy.Dependencies