Skip to content

Commit

Permalink
ci: Start using the free GH runners for e2e testing
Browse files Browse the repository at this point in the history
the free-runners come with pre-installed containerd which sometimes
collides with the one we install. We also need to move docker images to
/mnt due to limitted root (/) partition.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
  • Loading branch information
ldoktor committed Aug 19, 2024
1 parent 03bf706 commit 8025adf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
instance:
- "az-ubuntu-2004"
- "az-ubuntu-2204"
- "ubuntu-2004"
- "ubuntu-2204"
- "s390x-large"
- "tdx"
- "sev"
Expand Down Expand Up @@ -68,6 +70,13 @@ jobs:
args="-u"
if [ $RUNNING_INSTANCE = "s390x-large" ]; then
args=""
elif [ "$RUNNING_INSTANCE" == "ubuntu-2004" ] || [ ""$RUNNING_INSTANCE" == "ubuntu-2204" ]; then
# Remove the pre-installed docker/containerd
sudo apt-get remove docker* containerd* -y
# Use /mnt to store images
sudo rm -Rf /var/lib/docker || true
sudo mkdir /mnt/docker || true
sudo ln -s /mnt/docker /var/lib/docker || true
fi
./run-local.sh -t -r "${{ matrix.runtimeclass }}" "${args}"
env:
Expand Down

0 comments on commit 8025adf

Please sign in to comment.