Skip to content

Commit 2569650

Browse files
committed
Add CI Tenks environment and Zuul Bifrost job
1 parent 14fcdd3 commit 2569650

37 files changed

+1094
-178
lines changed

.github/workflows/stackhpc-pull-request.yml

Lines changed: 178 additions & 178 deletions
Original file line numberDiff line numberDiff line change
@@ -12,57 +12,57 @@ jobs:
1212
# Note that we can't use the workflow-level paths attribute since this
1313
# would skip the workflow entirely, and would prevent us from making the
1414
# aio jobs required to pass (a skip counts as a pass).
15-
check-changes:
16-
runs-on: ubuntu-24.04
17-
permissions:
18-
pull-requests: read
19-
name: Check changed files
20-
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
21-
needs:
22-
- lint
23-
# - tox
24-
outputs:
25-
aio: ${{ steps.changes.outputs.aio }}
26-
build-kayobe-image: ${{ steps.changes.outputs.build-kayobe-image }}
27-
check-tags: ${{ steps.changes.outputs.check-tags }}
28-
steps:
29-
- name: GitHub Checkout
30-
uses: actions/checkout@v4
31-
32-
- name: Check changed files
33-
uses: dorny/paths-filter@v3
34-
id: changes
35-
with:
36-
# Filters are defined in this file.
37-
filters: .github/path-filters.yml
38-
39-
tox:
40-
runs-on: ubuntu-24.04
41-
permissions: {}
42-
strategy:
43-
matrix:
44-
include:
45-
- environment: pep8
46-
python-version: "3.12"
47-
- environment: releasenotes
48-
python-version: "3.12"
49-
- environment: docs
50-
python-version: "3.12"
51-
name: Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
52-
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
53-
steps:
54-
- name: GitHub Checkout 🛎
55-
uses: actions/checkout@v4
56-
with:
57-
fetch-depth: 0
58-
- name: Setup Python ${{ matrix.python-version }} 🐍
59-
uses: actions/setup-python@v5
60-
with:
61-
python-version: ${{ matrix.python-version }}
62-
- name: Install Tox 📦
63-
run: pip install tox
64-
- name: Run Tox ${{ matrix.environment }} 🧪
65-
run: tox -e ${{ matrix.environment }}
15+
# check-changes:
16+
# runs-on: ubuntu-24.04
17+
# permissions:
18+
# pull-requests: read
19+
# name: Check changed files
20+
# if: github.repository == 'stackhpc/stackhpc-kayobe-config'
21+
# needs:
22+
# - lint
23+
# # - tox
24+
# outputs:
25+
# aio: ${{ steps.changes.outputs.aio }}
26+
# build-kayobe-image: ${{ steps.changes.outputs.build-kayobe-image }}
27+
# check-tags: ${{ steps.changes.outputs.check-tags }}
28+
# steps:
29+
# - name: GitHub Checkout
30+
# uses: actions/checkout@v4
31+
32+
# - name: Check changed files
33+
# uses: dorny/paths-filter@v3
34+
# id: changes
35+
# with:
36+
# # Filters are defined in this file.
37+
# filters: .github/path-filters.yml
38+
39+
# tox:
40+
# runs-on: ubuntu-24.04
41+
# permissions: {}
42+
# strategy:
43+
# matrix:
44+
# include:
45+
# - environment: pep8
46+
# python-version: "3.12"
47+
# - environment: releasenotes
48+
# python-version: "3.12"
49+
# - environment: docs
50+
# python-version: "3.12"
51+
# name: Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
52+
# if: github.repository == 'stackhpc/stackhpc-kayobe-config'
53+
# steps:
54+
# - name: GitHub Checkout 🛎
55+
# uses: actions/checkout@v4
56+
# with:
57+
# fetch-depth: 0
58+
# - name: Setup Python ${{ matrix.python-version }} 🐍
59+
# uses: actions/setup-python@v5
60+
# with:
61+
# python-version: ${{ matrix.python-version }}
62+
# - name: Install Tox 📦
63+
# run: pip install tox
64+
# - name: Run Tox ${{ matrix.environment }} 🧪
65+
# run: tox -e ${{ matrix.environment }}
6666

