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 1143c08
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test-okd-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,16 @@ jobs:
run: |
make cross
sudo cp out/linux-amd64/crc /usr/local/bin/crc
- name: Enable KVM group perms
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
- name: Install required virtualization software
run: |
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 +56,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 1143c08

Please sign in to comment.