CI from pipeline-templates' suites; Argo CD deploys main through pin PRs; the image tests itself (CREN-1) #21
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/crenellation!21
Loading…
Reference in a new issue
No description provided.
Delete branch "suites-ci"
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?
crenellation's CI and release come from pipeline-templates' suites (cluster-service, tofu, web-app; fleet entry in pipeline-templates#204), as chess-tactics' did.
Removed:
.forgejo/workflows/ci.yml(its own version reservation with release-version, buildx image build, the deploy that wrote the image tag to theprodbranch, and the release created through the API),.forgejo/workflows/tofu.yaml, andscripts/image-fingerprint.sh, which only that workflow used.Changed so the suites' conventions fit:
k8s/values.yamlpins the image by tag and digest, starting with the one running now (app-7d2bc8eb…@sha256:d5c3ab7e…, read from the live pod and ACR), so the web-app suite's pin PR rewrites it for each release and Argo CD can deploymain(infra-bootstrap change follows this merge).--self-test(anENTRYPOINT,backend/self-check.js): the page's built script and stylesheet are present and the entry points parse.backendandfrontendeach havelintandtestscripts, which the web-app suite runs; the backend no longer reruns the frontend's checks inside its own test.frontend'scheckislintthentest, as before..nvmrckeeps Node 22, which the old workflow tested on.tofu/versions.tfand a committedtofu/.terraform.lock.hcl(the same pins and hashes as infra-bootstrap's shared providers) replace the download the old tofu workflow did.Not changed: the chart, the Dockerfile's build, the app.
Work package: https://openproject.home.romaine.life/wp/CREN-1