Skip to content

Commit cc2cf4d

Browse files
committed
Update container-image-build workflow
Image builds were previously failing due to the runners being provisioned with CS8 (Zed requires python > 3.6 which CS8 does not support). This change edits the workflow to use new RL9 images, which can build Zed container images. The workflow also had some CS8-specific customisations which have been removed
1 parent ed8adaa commit cc2cf4d

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

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

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
generate-tag:
4141
name: Generate container image tag
4242
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
43-
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder]
43+
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder-rl9]
4444
permissions: {}
4545
outputs:
4646
datetime_tag: ${{ steps.datetime_tag.outputs.datetime_tag }}
@@ -88,7 +88,7 @@ jobs:
8888
container-image-build:
8989
name: Build Kolla container images
9090
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
91-
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder]
91+
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder-rl9]
9292
timeout-minutes: 720
9393
permissions: {}
9494
strategy:
@@ -107,11 +107,6 @@ jobs:
107107
ref: refs/heads/stackhpc/${{ needs.generate-tag.outputs.openstack_release }}
108108
path: src/kayobe
109109

110-
# FIXME: Failed in kolla-ansible : Ensure the latest version of pip is installed
111-
- name: Install dependencies
112-
run: |
113-
sudo dnf -y install python3-virtualenv
114-
115110
- name: Setup networking
116111
run: |
117112
if ! ip l show breth1 >/dev/null 2>&1; then
@@ -127,14 +122,6 @@ jobs:
127122
sudo ip l set dummy1 up
128123
sudo ip l set dummy1 master breth1
129124
130-
# FIXME: Without this workaround we see the following issue after the runner is power cycled:
131-
# TASK [MichaelRigart.interfaces : RedHat | ensure network service is started and enabled] ***
132-
# Unable to start service network: Job for network.service failed because the control process exited with error code.
133-
# See \"systemctl status network.service\" and \"journalctl -xe\" for details.
134-
- name: Kill dhclient (workaround)
135-
run: |
136-
(sudo killall dhclient || true) && sudo systemctl restart network
137-
138125
- name: Install Kayobe
139126
run: |
140127
mkdir -p venvs &&

0 commit comments

Comments
 (0)