Wait to make sure IP is ready
This commit is contained in:
parent
b310b29670
commit
fa579e5170
2
.github/workflows/images-debian.yml
vendored
2
.github/workflows/images-debian.yml
vendored
@ -27,6 +27,8 @@ jobs:
|
|||||||
- name: generate images
|
- name: generate images
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
sleep 1m
|
||||||
|
|
||||||
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-debian-$GITHUB_SHA | awk '{print $2}')
|
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-debian-$GITHUB_SHA | awk '{print $2}')
|
||||||
|
|
||||||
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo
|
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo
|
||||||
|
2
.github/workflows/images-oraclelinux.yml
vendored
2
.github/workflows/images-oraclelinux.yml
vendored
@ -27,6 +27,8 @@ jobs:
|
|||||||
- name: generate images
|
- name: generate images
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
sleep 1m
|
||||||
|
|
||||||
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-oraclelinux-$GITHUB_SHA | awk '{print $2}')
|
IP=$(doctl compute droplet list --tag-name=github-actions --format "Name,Public IPv4" | grep -v ID | grep ga-out-of-tree-images-oraclelinux-$GITHUB_SHA | awk '{print $2}')
|
||||||
|
|
||||||
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo
|
while ! ssh -o StrictHostKeyChecking=accept-new root@$IP echo
|
||||||
|
Loading…
Reference in New Issue
Block a user