Skip to content

Commit

Permalink
Merge pull request #4 from canonical/revert-create-admin
Browse files Browse the repository at this point in the history
Revert "fix: create maas admin prior to wait"
  • Loading branch information
petermakowski authored Jan 23, 2024
2 parents 51d3dab + 17abd9d commit 8dacdc9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ runs:
run: |
set -x
sudo maas init region+rack --maas-url=${{inputs.maas-url}} --database-uri maas-test-db:///
- name: Create MAAS administrator
shell: bash
run: |
sudo maas createadmin --username=administrator --password=test [email protected]
export API_KEY=`sudo maas apikey --username=administrator`
maas login administrator http://localhost:5240/MAAS $API_KEY
- name: Wait for MAAS boot resources
shell: bash
run: while [ $(maas administrator boot-resources is-importing | cat) == "true" ]; do sleep 10; done; echo "syncing finished"
run: while [ $(maas admin boot-resources is-importing | cat) == "true" ]; do sleep 10; done; echo "syncing finished"

0 comments on commit 8dacdc9

Please sign in to comment.