Skip to content

Commit

Permalink
ci: Fix e2e test failure because of Disk Pressure
Browse files Browse the repository at this point in the history
This moves GOPATH to /mnt to free around 1GB on root (/)
because e2e test on ubuntu-20.04 faces failure for Disk Pressure.

Signed-off-by: Seunguk Shin <[email protected]>
  • Loading branch information
Seunguk Shin authored and ldoktor committed Jan 22, 2025
1 parent c97e620 commit f797eea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
sudo rm -Rf /var/lib/docker || true
sudo mkdir /mnt/docker || true
sudo ln -s /mnt/docker /var/lib/docker || true
# Use /mnt/go for GOPATH
sudo rm -Rf $HOME/go || true
sudo mkdir /mnt/go || true
sudo ln -s /mnt/go $HOME/go || true
if [ "$RUNNING_INSTANCE" == "ubuntu-22.04-arm" ] || [ "$RUNNING_INSTANCE" == "arm64-nvidia-gpu" ]; then
export pre_install_payload_archs="linux/arm64"
fi
fi
./run-local.sh -t -r "${{ matrix.runtimeclass }}" "${args}"
env:
Expand Down

0 comments on commit f797eea

Please sign in to comment.