The tests' services come from each repository's ci/services.json; service images and GreenMail users leave fleet.json (PIPT-40) #174

Merged
merge-queue merged 1 commit from test-services-in-repo into main 2026-11-18 20:56:34 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/PIPT-40 (part of https://openproject.home.romaine.life/wp/PIPT-35)

The images of the services a repository's tests start, and GreenMail's accounts, are the repository's own ci/services.json instead of its fleet.json entry.

Removed

  • fleet.json: service (avatars, session-index, chess-tactics, tuimail) and greenmail.users (tuimail).
  • config.mjs: the service and greenmail fields and their checks; topics.mjs: the service- value selectors.

Added

  • layout.mjs testServices: reads ci/services.json, {"<service>": {"image": ...}}, GreenMail also users. It must name exactly the services the repository's service- topics select, each image digest-pinned through Artifact Keeper, users login:password@domain; anything else fails naming the file. The suites see the same service / greenmail settings as before, so services.mjs, inputs.mjs and check.mjs are unchanged.
  • ci/services.json cuts no release (it's with the tests in input-patterns' unshipped list), and it's an input to the image check (the smoke test runs against the services) and to a joined release's package check.
  • README: the file, in "What the repository's name and files decide".
  • Tests: config.test covers the file's rules; the cancellation test starts its three services from a ci/services.json on the runner.

Left alone: the service- topics still select the services, from fleet.json; the images and users are the same values, moved.

Order: avatars, session-index and chess-tactics add their file first (today's suites ignore it); this lands next; tuimail's file lands right after, since before this a change to it would cut a tuimail release.

Work package: https://openproject.home.romaine.life/wp/PIPT-40 (part of https://openproject.home.romaine.life/wp/PIPT-35) The images of the services a repository's tests start, and GreenMail's accounts, are the repository's own `ci/services.json` instead of its fleet.json entry. **Removed** - fleet.json: `service` (avatars, session-index, chess-tactics, tuimail) and `greenmail.users` (tuimail). - config.mjs: the `service` and `greenmail` fields and their checks; topics.mjs: the `service-` value selectors. **Added** - layout.mjs `testServices`: reads `ci/services.json`, `{"<service>": {"image": ...}}`, GreenMail also `users`. It must name exactly the services the repository's `service-` topics select, each image digest-pinned through Artifact Keeper, users `login:password@domain`; anything else fails naming the file. The suites see the same `service` / `greenmail` settings as before, so services.mjs, inputs.mjs and check.mjs are unchanged. - `ci/services.json` cuts no release (it's with the tests in input-patterns' unshipped list), and it's an input to the image check (the smoke test runs against the services) and to a joined release's package check. - README: the file, in "What the repository's name and files decide". - Tests: config.test covers the file's rules; the cancellation test starts its three services from a `ci/services.json` on the runner. **Left alone**: the `service-` topics still select the services, from fleet.json; the images and users are the same values, moved. **Order**: avatars, session-index and chess-tactics add their file first (today's suites ignore it); this lands next; tuimail's file lands right after, since before this a change to it would cut a tuimail release.
The tests' services come from each repository's ci/services.json; service images and GreenMail users leave fleet.json (PIPT-40)
All checks were successful
CI / changes (pull_request) Successful in 3s
Suite default / scope (pull_request) Successful in 4s
CI / actionlint (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / release-version (pull_request) Has been skipped
CI / check-versions (pull_request) Has been skipped
CI / check-fetches (pull_request) Has been skipped
CI / check-image-digests (pull_request) Has been skipped
CI / cached-images (pull_request) Has been skipped
CI / container-health (pull_request) Has been skipped
CI / azure-cli (pull_request) Has been skipped
CI / home-cache-linux (pull_request) Has been skipped
CI / home-cache-windows (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Fleet / align (pull_request) Successful in 5s
Suite default / check-rules (pull_request) Successful in 11s
CI / service-runtime (one) (pull_request) Successful in 17s
CI / service-runtime (two) (pull_request) Successful in 17s
CI / suite-tests-linux (pull_request) Successful in 25s
CI / service-cancellation (pull_request) Successful in 28s
Suite default / reused-checks (pull_request) Successful in 20s
CI / suite-tests-windows (pull_request) Successful in 57s
CI / setup-linux (nas) (pull_request) Successful in 1m51s
CI / setup-windows (pull_request) Successful in 2m33s
merge-queue landed on main
bc58c2f52d
merge-queue deleted branch test-services-in-repo 2026-11-18 20:56:34 -08:00
Sign in to join this conversation.
No description provided.