From f797eeac4279146ab59722f057e3afec6e8f79e2 Mon Sep 17 00:00:00 2001 From: Seunguk Shin Date: Mon, 20 Jan 2025 12:43:10 +0000 Subject: [PATCH] ci: Fix e2e test failure because of Disk Pressure 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 --- .github/workflows/ccruntime_e2e.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ccruntime_e2e.yaml b/.github/workflows/ccruntime_e2e.yaml index 2f73ba0b..8e825fb4 100644 --- a/.github/workflows/ccruntime_e2e.yaml +++ b/.github/workflows/ccruntime_e2e.yaml @@ -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: