Skip to content

Commit

Permalink
Merge pull request confidential-containers#421 from ldoktor/gh-runners
Browse files Browse the repository at this point in the history
ci: Start using the free GH runners for e2e testing
  • Loading branch information
wainersm authored Aug 20, 2024
2 parents 97f1db5 + f946f41 commit 3cdc158
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 3cdc158

Please sign in to comment.