Run the activity tracker as its own published image at /tracker/
Test and deploy / test (push) Successful in 2m0s
Test and deploy / deploy (push) Successful in 1m29s

Same shape as jobs: adam-french.co.uk/adamf/activity-tracker, published by
the adamf/ccp repo's CI, with an explicit environment list and its own
database role. nginx strips the /tracker prefix. The env test now covers
the new service's allow-list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 20:39:05 +01:00
co-authored by Claude Opus 5.5
parent e788e16898
commit d28524e8c0
6 changed files with 74 additions and 8 deletions
+3 -3
View File
@@ -110,12 +110,12 @@ func composeServiceEnv(t *testing.T, service string) []string {
// explicitEnvServices are the containers given an explicit `environment:`
// list instead of the whole .env, so that they never hold the database
// password or the JWT secret: the Python service, and the job tracker (an
// image from its own repo, which gets its own database role besides). The
// password or the JWT secret: the Python service, and the job and activity
// trackers (images from their own repos, each with its own database role). The
// cost is a third place a new variable for one of them has to be added — the
// registry, .env.example and that list — and forgetting the third is silent:
// the variable is simply empty inside the container.
var explicitEnvServices = []string{"python", "jobs"}
var explicitEnvServices = []string{"python", "jobs", "activity-tracker"}
// So the registry's claim "this service reads this" and the compose list must
// agree, in both directions: