Skip to content

Commit 65a3af6

Browse files
MoteHueAlex-Welsh
authored andcommitted
Use package repos in AIO CI
1 parent a068f1b commit 65a3af6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,26 @@ jobs:
315315
env:
316316
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
317317

318+
- name: Update host packages
319+
run: |
320+
docker run -t --rm \
321+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
322+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
323+
$KAYOBE_IMAGE \
324+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-package-update.sh
325+
env:
326+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
327+
328+
- name: Reboot VM
329+
run: |
330+
docker run -t --rm \
331+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
332+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
333+
$KAYOBE_IMAGE \
334+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/reboot.yml
335+
env:
336+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
337+
318338
- name: Service deploy
319339
run: |
320340
docker run -t --rm \

0 commit comments

Comments
 (0)