Build the image and deploy previews and production from Forgejo #495
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#497 Post one bot comment with screenshots, failed tests and coverage
amaurycoudr/chess-project
#498 Freeze GitLab: turn off previews and deploys, close open merge requests
amaurycoudr/chess-project
#491 Run the gate on Forgejo Actions
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#495
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Parent
#489
What to build
Production and previews deploy from Forgejo, as ADR 0049 says. On a same-repository pull request, the image is built once and pushed to the Forgejo registry with today's tags, and a
noindexpreview comes up atpr-<n>.chess.core-project.space. Closing the pull request tears the preview down, and the nightly reap removes any preview whose pull request is no longer open. Onmain, production deploys once the gate passes, reusing the image already built for the same tree. Docker in the job drives the production VPS over SSH, logged in with the bot's registry token inside the job only. The SSH key and the registry token are referenced only by the jobs that use them.Seam: a Forgejo Actions run, and the existing deploy verifications (spec
## Seams).Acceptance criteria
maindeploys production after the gate, reusing the tree's image when it exists.mentioned in issue #497
mentioned in issue #498
marked this issue as related to #489
marked this issue as related to #491
marked this issue as related to #497
marked this issue as related to #498
mentioned in merge request !568
mentioned in commit
0a3bedae6amentioned in commit
6d3a9156b7