Skip to content

Commit b0e4a1b

Browse files
committed
Remove host image build SMS push skip option
This change removes an input option on the overcloud host image build workflow that allowed the user to not push the built image to SMS. This function was useful in testing but in practice serves little use. Images that are not in SMS cannot be used in the default stackhpc kayobe configuration because they are used in CI.
1 parent bbaf7bb commit b0e4a1b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ on:
2323
description: Build Ubuntu 22.04 Jammy
2424
type: boolean
2525
default: true
26-
SMS:
27-
description: Push images to SMS
28-
type: boolean
29-
default: true
3026
secrets:
3127
KAYOBE_VAULT_PASSWORD:
3228
required: true
@@ -187,7 +183,7 @@ jobs:
187183
env:
188184
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
189185
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
190-
if: inputs.centos && steps.build_centos_stream_8.outcome == 'success' && inputs.sms
186+
if: inputs.centos && steps.build_centos_stream_8.outcome == 'success'
191187

192188
- name: Build a Rocky Linux 8 overcloud host image
193189
id: build_rocky_8
@@ -231,7 +227,7 @@ jobs:
231227
env:
232228
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
233229
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
234-
if: inputs.rocky8 && steps.build_rocky_8.outcome == 'success' && inputs.sms
230+
if: inputs.rocky8 && steps.build_rocky_8.outcome == 'success'
235231

236232
- name: Build a Rocky Linux 9 overcloud host image
237233
id: build_rocky_9
@@ -275,7 +271,7 @@ jobs:
275271
env:
276272
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
277273
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
278-
if: inputs.rocky9 && steps.build_rocky_9.outcome == 'success' && inputs.sms
274+
if: inputs.rocky9 && steps.build_rocky_9.outcome == 'success'
279275

280276
- name: Build an Ubuntu Focal 20.04 overcloud host image
281277
id: build_ubuntu_focal
@@ -319,7 +315,7 @@ jobs:
319315
env:
320316
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
321317
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
322-
if: inputs.ubuntu-focal && steps.build_ubuntu_focal.outcome == 'success' && inputs.sms
318+
if: inputs.ubuntu-focal && steps.build_ubuntu_focal.outcome == 'success'
323319

324320
- name: Build an Ubuntu Jammy 22.04 overcloud host image
325321
id: build_ubuntu_jammy
@@ -363,7 +359,7 @@ jobs:
363359
env:
364360
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
365361
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
366-
if: inputs.ubuntu-jammy && steps.build_ubuntu_jammy.outcome == 'success' && inputs.sms
362+
if: inputs.ubuntu-jammy && steps.build_ubuntu_jammy.outcome == 'success'
367363

368364
- name: Upload updated images artifact
369365
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)