diff --git a/.woodpecker.yml b/.woodpecker.yml index e5870843..98024327 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -121,6 +121,8 @@ steps: image: docker.io/library/rust:1.86-slim-bookworm@sha256:57d415bbd61ce11e2d5f73de068103c7bd9f3188dc132c97cef4a8f62989e944 environment: RUSTFLAGS: "-C link-arg=-fuse-ld=lld" + CARGO_TARGET_DIR: /tmp/t4-legacy-authority-target + CARGO_INCREMENTAL: "0" commands: - sh scripts/cluster-ci/install-legacy-authority-toolchain.sh - (cd .continuity/omp && bun install --frozen-lockfile) diff --git a/scripts/cluster-ci/cluster-ci-contract.test.mjs b/scripts/cluster-ci/cluster-ci-contract.test.mjs index 7efe4a1d..184cad23 100644 --- a/scripts/cluster-ci/cluster-ci-contract.test.mjs +++ b/scripts/cluster-ci/cluster-ci-contract.test.mjs @@ -279,6 +279,11 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication steps["legacy-authority-build"].environment.RUSTFLAGS, "-C link-arg=-fuse-ld=lld", ); + assert.equal( + steps["legacy-authority-build"].environment.CARGO_TARGET_DIR, + "/tmp/t4-legacy-authority-target", + ); + assert.equal(steps["legacy-authority-build"].environment.CARGO_INCREMENTAL, "0"); assert.match(legacyInstaller, /apt-get install[^\n]*\blld\b/u); assert.match(legacyInstaller, /command -v ld\.lld >\/dev\/null/u); assert.equal( @@ -296,6 +301,7 @@ test("Woodpecker keeps upstream gates and serializes bounded cluster publication "(cd .continuity/omp && bun install --frozen-lockfile)", "(cd .continuity/omp && bun run build:native)", ]); + assert.deepEqual(steps["legacy-bridge-continuity"].depends_on, ["legacy-authority-build"]); assert.ok(steps["legacy-bridge-continuity"].commands.includes("pnpm test:legacy-bridge-continuity")); assert.equal(steps["legacy-bridge-continuity"].environment.T4_OMP_SOURCE_DIR, ".continuity/omp"); assert.ok(