Skip to content

Commit 5d82f78

Browse files
committed
Fix grep in all-in-one workflow
1 parent 39004de commit 5d82f78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/overcloud-host-image-promote.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ jobs:
150150
kayobe playbook run \
151151
src/kayobe-config/etc/kayobe/ansible/pulp-host-image-promote.yml \
152152
-e image_path='/opt/kayobe/images/overcloud-ubuntu-jammy' \
153-
-e os_distribution='jammy' \
154-
-e os_release='focal'
153+
-e os_distribution='ubuntu' \
154+
-e os_release='jammy'
155155
env:
156156
OVERCLOUD_HOST_IMAGE_TAG: ${{ inputs.image_tag }}
157157
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Output image tag
8080
id: image_tag
8181
run: |
82-
echo image_tag=$(grep stackhpc_${{ inputs.os_distribution }}_$(sed s/-/_/ <(echo "${{ inputs.os_release }}"))_overcloud_host_image_version etc/kayobe/stackhpc-overcloud-host-images.yml | awk '{print $2}') >> $GITHUB_OUTPUT
82+
echo image_tag=$(grep stackhpc_${{ inputs.os_distribution }}_$(sed s/-/_/ <(echo "${{ inputs.os_release }}"))_overcloud_host_image_version: etc/kayobe/stackhpc-overcloud-host-images.yml | awk '{print $2}') >> $GITHUB_OUTPUT
8383
8484
# Use the image override if set, otherwise use overcloud-os_distribution-os_release-tag
8585
- name: Output image name

0 commit comments

Comments
 (0)