Skip to content

fix(deploy): render compose without process variables the env files supply - #44

Merged
AmrMsCLL merged 1 commit into
mainfrom
fix/compose-environment
Nov 5, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
fix/compose-environment

Conversation

@AmrMsCLL

@AmrMsCLL AmrMsCLL commented Nov 5, 2026

Copy link
Copy Markdown
Member

The Deploy run for #43 failed every compose project with no service joins the edge network as <slug>. The workflow sets PROJECT: ${{ inputs.project }} for the job, empty on a push, and Compose gives the process environment priority over --env-file, so ${PROJECT} rendered empty. PR checks passed because that job has no PROJECT.

deploy.py now runs docker compose without any process variable that one of its env files supplies. Nothing reached the agent in the failed run: the four projects kept running as before.

Checked locally with PROJECT=wrong and HOST=wrong in the environment: all four routes render; deploy.py check, check-memory.py and check-values.py pass.

…les supply

The Deploy workflow sets PROJECT for its project input, empty on a push, and
Compose prefers the process environment over --env-file, so ${PROJECT} rendered
empty and no route could be found for any project.
@AmrMsCLL
AmrMsCLL requested a review from a team as a code owner November 5, 2026 01:45
@github-actions github-actions Bot added the size/xs 0-10 changed lines, excluding lockfiles label Nov 5, 2026
@AmrMsCLL
AmrMsCLL merged commit cce2d8d into main Nov 5, 2026
5 checks passed
@AmrMsCLL
AmrMsCLL deleted the fix/compose-environment branch November 5, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs 0-10 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant