From 36fe116ab061be135426b0611c5752fe453f105c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 7 Aug 2024 09:11:23 +0200 Subject: [PATCH] test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lukáš Doktor --- .github/workflows/ccruntime_e2e.yaml | 29 +++++++++++++++++++++++++++- tests/git-helper.sh | 1 + 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccruntime_e2e.yaml b/.github/workflows/ccruntime_e2e.yaml index 6131271f..b0bf5567 100644 --- a/.github/workflows/ccruntime_e2e.yaml +++ b/.github/workflows/ccruntime_e2e.yaml @@ -21,7 +21,11 @@ jobs: matrix: runtimeclass: - "kata-qemu" - runs-on: ubuntu-latest + instance: + - ubuntu-2004 + - ubuntu-2204 + - ubuntu-latest + runs-on: ${{ matrix.instance }} steps: - uses: actions/checkout@v4 with: @@ -37,7 +41,30 @@ jobs: - name: Install deps run: | sudo apt-get update -y + sudo apt-get remove docker* containerd* -y + #sudo apt-get remove haveged* heroku* mediainfo* mercurial* microsoft* firefox* google* mono* r-* azure* php* mysql* mssql* postgresql* powershell* + #sudo rm -Rf /usr/local/share/chromium + #sudo rm -Rf /usr/local/share/powershell + #sudo du -hs /usr/local/share/* || true + #sudo du -hs /mnt/* || true + sudo rm -Rf /var/lib/docker || true + sudo mkdir /mnt/docker || true + sudo ln -s /mnt/docker /var/lib/docker || true + #sudo rm -Rf /run/containerd + #sudo mkdir /mnt/containerd + #sudo ln -s /mnt/containerd /run/containerd + #mount + #df -h + #ls -al /var/run/ + #sudo chmod 777 /var/run/docker.sock + #which docker + #docker version + #systemctl status docker + #sudo systemctl start docker + #systemctl status docker + #sudo pip3 install -U requests==2.20.1 docker==3.1.1 sudo apt-get install -y ansible python-is-python3 + shell: /usr/bin/bash -x {0} - name: Run e2e tests timeout-minutes: 45 diff --git a/tests/git-helper.sh b/tests/git-helper.sh index b58fb90d..3f6a8b8a 100755 --- a/tests/git-helper.sh +++ b/tests/git-helper.sh @@ -39,6 +39,7 @@ function configure_github() { } function rebase_atop_of_the_latest_target_branch() { + exit 0 if [ -n "${TARGET_BRANCH}" ]; then configure_github echo "Rebasing atop of the latest ${TARGET_BRANCH}"