6767
lint:
6868
runs-on: ubuntu-24.04
@@ -109,130 +109,130 @@ jobs:
109109
# when the parent jobs completed successfully or were skipped. We pass an
110110
# 'if' argument to the called workflow to allow running it conditionally.
111111

112-
build-kayobe-image:
113-
name: Build Kayobe Image
114-
needs:
115-
- check-changes
116-
uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
117-
with:
118-
if: ${{ needs.check-changes.outputs.build-kayobe-image == 'true' }}
119-
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
120-
121-
check-tags:
122-
name: Check container image tags
123-
needs:
124-
- check-changes
125-
- build-kayobe-image
126-
uses: ./.github/workflows/stackhpc-check-tags.yml
127-
with:
128-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
129-
if: ${{ needs.check-changes.outputs.check-tags == 'true' }}
130-
secrets: inherit
131-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
132-
133-
all-in-one-ubuntu-noble-ovn:
134-
name: aio (Ubuntu Noble OVN)
135-
needs:
136-
- check-changes
137-
- build-kayobe-image
138-
uses: ./.github/workflows/stackhpc-all-in-one.yml
139-
with:
140-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
141-
os_distribution: ubuntu
142-
os_release: noble
143-
ssh_username: ubuntu
144-
neutron_plugin: ovn
145-
OS_CLOUD: openstack
146-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
147-
secrets: inherit
148-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
149-
150-
all-in-one-rocky-9-ovs:
151-
name: aio (Rocky 9 OVS)
152-
needs:
153-
- check-changes
154-
- build-kayobe-image
155-
uses: ./.github/workflows/stackhpc-all-in-one.yml
156-
with:
157-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
158-
os_distribution: rocky
159-
os_release: "9"
160-
ssh_username: cloud-user
161-
neutron_plugin: ovs
162-
OS_CLOUD: openstack
163-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
164-
secrets: inherit
165-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
166-
167-
all-in-one-rocky-9-ovn:
168-
name: aio (Rocky 9 OVN)
169-
needs:
170-
- check-changes
171-
- build-kayobe-image
172-
uses: ./.github/workflows/stackhpc-all-in-one.yml
173-
with:
174-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
175-
os_distribution: rocky
176-
os_release: "9"
177-
ssh_username: cloud-user
178-
neutron_plugin: ovn
179-
OS_CLOUD: openstack
180-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
181-
secrets: inherit
182-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
183-
184-
# Test two upgrade scenarios: Ubuntu Jammy to Noble OVN and Rocky 9 OVN.
185-
186-
all-in-one-upgrade-ubuntu-jammy-to-noble-ovn:
187-
name: aio upgrade (Ubuntu Jammy to Noble OVN)
188-
needs:
189-
- check-changes
190-
- build-kayobe-image
191-
uses: ./.github/workflows/stackhpc-all-in-one.yml
192-
with:
193-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
194-
os_distribution: ubuntu
195-
os_release: jammy
196-
ssh_username: ubuntu
197-
neutron_plugin: ovn
198-
OS_CLOUD: openstack
199-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
200-
upgrade: true
201-
secrets: inherit
202-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
203-
204-
all-in-one-upgrade-rocky-9-ovn:
205-
name: aio upgrade (Rocky 9 OVN)
206-
needs:
207-
- check-changes
208-
- build-kayobe-image
209-
uses: ./.github/workflows/stackhpc-all-in-one.yml
210-
with:
211-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
212-
os_distribution: rocky
213-
os_release: "9"
214-
ssh_username: cloud-user
215-
neutron_plugin: ovn
216-
OS_CLOUD: openstack
217-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
218-
upgrade: true
219-
secrets: inherit
220-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
221-
222-
all-in-one-upgrade-rocky-9-ovs:
223-
name: aio upgrade (Rocky 9 OVS)
224-
needs:
225-
- check-changes
226-
- build-kayobe-image
227-
uses: ./.github/workflows/stackhpc-all-in-one.yml
228-
with:
229-
kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
230-
os_distribution: rocky
231-
os_release: "9"
232-
ssh_username: cloud-user
233-
neutron_plugin: ovs
234-
OS_CLOUD: openstack
235-
if: ${{ needs.check-changes.outputs.aio == 'true' }}
236-
upgrade: true
237-
secrets: inherit
238-
if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
112+
# build-kayobe-image:
113+
# name: Build Kayobe Image
114+
# needs:
115+
# - check-changes
116+
# uses: ./.github/workflows/stackhpc-build-kayobe-image.yml
117+
# with:
118+
# if: ${{ needs.check-changes.outputs.build-kayobe-image == 'true' }}
119+
# if: github.repository == 'stackhpc/stackhpc-kayobe-config'
120+
121+
# check-tags:
122+
# name: Check container image tags
123+
# needs:
124+
# - check-changes
125+
# - build-kayobe-image
126+
# uses: ./.github/workflows/stackhpc-check-tags.yml
127+
# with:
128+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
129+
# if: ${{ needs.check-changes.outputs.check-tags == 'true' }}
130+
# secrets: inherit
131+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
132+
133+
# all-in-one-ubuntu-noble-ovn:
134+
# name: aio (Ubuntu Noble OVN)
135+
# needs:
136+
# - check-changes
137+
# - build-kayobe-image
138+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
139+
# with:
140+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
141+
# os_distribution: ubuntu
142+
# os_release: noble
143+
# ssh_username: ubuntu
144+
# neutron_plugin: ovn
145+
# OS_CLOUD: openstack
146+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
147+
# secrets: inherit
148+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
149+
150+
# all-in-one-rocky-9-ovs:
151+
# name: aio (Rocky 9 OVS)
152+
# needs:
153+
# - check-changes
154+
# - build-kayobe-image
155+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
156+
# with:
157+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
158+
# os_distribution: rocky
159+
# os_release: "9"
160+
# ssh_username: cloud-user
161+
# neutron_plugin: ovs
162+
# OS_CLOUD: openstack
163+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
164+
# secrets: inherit
165+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
166+
167+
# all-in-one-rocky-9-ovn:
168+
# name: aio (Rocky 9 OVN)
169+
# needs:
170+
# - check-changes
171+
# - build-kayobe-image
172+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
173+
# with:
174+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
175+
# os_distribution: rocky
176+
# os_release: "9"
177+
# ssh_username: cloud-user
178+
# neutron_plugin: ovn
179+
# OS_CLOUD: openstack
180+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
181+
# secrets: inherit
182+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
183+
184+
# # Test two upgrade scenarios: Ubuntu Jammy to Noble OVN and Rocky 9 OVN.
185+
186+
# all-in-one-upgrade-ubuntu-jammy-to-noble-ovn:
187+
# name: aio upgrade (Ubuntu Jammy to Noble OVN)
188+
# needs:
189+
# - check-changes
190+
# - build-kayobe-image
191+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
192+
# with:
193+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
194+
# os_distribution: ubuntu
195+
# os_release: jammy
196+
# ssh_username: ubuntu
197+
# neutron_plugin: ovn
198+
# OS_CLOUD: openstack
199+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
200+
# upgrade: true
201+
# secrets: inherit
202+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
203+
204+
# all-in-one-upgrade-rocky-9-ovn:
205+
# name: aio upgrade (Rocky 9 OVN)
206+
# needs:
207+
# - check-changes
208+
# - build-kayobe-image
209+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
210+
# with:
211+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
212+
# os_distribution: rocky
213+
# os_release: "9"
214+
# ssh_username: cloud-user
215+
# neutron_plugin: ovn
216+
# OS_CLOUD: openstack
217+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
218+
# upgrade: true
219+
# secrets: inherit
220+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
221+
222+
# all-in-one-upgrade-rocky-9-ovs:
223+
# name: aio upgrade (Rocky 9 OVS)
224+
# needs:
225+
# - check-changes
226+
# - build-kayobe-image
227+
# uses: ./.github/workflows/stackhpc-all-in-one.yml
228+
# with:
229+
# kayobe_image: ${{ needs.build-kayobe-image.outputs.kayobe_image }}
230+
# os_distribution: rocky
231+
# os_release: "9"
232+
# ssh_username: cloud-user
233+
# neutron_plugin: ovs
234+
# OS_CLOUD: openstack
235+
# if: ${{ needs.check-changes.outputs.aio == 'true' }}
236+
# upgrade: true
237+
# secrets: inherit
238+
# if: ${{ ! failure() && ! cancelled() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}

0 commit comments

Comments
 (0)