Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading