Skip to content

Commit ee71697

Browse files
committed
Separate aarch64 container builds onto different vms
As a short-term solution to aarch64 container build jobs experiencing apt lock conflicts, we now have two additional aarch64 actions runners on a separate vm which Rocky 10 builds will fall on to.
1 parent 4cd60ea commit ee71697

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ jobs:
107107
output="{'distro': ["
108108
if [[ ${{ inputs.rocky-linux-9 }} == 'true' ]]; then
109109
output+="{'name': 'rocky', 'release': 9, 'arch': 'amd64'},"
110-
output+="{'name': 'rocky', 'release': 9, 'arch': 'aarch64'},"
110+
output+="{'name': 'rocky', 'release': 9, 'arch': 'aarch64', 'runner': 'sms'},"
111111
fi
112112
if [[ ${{ inputs.rocky-linux-10 }} == 'true' ]]; then
113113
output+="{'name': 'rocky', 'release': 10, 'arch': 'amd64'},"
114-
output+="{'name': 'rocky', 'release': 10, 'arch': 'aarch64'},"
114+
output+="{'name': 'rocky', 'release': 10, 'arch': 'aarch64', 'runner': 'sms-alternate'},"
115115
fi
116116
if [[ ${{ inputs.ubuntu-noble }} == 'true' ]]; then
117117
output+="{'name': 'ubuntu', 'release': 'noble', 'arch': 'amd64'},"
@@ -134,7 +134,7 @@ jobs:
134134
name: Build Kolla container images
135135
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
136136
runs-on: ${{ matrix.distro.arch == 'aarch64'
137-
&& fromJson('["self-hosted","sms","arm64"]')
137+
&& fromJson(format('["self-hosted", "{0}", "arm64"]', matrix.distro.runner))
138138
|| needs.runner-selection.outputs.runner_name_container_image_build }}
139139
timeout-minutes: 720
140140
permissions: {}

0 commit comments

Comments
 (0)