CI from the suites; releases numbered v1.5.N; the image tests itself #40

Merged
merge-queue merged 2 commits from pipt-12-suites into main 2026-11-16 19:32:14 -08:00
Owner

Part of https://openproject.home.romaine.life/wp/PIPT-12. Needs pipeline-templates PR 106 (romaine-life/pipeline-templates#106) first.

Removed first: PRs no longer build or push a candidate image, and nothing can dispatch this repo's CI to prebuild a ref. Those fed glimmung's live-preview slots; glimmung (GitHub) hasn't changed since 2026-06-21. The chart's livePreview settings stay, off by default.

  • Deletes ci.yaml and tofu.yaml, and the scripts only they used: the content fingerprint (image-fingerprint.sh, its config check) and the semantic version rules (next-app-version.mjs and its test).
  • Releases are v1.5.N, one per merge that changes the app, like every home repo. Decision record 0005 supersedes 0004; PRs carry no release label.
  • The build id the frontend compares with the server is the release tag, baked into the image (APP_BUILD_ID), so the update-available banner keeps working. The pin PR records the image by tag and digest, the version, and the release date in k8s/values.yaml; the chart takes one image value (now the running image, app-8886bfa…@sha256:c4780334…).
  • The image runs --self-test (backend/entry.js, backend/self-check.js): the compiled frontend's page, scripts and styles, the bundle carrying the image's build id, and the version info, the checks the published-image smoke step made.
  • backend/package-lock.json is committed and the image installs from it (npm ci): the suite's backend tests need it, so it is no longer ignored.
  • The removed-MSAL guard is the backend's npm run lint; the file conventions stay as a PR-only checks.yaml.
  • tofu/ pins its own providers (azurerm 4.70.0, azuread 3.8.0, with their lock entries from infra-bootstrap's).
  • CLAUDE.md and AGENTS.md describe the suites.

Checked locally with PR 106's suites: rules, fetches, backend and frontend tests and lint, the chart render (schemas, image by digest), tofu init -lockfile=readonly and validate, the conventions, and the self-check on a frontend built with a test build id (and refusing a different id).

Part of https://openproject.home.romaine.life/wp/PIPT-12. Needs pipeline-templates PR 106 (https://forgejo.romaine.life/romaine-life/pipeline-templates/pulls/106) first. Removed first: PRs no longer build or push a candidate image, and nothing can dispatch this repo's CI to prebuild a ref. Those fed glimmung's live-preview slots; glimmung (GitHub) hasn't changed since 2026-06-21. The chart's `livePreview` settings stay, off by default. - Deletes ci.yaml and tofu.yaml, and the scripts only they used: the content fingerprint (`image-fingerprint.sh`, its config check) and the semantic version rules (`next-app-version.mjs` and its test). - Releases are v1.5.N, one per merge that changes the app, like every home repo. Decision record 0005 supersedes 0004; PRs carry no release label. - The build id the frontend compares with the server is the release tag, baked into the image (`APP_BUILD_ID`), so the update-available banner keeps working. The pin PR records the image by tag and digest, the version, and the release date in `k8s/values.yaml`; the chart takes one `image` value (now the running image, `app-8886bfa…@sha256:c4780334…`). - The image runs `--self-test` (`backend/entry.js`, `backend/self-check.js`): the compiled frontend's page, scripts and styles, the bundle carrying the image's build id, and the version info, the checks the published-image smoke step made. - `backend/package-lock.json` is committed and the image installs from it (`npm ci`): the suite's backend tests need it, so it is no longer ignored. - The removed-MSAL guard is the backend's `npm run lint`; the file conventions stay as a PR-only `checks.yaml`. - `tofu/` pins its own providers (azurerm 4.70.0, azuread 3.8.0, with their lock entries from infra-bootstrap's). - CLAUDE.md and AGENTS.md describe the suites. Checked locally with PR 106's suites: rules, fetches, backend and frontend tests and lint, the chart render (schemas, image by digest), `tofu init -lockfile=readonly` and `validate`, the conventions, and the self-check on a frontend built with a test build id (and refusing a different id).
CI from the suites; releases numbered v1.5.N; the image tests itself (PIPT-12)
All checks were successful
Checks / check-conventions (pull_request) Successful in 7s
0ae0c5ec83
Run the suites
All checks were successful
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
Checks / check-conventions (pull_request) Successful in 3s
Suite default / scope (pull_request) Successful in 6s
Suite web-app / scope (pull_request) Successful in 6s
Suite tofu / scope (pull_request) Successful in 7s
Suite cluster-service / scope (pull_request) Successful in 7s
Suite web-app / publish (pull_request) Has been skipped
Suite web-app / publish-static (pull_request) Has been skipped
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 default / check-rules (pull_request) Successful in 7s
Suite default / check-fetches (pull_request) Successful in 7s
Suite cluster-service / check-manifests (pull_request) Successful in 7s
Suite default / reused-checks (pull_request) Successful in 8s
Suite cluster-service / reused-checks (pull_request) Successful in 6s
Suite web-app / check-test (pull_request) Successful in 30s
Suite tofu / check-plan (pull_request) Successful in 39s
Suite tofu / reused-checks (pull_request) Successful in 5s
Suite web-app / check-image (pull_request) Successful in 51s
Suite web-app / reused-checks (pull_request) Successful in 4s
merge-queue landed on main
6c417eb2e8
merge-queue deleted branch pipt-12-suites 2026-11-16 19:32:14 -08:00
Sign in to join this conversation.
No description provided.