CI from pipeline-templates' suites; Argo CD deploys main through pin PRs; the image tests itself (CREN-1) #21

Merged
merge-queue merged 1 commit from suites-ci into main 2026-11-20 21:58:59 -08:00
Owner

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 the prod branch, and the release created through the API), .forgejo/workflows/tofu.yaml, and scripts/image-fingerprint.sh, which only that workflow used.

Changed so the suites' conventions fit:

  • k8s/values.yaml pins 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 deploy main (infra-bootstrap change follows this merge).
  • The image takes --self-test (an ENTRYPOINT, backend/self-check.js): the page's built script and stylesheet are present and the entry points parse.
  • backend and frontend each have lint and test scripts, which the web-app suite runs; the backend no longer reruns the frontend's checks inside its own test. frontend's check is lint then test, as before.
  • .nvmrc keeps Node 22, which the old workflow tested on.
  • tofu/versions.tf and a committed tofu/.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

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 the `prod` branch, and the release created through the API), `.forgejo/workflows/tofu.yaml`, and `scripts/image-fingerprint.sh`, which only that workflow used. Changed so the suites' conventions fit: - `k8s/values.yaml` pins 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 deploy `main` (infra-bootstrap change follows this merge). - The image takes `--self-test` (an `ENTRYPOINT`, `backend/self-check.js`): the page's built script and stylesheet are present and the entry points parse. - `backend` and `frontend` each have `lint` and `test` scripts, which the web-app suite runs; the backend no longer reruns the frontend's checks inside its own test. `frontend`'s `check` is `lint` then `test`, as before. - `.nvmrc` keeps Node 22, which the old workflow tested on. - `tofu/versions.tf` and a committed `tofu/.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
CI from pipeline-templates' suites; Argo CD deploys main through pin PRs; the image tests itself (CREN-1)
All checks were successful
Suite default / check-rules (pull_request) Successful in 7s
Suite cluster-service / scope (pull_request) Successful in 14s
Suite web-app / scope (pull_request) Successful in 14s
Suite default / scope (pull_request) Successful in 14s
Suite tofu / reused-checks (pull_request) Successful in 5s
Suite tofu / scope (push) Has been skipped
Suite tofu / check-plan (push) Has been skipped
Suite tofu / apply (push) Has been skipped
Suite tofu / reused-checks (push) Has been skipped
Suite web-app / scope (push) Has been skipped
Suite web-app / check-test (push) Has been skipped
Suite web-app / check-image (push) Has been skipped
Suite web-app / publish (push) Has been skipped
Suite web-app / publish-static (push) Has been skipped
Suite web-app / reused-checks (push) Has been skipped
Suite tofu / scope (pull_request) Successful in 14s
Suite default / reused-checks (pull_request) Successful in 7s
Suite cluster-service / reused-checks (pull_request) Successful in 7s
Suite tofu / check-plan (pull_request) Successful in 43s
Suite web-app / check-image (pull_request) Successful in 48s
Suite tofu / apply (pull_request) Has been skipped
Suite cluster-service / check-image (pull_request) Has been skipped
Suite cluster-service / publish (pull_request) Has been skipped
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / publish-static (pull_request) Has been skipped
Suite cluster-service / check-manifests (pull_request) Successful in 7s
Suite default / check-fetches (pull_request) Successful in 7s
merge-queue landed on main
Suite web-app / check-test (pull_request) Successful in 41m12s
Suite web-app / reused-checks (pull_request) Successful in 5s
1529f5f365
merge-queue deleted branch suites-ci 2026-11-20 21:58:59 -08:00
Commenting is not possible because the repository is archived.
No description provided.