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

WIP: 🌱 Use equinix runner instead of ubuntu for e2e tests #1775

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
12 changes: 8 additions & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
type: string
runner:
type: string
default: "ubuntu-latest-4-cores"
default: "equinix-4cpu-16gb"
ginkgo-focus:
type: string
default: ""
Expand All @@ -32,6 +32,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libvirt-daemon-system qemu-kvm virt-manager libvirt-dev
sudo systemctl enable libvirtd
sudo systemctl start libvirtd

- name: Run BMO e2e Tests
env:
Expand All @@ -40,9 +42,11 @@ jobs:
# We need a new shell to pick up the new group. That is why we do the sudo -s -u $USER ...
# Remove the pre-installed go version. We install the exact version we need.
run: |
sudo usermod -a -G libvirt $USER
sudo rm /usr/bin/go
sudo -s -u $USER --preserve-env bash ${{ github.workspace }}/hack/ci-e2e.sh
echo $USER
env
cat /etc/os-release
sudo usermod -a -G libvirt $(whoami)
sudo -s -u $(whoami) --preserve-env bash ${{ github.workspace }}/hack/ci-e2e.sh

- name: Upload artifacts
if: ${{ !cancelled() }}
Expand Down
Loading