ci: gate pushes on the deploy suite only and run the full matrix nightly
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m28s
Foundation / postgres-tools (push) Successful in 32s
Foundation / server-image (push) Successful in 4m3s
Foundation / image (push) Successful in 4m10s
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 5s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (postgres) (push) Successful in 5s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (deploy) (push) Successful in 4m28s
Foundation / postgres-tools (push) Successful in 32s
Foundation / server-image (push) Successful in 4m3s
Foundation / image (push) Successful in 4m10s
Gameplay iteration needs images on DEV in minutes. A push to main now runs only the deploy policy suite before the image jobs; the full check matrix runs nightly, on pull requests and on manual dispatch, in its own concurrency group. Refreshes the DEV session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,10 +5,14 @@ on:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
# The full check matrix runs nightly; pushes only gate on the deploy policy suite.
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
|
||||
# Do not spend a full build on obsolete commits when pushes arrive quickly.
|
||||
# Do not spend a full build on obsolete commits when pushes arrive quickly. Nightly runs
|
||||
# use their own group so a push does not cancel them.
|
||||
concurrency:
|
||||
group: foundation-${{ gitea.ref || github.ref }}
|
||||
group: foundation-${{ github.event_name }}-${{ gitea.ref || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
@@ -49,6 +53,12 @@ jobs:
|
||||
CHECK_SUITE: ${{ matrix.suite }}
|
||||
run: |
|
||||
set -eu
|
||||
# Gameplay iteration (2026-10-21): a push publishes images after the deploy policy
|
||||
# suite alone. The full matrix runs nightly, on pull requests and on dispatch.
|
||||
if [ "$CI_EVENT" = push ] && [ "$CHECK_SUITE" != deploy ]; then
|
||||
echo "Push build: $CHECK_SUITE runs nightly or on dispatch; gate skipped."
|
||||
exit 0
|
||||
fi
|
||||
# The selector's own regression runs first, so a broken selector cannot
|
||||
# silently skip the suites.
|
||||
if [ "$CHECK_SUITE" = deploy ]; then bash tools/ci/ci-paths-check.sh; fi
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
env:
|
||||
- {name: REGION_SESSION, value: "dev"}
|
||||
- {name: REGION_SESSION_LISTEN, value: "0.0.0.0:7400"}
|
||||
- {name: REGION_SESSION_WINDOW, value: "dev-20261021T153222-6e90d67e:1792611142"}
|
||||
- {name: REGION_SESSION_WINDOW, value: "dev-20261021T200606-ffa8b8ab:1792627566"}
|
||||
- {name: REGION_M10_MAX_GRANT_LIFETIME, value: "14400"}
|
||||
ports:
|
||||
# QUIC (ADR-0090): UDP only; nothing listens on TCP 7400.
|
||||
|
||||
Reference in New Issue
Block a user