Skip to content

Commit

Permalink
fix: remove 'Wait for MAAS' step from sitespeed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndv99 committed Oct 22, 2024
1 parent 5bb2bda commit d327d45
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/sitespeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- main
- "3.*"
pull_request:
types: [opened, synchronize, reopened]
jobs:
run-sitespeed:
name: Run sitespeed.io
Expand All @@ -23,13 +25,13 @@ jobs:
maasdb-dump-url: https://github.com/canonical/maas-ui-testing/raw/main/db/maasdb-22.04-master-1000.dump
- name: Create MAAS admin
run: sudo maas createadmin --username=admin --password=test [email protected]
- name: Wait for MAAS
uses: nev7n/wait_for_response@v1
with:
url: "http://${{env.MAAS_DOMAIN}}:5240/MAAS/r"
responseCode: 200
timeout: 200000
interval: 500
# - name: Wait for MAAS
# uses: nev7n/wait_for_response@v1
# with:
# url: "http://${{env.MAAS_DOMAIN}}:5240/MAAS/r"
# responseCode: 200
# timeout: 200000
# interval: 500
- name: Login MAAS admin
run: |
# Retry admin login up to 5 times with 10s intervals to account for delays in MAAS becoming fully operational
Expand Down

0 comments on commit d327d45

Please sign in to comment.