Skip to content

Commit 6308f6c

Browse files
authored
Ensure we have an IP on breth1
1 parent 10cca92 commit 6308f6c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,19 @@ jobs:
355355
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
356356
if: inputs.upgrade
357357

358+
- name: Ensure we have IP on breth1 to reach the instances
359+
# NOTE(wszumski): Whilst we don't need to create resources again, in some circumstances
360+
# we can lose the IP address that allows us to connect to the instances. This playbook
361+
# also fixes that issue.
362+
run: |
363+
docker run -t --rm \
364+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
365+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
366+
${{ steps.kayobe_image.outputs.kayobe_image }} \
367+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/configure-aio-resources.yml
368+
env:
369+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
370+
358371
- name: Tempest tests
359372
id: tempest
360373
run: |

0 commit comments

Comments
 (0)