mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-27 08:51:14 +00:00
chore: WIP pre-implement cycle 14 baseline
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,6 +4,12 @@ set -euo pipefail
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
|
||||
|
||||
case "$(uname -m)" in
|
||||
arm64|aarch64)
|
||||
export DOCKER_DEFAULT_PLATFORM=linux/arm64
|
||||
;;
|
||||
esac
|
||||
|
||||
cleanup() {
|
||||
docker compose -f "$PROJECT_ROOT/docker-compose.tests.yml" down --remove-orphans || true
|
||||
}
|
||||
@@ -80,6 +86,13 @@ Environment:
|
||||
the API container validates. May be a DEV-ONLY value for local runs.
|
||||
JWT_AUDIENCE Required for any integration test mode (AZ-494). Same contract as
|
||||
JWT_ISSUER — must match what the API container validates.
|
||||
|
||||
Platform:
|
||||
Mac M1+ (darwin/arm64): scripts/run-tests.sh sets DOCKER_DEFAULT_PLATFORM=linux/arm64.
|
||||
Do not pin platform: linux/amd64 locally — forces Rosetta/QEMU emulation.
|
||||
Woodpecker CI: unit tests on arm64 agent only; image builds fan out to arm64
|
||||
({branch}-arm) and amd64 ({branch}-amd64) agents. Production deploy pulls
|
||||
*-amd64 (suite/_infra/deploy/satellite-provider/).
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user