File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 67
67
source src/kayobe-config/kayobe-env --environment ci-builder &&
68
68
kayobe control host bootstrap
69
69
70
+ - name : Gather Rocky Linux 9 overcloud host image tag
71
+ id : rocky9_image_tag
72
+ run : |
73
+ echo image_tag=$(grep stackhpc_rocky_9_overcloud_host_image_version: etc/kayobe/pulp-host-image-versions.yml | awk '{print $2}') >> $GITHUB_OUTPUT
74
+ working-directory : src/kayobe-config
75
+ if : inputs.rocky9
76
+
77
+ - name : Gather Ubuntu Noble overcloud host image tag
78
+ id : ubuntu_noble_image_tag
79
+ run : |
80
+ echo image_tag=$(grep stackhpc_ubuntu_noble_overcloud_host_image_version: etc/kayobe/pulp-host-image-versions.yml | awk '{print $2}') >> $GITHUB_OUTPUT
81
+ working-directory : src/kayobe-config
82
+ if : inputs.ubuntu-noble
83
+
70
84
- name : Promote Rocky Linux 9 overcloud host image artifact
71
85
run : |
72
86
source venvs/kayobe/bin/activate &&
77
91
-e os_distribution='rocky' \
78
92
-e os_release='9'
79
93
env :
80
- ARTIFACT_TAG : " {{ stackhpc_rocky_9_overcloud_host_image_version }}"
94
+ ARTIFACT_TAG : " $ {{ steps.rocky9_image_tag.outputs.rocky9_image_tag }}"
81
95
KAYOBE_VAULT_PASSWORD : ${{ secrets.KAYOBE_VAULT_PASSWORD }}
82
96
if : inputs.rocky9
83
97
91
105
-e os_distribution='ubuntu' \
92
106
-e os_release='noble'
93
107
env :
94
- ARTIFACT_TAG : " {{ stackhpc_ubuntu_noble_overcloud_host_image_version }}"
108
+ ARTIFACT_TAG : " $ {{ steps.ubuntu_noble_image_tag.outputs.ubuntu_noble_image_tag }}"
95
109
KAYOBE_VAULT_PASSWORD : ${{ secrets.KAYOBE_VAULT_PASSWORD }}
96
110
if : inputs.ubuntu-noble
You can’t perform that action at this time.
0 commit comments