Skip to content

Commit

Permalink
Debug okd bundle failure
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkumar committed Jul 24, 2024
1 parent 71b8eb6 commit 210f9d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-okd-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build:
name: Run OKD bundle with crc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -30,9 +30,12 @@ jobs:
sudo cp out/linux-amd64/crc /usr/local/bin/crc
- name: Install required virtualization software
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
sudo apt-get update
sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system
sudo usermod -a -G libvirt $USER
sudo usermod -a -G kvm,libvirt $USER
- name: Remove unwanted stuff to free up disk image
run: |
sudo rm -rf /usr/share/dotnet
Expand All @@ -51,5 +54,7 @@ jobs:
crc config set network-mode user
- name: Setup the crc
run: sudo -su $USER crc setup
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- name: Start the crc
run: sudo -su $USER crc start

0 comments on commit 210f9d1

Please sign in to comment.