Skip to content

Commit aa3698c

Browse files
feat(containers): Builds OpenStack containers for both 2024.2 and 2025.1 versions
1 parent 1739085 commit aa3698c

File tree

2 files changed

+27
-15
lines changed

2 files changed

+27
-15
lines changed

.github/workflows/containers.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,30 @@ on:
2222
merge_group:
2323
types: [checks_requested]
2424

25-
env:
26-
OPENSTACK_VERSION: 2024.2
27-
2825
jobs:
2926
openstack:
3027
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.action != 'closed')
3128
runs-on: ubuntu-latest
3229

3330
strategy:
3431
matrix:
35-
# if you add a container here, add it to the 'clean_containers' job below
36-
project: [ironic, neutron, keystone, nova, openstack-client, cinder, octavia]
32+
include:
33+
- project: ironic
34+
version: "2024.2"
35+
- project: neutron
36+
version: "2024.2"
37+
- project: keystone
38+
version: "2024.2"
39+
- project: keystone
40+
version: "2025.1"
41+
- project: nova
42+
version: "2024.2"
43+
- project: openstack-client
44+
version: "2024.2"
45+
- project: cinder
46+
version: "2024.2"
47+
- project: octavia
48+
version: "2024.2"
3749

3850
steps:
3951
- name: setup docker buildx
@@ -51,8 +63,8 @@ jobs:
5163
with:
5264
images: ghcr.io/${{ github.repository }}/${{ matrix.project }}
5365
tags: |
54-
type=raw,value=${{ env.OPENSTACK_VERSION }}-ubuntu_jammy,enable={{is_default_branch}}
55-
type=raw,value=${{ env.OPENSTACK_VERSION }}-ubuntu_jammy,enable=${{ github.event_name == 'workflow_dispatch' }}
66+
type=raw,value=${{ matrix.version }}-ubuntu_jammy,enable={{is_default_branch}}
67+
type=raw,value=${{ matrix.version }}-ubuntu_jammy,enable=${{ github.event_name == 'workflow_dispatch' }}
5668
type=ref,event=tag
5769
type=ref,event=pr
5870
env:
@@ -67,7 +79,7 @@ jobs:
6779
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
6880
with:
6981
file: containers/${{ matrix.project }}/Dockerfile
70-
build-args: OPENSTACK_VERSION=${{ env.OPENSTACK_VERSION }}
82+
build-args: OPENSTACK_VERSION=${{ matrix.version }}
7183
pull: true # ensure we always have an up to date source
7284
push: true
7385
tags: ${{ steps.meta.outputs.tags }}

components/images-openstack.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ images:
1313
ks_endpoints: "quay.io/airshipit/heat:2024.2-ubuntu_jammy"
1414

1515
# keystone
16-
keystone_api: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
17-
keystone_credential_rotate: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
18-
keystone_credential_setup: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
19-
keystone_db_sync: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
20-
keystone_domain_manage: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
21-
keystone_fernet_rotate: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
22-
keystone_fernet_setup: "ghcr.io/rackerlabs/understack/keystone:2024.2-ubuntu_jammy"
16+
keystone_api: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
17+
keystone_credential_rotate: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
18+
keystone_credential_setup: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
19+
keystone_db_sync: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
20+
keystone_domain_manage: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
21+
keystone_fernet_rotate: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
22+
keystone_fernet_setup: "ghcr.io/rackerlabs/understack/keystone:2025.1-ubuntu_jammy"
2323

2424
# ironic
2525
ironic_api: "ghcr.io/rackerlabs/understack/ironic:2024.2-ubuntu_jammy"

0 commit comments

Comments
 (0)