Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .automation
4 changes: 2 additions & 2 deletions .github/workflows/ipa-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
rocky9:
description: Build Rocky Linux 9
type: boolean
default: true
default: false
rocky9-aarch64:
description: Build Rocky Linux 9 aarch64
type: boolean
default: true
default: false
ubuntu-noble:
description: Build Ubuntu 24.04 Noble
type: boolean
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/overcloud-host-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
rocky9:
description: Build Rocky Linux 9
type: boolean
default: true
default: false
rocky9-aarch64:
description: Build Rocky Linux 9 aarch64
type: boolean
default: true
default: false
rocky10:
description: Build Rocky Linux 10
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/overcloud-host-image-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
rocky9:
description: Promote Rocky Linux 9
type: boolean
default: true
default: false
rocky9-aarch64:
description: Promote Rocky Linux 9 aarch64
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/overcloud-host-image-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
rocky9:
description: Upload Rocky Linux 9
type: boolean
default: true
default: false
rocky10:
description: Upload Rocky Linux 10
type: boolean
Expand Down
31 changes: 22 additions & 9 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
os_release:
description: Host OS release
type: string
default: '9'
default: '10'
architecture:
description: Host architecture
type: string
Expand Down Expand Up @@ -96,9 +96,9 @@ jobs:
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
KAYOBE_IMAGE: ${{ inputs.kayobe_image }}
# NOTE(upgrade): Reference the PREVIOUS release here.
PREVIOUS_KAYOBE_IMAGE: ghcr.io/stackhpc/stackhpc-kayobe-config:stackhpc-2024.1
PREVIOUS_KAYOBE_IMAGE: ghcr.io/stackhpc/stackhpc-kayobe-config:stackhpc-2025.1
# NOTE(upgrade): Reference the PREVIOUS release branch here.
PREVIOUS_BRANCH: stackhpc/2024.1
PREVIOUS_BRANCH: stackhpc/2025.1
steps:
- name: Install Package dependencies
run: |
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible${{ inputs.upgrade && '/' || '/fixes/' }}fix-hostname.yml
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/fixes/fix-hostname.yml
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

Expand All @@ -296,7 +296,7 @@ jobs:
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible${{ inputs.upgrade && '/' || '/maintenance/' }}reboot.yml -e reboot_with_bootstrap_user=true
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/maintenance/reboot.yml -e reboot_with_bootstrap_user=true
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

Expand All @@ -306,7 +306,7 @@ jobs:
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible${{ inputs.upgrade && '/' || '/tools/' }}growroot.yml'
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/tools/growroot.yml'
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
${{ steps.kayobe_image.outputs.kayobe_image }} \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible${{ inputs.upgrade && '/' || '/tools/' }}configure-aio-resources.yml
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/tools/configure-aio-resources.yml
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}

Expand Down Expand Up @@ -396,9 +396,8 @@ jobs:

# If testing upgrade, checkout the current release branch
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
# Revert changes to RabbitMQ Queue types to avoid a merge conflict
- name: Stash config changes
run: git restore etc/kayobe/environments/ci-aio/kolla/globals.yml && git stash
run: git stash
if: inputs.upgrade

- name: Checkout current release config
Expand Down Expand Up @@ -437,6 +436,20 @@ jobs:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
if: inputs.upgrade

# NOTE(seunghun1ee): LP#2160235 causes service-check-containers role to fail on upgrade
# This role runs on every role of services, so we need to workaround by pulling images
# before running service upgrade
- name: Pull overcloud container images
run: |
docker run -t --rm \
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
$KAYOBE_IMAGE \
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-container-image-pull.sh
env:
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
if: inputs.upgrade

- name: Service upgrade
run: |
docker run -t --rm \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stackhpc-build-kayobe-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches:
# NOTE(upgrade): Reference only the current release branch here.
- stackhpc/2025.1
- stackhpc/2026.1

workflow_call:
inputs:
Expand All @@ -24,7 +24,7 @@ on:
base_image:
type: string
required: false
default: "rockylinux/rockylinux:9"
default: "rockylinux/rockylinux:10"
Comment thread
seunghun1ee marked this conversation as resolved.
if:
description: Whether to run the workflow (workaround for required status checks issue)
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stackhpc-container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
description: Build Rocky Linux 9 images?
type: boolean
required: false
default: true
default: false
rocky-linux-10:
description: Build Rocky Linux 10 images?
type: boolean
Expand Down
Loading
Loading