Skip to content

Commit

Permalink
Allow time for VMs to initialise
Browse files Browse the repository at this point in the history
  • Loading branch information
moraygrieve committed Jun 28, 2023
1 parent 8118db8 commit 3172a20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
# It expects host_id to be an int and then multiplies it by 30s (i.e. host 0: sleep 0, host 1: sleep 30,...)
- name: 'Stagger VM creation'
shell: bash
run: sleep `expr ${{matrix.host_id}} \* 30`
run: sleep `expr ${{matrix.host_id}} \* 60`

- name: 'Login via Azure CLI'
uses: azure/login@v1
Expand All @@ -223,9 +223,9 @@ jobs:
inlineScript: |
az vm open-port -g Testnet -n "${{needs.build.outputs.RESOURCE_STARTING_NAME}}-${{ matrix.host_id }}-${{ GITHUB.RUN_NUMBER }}" --port 13000,13001,6060,6061,10000
- name: 'Wait for Obscuro sequencer to start'
- name: 'Allow time for VM initialization'
shell: bash
run: if [ 0! = ${{ matrix.host_id }} ]; then sleep 60; fi
run: sleep 60

- name: 'Start Obscuro node-${{ matrix.host_id }} on Azure'
uses: azure/CLI@v1
Expand Down

0 comments on commit 3172a20

Please sign in to comment.