ci: explicitly load .env.test during test deployment #125

Merged
fastie81 merged 1 commit from fix/deploy-deterministic into main 2026-08-04 16:31:33 +12:00
Owner

Fixes the final configuration issue in the direct test deployment.

The runner correctly rendered GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET into /opt/honbu-manager-test/.env.test, but Docker Compose only auto-loads .env. As a result, docker compose config showed both container variables as empty.

This explicitly adds --env-file .env.test to both docker compose pull and docker compose up -d.

Fixes the final configuration issue in the direct test deployment. The runner correctly rendered `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` into `/opt/honbu-manager-test/.env.test`, but Docker Compose only auto-loads `.env`. As a result, `docker compose config` showed both container variables as empty. This explicitly adds `--env-file .env.test` to both `docker compose pull` and `docker compose up -d`.
ci: load test env file during compose deploy
All checks were successful
CI / test (push) Successful in 2m16s
CI / lint-frontend (push) Successful in 1m3s
CI / test (pull_request) Successful in 2m19s
CI / lint-frontend (pull_request) Successful in 1m2s
CI / build-test (push) Successful in 2m24s
CI / build-release (push) Has been skipped
CI / build-test (pull_request) Successful in 2m19s
CI / build-release (pull_request) Has been skipped
CI / deploy-test (push) Has been skipped
CI / deploy-test (pull_request) Has been skipped
4e747ce803
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager!125
No description provided.