Skip to content

Commit

Permalink
kick CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NiniOak committed Oct 16, 2024
1 parent fe34f39 commit 6f97ccc
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/openshift-acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,27 @@ jobs:
- name: Set up OpenShift Local
run: |
# Get the latest CRC version and URL
CRC_URL="https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz"
curl -sL ${CRC_URL} | tar -xJf - -C /tmp
curl -sL ${CRC_URL} | sudo tar -xJf - -C /tmp
sudo mv /tmp/crc-linux-*-amd64/crc /usr/local/bin/
crc version
# Setup and start CRC
sg libvirt -c "crc setup"
sg libvirt -c "crc config set consent-telemetry no"
sg libvirt -c "crc start --memory 13312 --cpus 4 --yes"
bash -c "newgrp libvirt << EOF
crc setup
crc config set consent-telemetry no
crc start --memory 13312 --cpus 4 --yes
EOF"
# CRC_URL="https://mirror.openshift.com/pub/openshift-v4/clients/crc/latest/crc-linux-amd64.tar.xz"
# curl -sL ${CRC_URL} | tar -xJf - -C /tmp
# sudo mv /tmp/crc-linux-*-amd64/crc /usr/local/bin/
# crc version

# # Setup and start CRC
# sg libvirt -c "crc setup"
# sg libvirt -c "crc config set consent-telemetry no"
# sg libvirt -c "crc start --memory 13312 --cpus 4 --yes"

- name: Set up OpenShift CLI
run: |
Expand Down

0 comments on commit 6f97ccc

Please sign in to comment.