Skip to content

Commit

Permalink
CI: use dummy pull secret for microshift workflow
Browse files Browse the repository at this point in the history
Since all the images are already part of the bundle we can use
as dummy pull secret to start the microshift cluster and this will
also allow us to run that workflow from the fork.
  • Loading branch information
praveenkumar committed Apr 6, 2023
1 parent eb8b7fa commit 0959fb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/macos-microshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ jobs:
run: sudo installer -pkg out/macos-universal/crc-macos-installer.pkg -target /
- name: Set microshift preset as part of config
run: crc config set preset microshift
- name: Create dummy pull secret
run: |
echo '{"auths":{"quay.io":{"auth":"b3BlbnN","email":"dummy@dummy.com"}}}' > dummy_pull.json
- name: Run crc setup command
run: crc setup
- name: Wait 10 sec for the daemon to serve
run: sleep 10
- name: Run crc with microshift preset
run: crc start
run: crc start --pull-secret-file dummy_pull.json

0 comments on commit 0959fb6

Please sign in to comment.