From 7469ebe4c5d67835a31b7d977a93a07619f118c6 Mon Sep 17 00:00:00 2001 From: Yevhen Ivantsov Date: Mon, 29 Jan 2024 14:50:09 +1100 Subject: [PATCH] Updates --- .github/workflows/openshift.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/openshift.yaml b/.github/workflows/openshift.yaml index d96a4a3db..bd76f23e4 100644 --- a/.github/workflows/openshift.yaml +++ b/.github/workflows/openshift.yaml @@ -39,7 +39,7 @@ jobs: sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system sudo usermod -a -G libvirt $USER - - name: Remove unwanted stuff to free up disk image + - name: Free up disk run: | sudo rm -rf /usr/share/dotnet sudo rm -rf /usr/local/lib/android @@ -55,16 +55,16 @@ jobs: - name: Set the crc config run: | crc config set consent-telemetry no - crc config set network-mode user - name: Setup the crc - run: sudo -su $USER crc setup + run: crc setup - name: Start the crc - run: sudo -su $USER crc start -p pull-secret.txt + run: crc start -p pull-secret.txt - name: Get crc info run: | + sleep 10 output=$(crc console --credentials) login_command=$(echo "$output" | grep -o "oc login -u kubeadmin -p [^ ]* https://api.crc.testing:6443") $(echo "${login_command}")