ci/cd - set boot volume for arm instance

This commit is contained in:
florian 2023-09-09 11:18:20 +02:00
parent 2382fdd377
commit 30c952e9e4

View file

@ -52,6 +52,8 @@ jobs:
echo "ip=${{ fromJson(steps.scw.outputs.json).public_ip.address }}" >> "$GITHUB_OUTPUT"
- name: Wait for VM
run: scw instance server wait ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
- name: Configure boot volume
run: scw instance server update ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2 volumes.0.boot=true
- name: Start VM
run: scw instance server start ${{ fromJson(steps.scw.outputs.json).ID }} zone=fr-par-2
- name: Wait for SSH