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 committed Jan 21, 2025
1 parent 7901248 commit d1ad7b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ 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
Expand Down

0 comments on commit d1ad7b8

Please sign in to comment.