// Manual-only: the reviewed request in .ci/release-request.json is the sole input. // `release-branch` is an externally provisioned, owner-only auth mount containing // one restricted push URL; it must authorize only refs/heads/release/*. job "release-prepare" { build { containerfile ".ci/Containerfile" context ".ci" } mount "cache" "toolchains" "/cache/toolchains" mount "cache" "npm" "/cache/npm" mount "auth" "release-branch" "/auth" run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin" run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\"" run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }" run "mise trust" run "mise install" run "test -s /auth/release-branch-url && PI_EXT_RELEASE_REMOTE=\"$(cat /auth/release-branch-url)\" mise run //:release-prepare-ci" artifact "release-preparation" { path "release-manifest.json" path "release-provenance.json" required true } } job "release-matrix" { image "mcr.microsoft.com/playwright:v1.61.0-noble" trigger { push { tag "v*" } } // Compatibility matrix over supported Pi versions. Luci runs Linux containers // only, so Windows and macOS have no runners; they are recorded here as known // gaps rather than silently passing. Node tracks the mise-locked version // (same as dev and normal CI). Broaden the `pi` axis as newer Pi // releases are verified; the compatibility check keeps it in sync with the // declared minimum (`pi-ext.minimumPi`). matrix { pi "1.4.0" } mount "cache" "toolchains" "/cache/toolchains" mount "cache" "npm" "/cache/npm" run "export HOME=/tmp/pi-ext-home MISE_DATA_DIR=/cache/toolchains/mise MISE_CACHE_DIR=/cache/toolchains/downloads GOCACHE=/cache/toolchains/go-build GOPATH=/cache/toolchains/go NPM_CONFIG_CACHE=/cache/npm PI_EXT_CI_CACHE_ROOT=/cache/toolchains && mkdir -p \"$HOME\" /cache/toolchains/bin" run "export PATH=\"/cache/toolchains/bin:$HOME/.local/bin:$PATH\"" run "command -v mise >/dev/null 2>&1 || { curl -fsSL https://mise.run | sh && cp \"$HOME/.local/bin/mise\" /cache/toolchains/bin/mise; }" run "mise trust" run "mise install" run "CI=true PI_EXT_MATRIX_PI=${pi} mise run //:verify-packages" }