Skip to content

ci: give the compose validation a placeholder peer token - #826

Merged
szibis merged 1 commit into
mainfrom
ci/validate-compose-peer-token
Oct 22, 2026
Merged

szibis merged 1 commit into
mainfrom
ci/validate-compose-peer-token

Conversation

@szibis

@szibis szibis commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

lint fails on every pull request since #822. Its compose validation runs docker compose config -q on the four examples/peers/* stacks, which require PEER_AUTH_TOKEN since #819, so each one fails with required variable PEER_AUTH_TOKEN is missing a value. The two pull requests were built in parallel and the script never ran against the new examples.

scripts/ci/validate_compose.sh now exports a placeholder PEER_AUTH_TOKEN when it is unset. config only interpolates it; no container starts.

Proofs

  • The script on main fails locally on the four peer stacks with the same error as CI (run 39783988802, job lint).
  • With this change: validated 15 compose stacks, exit 0, including with PEER_AUTH_TOKEN unset. shellcheck is clean.
  • PEER_AUTH_TOKEN is the only ${VAR:?} in any tracked compose file.

Not applicable: infra-only PR; product checks (e2e vs Loki, Grafana range matrix, visual, A/B, benchstat, load) do not apply. This PR is infra-only, so its own run is the first to show the product jobs skipped by #822 and #823.

The four peer example stacks now require PEER_AUTH_TOKEN, so
validate_compose.sh failed on them and the lint job failed on every pull
request. The script sets a placeholder when the variable is unset; config
only interpolates it and starts nothing.
@github-actions github-actions Bot added size/XS Extra small change maintenance Maintenance labels Oct 22, 2026
@szibis
szibis merged commit 186ef43 into main Oct 22, 2026
58 checks passed
@szibis
szibis deleted the ci/validate-compose-peer-token branch October 22, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance size/XS Extra small change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant