@@ -29,13 +29,13 @@ jobs:
29
29
30
30
- name : Update Rocky 9 overcloud host image tag
31
31
run : |
32
- sed -i "/stackhpc_rocky_9_overcloud_host_image_version/s/.*/stackhpc_rocky_9_overcloud_host_image_version: ${{ inputs.rocky9_tag }}/" etc/kayobe/pulp-host-image-versions.yml
33
- if : " ${{ github.event. inputs.rocky9_tag != '' }}"
32
+ sed -i "/stackhpc_rocky_9_overcloud_host_image_version/s/.*/stackhpc_rocky_9_overcloud_host_image_version: ${{ inputs.rocky9_tag }}/" ${{ github.workspace }}/src/kayobe-config/ etc/kayobe/pulp-host-image-versions.yml
33
+ if : " ${{ inputs.rocky9_tag != '' }}"
34
34
35
35
- name : Update Ubuntu Noble overcloud host image tag
36
36
run : |
37
- sed -i "/stackhpc_ubuntu_noble_overcloud_host_image_version/s/.*/stackhpc_ubuntu_noble_overcloud_host_image_version: ${{ inputs.ubuntu_noble_tag }}/" etc/kayobe/pulp-host-image-versions.yml
38
- if : " ${{ github.event. inputs.ubuntu_noble_tag != '' }}"
37
+ sed -i "/stackhpc_ubuntu_noble_overcloud_host_image_version/s/.*/stackhpc_ubuntu_noble_overcloud_host_image_version: ${{ inputs.ubuntu_noble_tag }}/" ${{ github.workspace }}/src/kayobe-config/ etc/kayobe/pulp-host-image-versions.yml
38
+ if : " ${{ inputs.ubuntu_noble_tag != '' }}"
39
39
40
40
- name : Propose changes via PR if required
41
41
uses : peter-evans/create-pull-request@v7
@@ -44,14 +44,14 @@ jobs:
44
44
commit-message : >-
45
45
Bump overcloud host image tags
46
46
author :
stackhpc-ci <[email protected] >
47
- branch : bump-overcloud-host-images/ ${{ inputs.rocky9_tag }}/ ${{ inputs.ubuntu_noble_tag }}
47
+ branch : bump-overcloud-host-images- ${{ inputs.rocky9_tag }}- ${{ inputs.ubuntu_noble_tag }}
48
48
delete-branch : true
49
49
title : >-
50
50
DNM test PR: Bump overcloud host image tags
51
- body : >
51
+ body : |
52
52
This PR was created automatically to update the overcloud host image
53
- tags to:
54
- Rocky 9: ${{ inputs.rocky9_tag }}
55
- Ubuntu Noble: ${{ inputs.ubuntu_noble_tag }}
53
+ tags.
54
+ Rocky 9: ${{ inputs.rocky9_tag != '' ? inputs.rocky9_tag : 'N/A' }}
55
+ Ubuntu Noble: ${{ inputs.ubuntu_noble_tag != '' ? inputs.ubuntu_noble_tag : 'N/A' }}
56
56
labels : |
57
57
automated
0 commit comments