Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Lukáš Doktor <[email protected]>
  • Loading branch information
ldoktor committed Aug 19, 2024
1 parent 131b368 commit 36fe116
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/git-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 36fe116

Please sign in to comment.