Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Yevhen Ivantsov committed Jan 29, 2024
1 parent 7469ebe commit 9c7f319
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ jobs:
- name: Set the crc config
run: |
crc config set consent-telemetry no
crc config set network-mode user
- name: Setup the crc
run: crc setup
run: sudo -su $USER crc setup

- name: Start the crc
run: crc start -p pull-secret.txt
run: sudo -su $USER crc start -p pull-secret.txt

- name: Get crc info
run: |
sleep 10
output=$(crc console --credentials)
output=$(sudo -su $USER crc console --credentials)
login_command=$(echo "$output" | grep -o "oc login -u kubeadmin -p [^ ]* https://api.crc.testing:6443")
$(echo "${login_command}")
oc get co
$(echo " sudo -su $USER ${login_command}")
sudo -su $USER oc get co

0 comments on commit 9c7f319

Please sign in to comment.