Skip to content

Commit

Permalink
wait for boot resources
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Feb 5, 2024
1 parent 54ab8f6 commit a5999dd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/sitespeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
sudo snap restart maas
- name: Create MAAS admin
run: sudo maas createadmin --username=admin --password=test --email=fake@example.org
- name: Login MAAS admin
if: matrix.groups == 'with-users'
run: |
export API_KEY=`sudo maas apikey --username=admin`
maas login admin http://localhost:5240/MAAS $API_KEY
- name: Wait for MAAS boot resources
if: matrix.groups == 'with-users'
shell: bash
run: while [ $(maas admin boot-resources is-importing | cat) == "true" ]; do sleep 10; done; echo "syncing finished"
- name: Wait for MAAS
uses: nev7n/wait_for_response@v1
with:
Expand Down

0 comments on commit a5999dd

Please sign in to comment.