Skip to content

Remove host image build option to skip SMS push #756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/overcloud-host-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ on:
description: Build Ubuntu 22.04 Jammy
type: boolean
default: true
SMS:
description: Push images to SMS
type: boolean
default: true
secrets:
KAYOBE_VAULT_PASSWORD:
required: true
Expand Down Expand Up @@ -187,7 +183,7 @@ jobs:
env:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: inputs.centos && steps.build_centos_stream_8.outcome == 'success' && inputs.sms
if: inputs.centos && steps.build_centos_stream_8.outcome == 'success'

- name: Build a Rocky Linux 8 overcloud host image
id: build_rocky_8
Expand Down Expand Up @@ -231,7 +227,7 @@ jobs:
env:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: inputs.rocky8 && steps.build_rocky_8.outcome == 'success' && inputs.sms
if: inputs.rocky8 && steps.build_rocky_8.outcome == 'success'

- name: Build a Rocky Linux 9 overcloud host image
id: build_rocky_9
Expand Down Expand Up @@ -275,7 +271,7 @@ jobs:
env:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: inputs.rocky9 && steps.build_rocky_9.outcome == 'success' && inputs.sms
if: inputs.rocky9 && steps.build_rocky_9.outcome == 'success'

- name: Build an Ubuntu Focal 20.04 overcloud host image
id: build_ubuntu_focal
Expand Down Expand Up @@ -319,7 +315,7 @@ jobs:
env:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: inputs.ubuntu-focal && steps.build_ubuntu_focal.outcome == 'success' && inputs.sms
if: inputs.ubuntu-focal && steps.build_ubuntu_focal.outcome == 'success'

- name: Build an Ubuntu Jammy 22.04 overcloud host image
id: build_ubuntu_jammy
Expand Down Expand Up @@ -363,7 +359,7 @@ jobs:
env:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: inputs.ubuntu-jammy && steps.build_ubuntu_jammy.outcome == 'success' && inputs.sms
if: inputs.ubuntu-jammy && steps.build_ubuntu_jammy.outcome == 'success'

- name: Upload updated images artifact
uses: actions/upload-artifact@v3
Expand Down