File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
droplet_info = json .load (sys .stdin )
12
12
print (droplet_info [0 ]["networks" ]["v4" ][0 ]["ip_address" ])
13
13
except Exception :
14
- print (droplet_info )
14
+ print ("Failed to find ipv4:" , file = sys .stderr )
15
+ print (json .dumps (droplet_info , indent = 4 ), file = sys .stderr )
15
16
raise
Original file line number Diff line number Diff line change @@ -179,6 +179,7 @@ jobs:
179
179
180
180
- name : Get droplet ip and export it in env
181
181
run : |
182
+ until ${doctl compute droplet get aleph-vm-ci-${{ matrix.os_config.alias }}-${{ matrix.check_vm.alias }} --output json | ./.github/scripts/extract_droplet_ipv4.py)}; do sleep 1; done
182
183
echo "DROPLET_IPV4=$(doctl compute droplet get aleph-vm-ci-${{ matrix.os_config.alias }}-${{ matrix.check_vm.alias }} --output json | ./.github/scripts/extract_droplet_ipv4.py)" >> "$GITHUB_ENV"
183
184
184
185
- name : Wait for the system to setup and boot
You can’t perform that action at this time.
0 commit comments