fix(ci): disable forklift RUSTC_WRAPPER in all container jobs
The Parity CI Docker image sets RUSTC_WRAPPER=/usr/local/bin/forklift for GCS cache optimization. On our VPS runners without GCP credentials, forklift crashes with nil pointer dereference when trying to create GCS client. The global env RUSTC_WRAPPER="" doesn't reliably propagate into Docker containers. Fix: Add explicit "Disable forklift cache wrapper" step in every container job that runs cargo commands, using $GITHUB_ENV to ensure the empty RUSTC_WRAPPER persists across all steps within the job. Affected workflows: build-publish-images, checks, tests, tests-misc, build-misc, docs (32 container jobs total).
This commit is contained in:
@@ -31,6 +31,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- name: Disable forklift cache wrapper
|
||||
run: echo "RUSTC_WRAPPER=" >> $GITHUB_ENV
|
||||
|
||||
- name: Clean cargo cache to free disk space
|
||||
run: |
|
||||
@@ -70,6 +72,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- name: Disable forklift cache wrapper
|
||||
run: echo "RUSTC_WRAPPER=" >> $GITHUB_ENV
|
||||
|
||||
- name: Check Rust
|
||||
run: |
|
||||
@@ -95,6 +99,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- name: Disable forklift cache wrapper
|
||||
run: echo "RUSTC_WRAPPER=" >> $GITHUB_ENV
|
||||
|
||||
- name: Check Rust
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user