Skip to content

Commit a9eea67

Browse files
committed
Reorder growroot after host configure on CentOS Stream 8
1 parent 36e82d8 commit a9eea67

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ jobs:
243243
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/growroot.yml'
244244
env:
245245
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
246+
if: inputs.os_distribution != 'centos' || inputs.os_release != '8-stream'
246247

247248
- name: Host configure
248249
run: |
@@ -254,6 +255,19 @@ jobs:
254255
env:
255256
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
256257

258+
# NOTE: Reordered after host configure due to missing upstream CS8 repos
259+
# preventing installation of growroot package.
260+
- name: Run growroot
261+
run: |
262+
docker run -t --rm \
263+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
264+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
265+
$KAYOBE_IMAGE \
266+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/growroot.yml'
267+
env:
268+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
269+
if: inputs.os_distribution == 'centos' && inputs.os_release == '8-stream'
270+
257271
- name: Service deploy
258272
run: |
259273
docker run -t --rm \

0 commit comments

Comments
 (0)