Skip to content

Commit b271379

Browse files
committed
CI: Improve aarch64 and vars config
Rename aarch64 to arm64 to sync with OpenDev nodeset naming Remove base_arch/base_distro/base_distro_version and derive it from zuul job name Change-Id: I2f8367ae81d0972517b8712e1cb6ead1044accc4 Signed-off-by: Michal Nasiadka <[email protected]>
1 parent 918018c commit b271379

File tree

6 files changed

+30
-65
lines changed

6 files changed

+30
-65
lines changed

zuul.d/base.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
- ^LICENSE$
2424
- ^tox\.ini$
2525
vars:
26-
base_arch: "x86_64"
26+
base_arch: "{{ 'aarch64' if 'arm64' in zuul.job else 'x86_64' }}"
27+
base_distro: "{{ zuul.job.split('-').2 }}"
28+
base_distro_version: "{{ zuul.job.split('-').3 }}"
2729
publisher: false
2830
container_engine: "docker"
2931
extra-vars:

zuul.d/centos.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,18 @@
33
name: kolla-build-centos-10s
44
parent: kolla-base
55
nodeset: kolla-centos-10s-8GB
6-
vars:
7-
base_distro: centos
86
voting: false
97

108
- job:
11-
name: kolla-build-centos-10s-aarch64
9+
name: kolla-build-centos-10s-arm64
1210
parent: kolla-build-centos-10s
13-
nodeset: kolla-centos-10s-aarch64-8GB
14-
vars:
15-
base_arch: aarch64
11+
nodeset: kolla-centos-10s-arm64-8GB
1612
voting: false
1713

1814
- job:
19-
name: kolla-build-no-infra-wheels-centos-10s
15+
name: kolla-build-centos-10s-no-infra-wheels
2016
parent: kolla-build-no-infra-wheels-base
2117
nodeset: kolla-centos-10s-8GB
22-
vars:
23-
base_distro: centos
2418

2519
- project-template:
2620
name: kolla-build-centos
@@ -31,7 +25,7 @@
3125
- kolla-build-centos-10s
3226
check-arm64:
3327
jobs:
34-
- kolla-build-centos-10s-aarch64
28+
- kolla-build-centos-10s-arm64
3529
experimental:
3630
jobs:
37-
- kolla-build-no-infra-wheels-centos-10s
31+
- kolla-build-centos-10s-no-infra-wheels

zuul.d/debian.yaml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,17 @@
33
name: kolla-build-debian-bookworm
44
parent: kolla-base
55
nodeset: kolla-debian-bookworm-8GB
6-
vars:
7-
base_distro: debian
8-
base_distro_version: bookworm
96

107
- job:
118
name: kolla-build-debian-bookworm-podman
129
parent: kolla-base-podman
1310
nodeset: kolla-debian-bookworm-8GB
14-
vars:
15-
base_distro: debian
16-
base_distro_version: bookworm
1711

1812
- job:
19-
name: kolla-build-debian-bookworm-aarch64
13+
name: kolla-build-debian-bookworm-arm64
2014
parent: kolla-build-debian-bookworm
21-
nodeset: kolla-debian-bookworm-aarch64-8GB
15+
nodeset: kolla-debian-bookworm-arm64-8GB
2216
voting: false
23-
vars:
24-
base_arch: aarch64
2517

2618
- job:
2719
name: kolla-publish-debian-bookworm-quay
@@ -36,8 +28,8 @@
3628
- kolla_quay_io_api
3729

3830
- job:
39-
name: kolla-publish-debian-bookworm-aarch64-quay
40-
parent: kolla-build-debian-bookworm-aarch64
31+
name: kolla-publish-debian-bookworm-arm64-quay
32+
parent: kolla-build-debian-bookworm-arm64
4133
post-run: tests/playbooks/publish.yml
4234
vars:
4335
publisher: true
@@ -48,11 +40,9 @@
4840
- kolla_quay_io_api
4941

5042
- job:
51-
name: kolla-build-no-infra-wheels-debian-bookworm
43+
name: kolla-build-debian-bookworm-no-infra-wheels
5244
parent: kolla-build-no-infra-wheels-base
5345
nodeset: kolla-debian-bookworm-8GB
54-
vars:
55-
base_distro: debian
5646

5747
- project-template:
5848
name: kolla-build-debian
@@ -64,15 +54,15 @@
6454
- kolla-build-debian-bookworm-podman
6555
check-arm64:
6656
jobs:
67-
- kolla-build-debian-bookworm-aarch64
57+
- kolla-build-debian-bookworm-arm64
6858
gate:
6959
jobs:
7060
- kolla-build-debian-bookworm
7161
- kolla-build-debian-bookworm-podman
7262
experimental:
7363
jobs:
74-
- kolla-build-no-infra-wheels-debian-bookworm
64+
- kolla-build-debian-bookworm-no-infra-wheels
7565
periodic:
7666
jobs:
7767
- kolla-publish-debian-bookworm-quay
78-
- kolla-publish-debian-bookworm-aarch64-quay
68+
- kolla-publish-debian-bookworm-arm64-quay

zuul.d/nodesets.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
label: centos-10-stream-8GB
77

88
- nodeset:
9-
name: kolla-centos-10s-aarch64-8GB
9+
name: kolla-centos-10s-arm64-8GB
1010
nodes:
1111
- name: primary
1212
label: centos-10-stream-arm64-8GB
@@ -18,7 +18,7 @@
1818
label: debian-bookworm-8GB
1919

2020
- nodeset:
21-
name: kolla-debian-bookworm-aarch64-8GB
21+
name: kolla-debian-bookworm-arm64-8GB
2222
nodes:
2323
- name: primary
2424
label: debian-bookworm-arm64-8GB
@@ -30,7 +30,7 @@
3030
label: rockylinux-10-8GB
3131

3232
- nodeset:
33-
name: kolla-rocky-10-aarch64-8GB
33+
name: kolla-rocky-10-arm64-8GB
3434
nodes:
3535
- name: primary
3636
label: rockylinux-10-arm64-8GB
@@ -42,7 +42,7 @@
4242
label: ubuntu-noble-8GB
4343

4444
- nodeset:
45-
name: kolla-ubuntu-noble-aarch64-8GB
45+
name: kolla-ubuntu-noble-arm64-8GB
4646
nodes:
4747
- name: primary
4848
label: ubuntu-noble-arm64-8GB

zuul.d/rocky.yaml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,22 @@
33
name: kolla-build-rocky-10
44
parent: kolla-base
55
nodeset: kolla-rocky-10-8GB
6-
vars:
7-
base_distro: rocky
8-
base_distro_version: 10
96

107
- job:
118
name: kolla-build-rocky-10-podman
129
parent: kolla-base-podman
1310
nodeset: kolla-rocky-10-8GB
14-
vars:
15-
base_distro: rocky
16-
base_distro_version: 10
1711

1812
- job:
19-
name: kolla-build-rocky-10-aarch64
13+
name: kolla-build-rocky-10-arm64
2014
parent: kolla-build-rocky-10
21-
nodeset: kolla-rocky-10-aarch64-8GB
22-
vars:
23-
base_arch: aarch64
15+
nodeset: kolla-rocky-10-arm64-8GB
2416
voting: false
2517

2618
- job:
27-
name: kolla-build-no-infra-wheels-rocky-10
19+
name: kolla-build-rocky-10-no-infra-wheels
2820
parent: kolla-build-no-infra-wheels-base
2921
nodeset: kolla-rocky-10-8GB
30-
vars:
31-
base_distro: rocky
32-
base_distro_version: 10
3322

3423
- job:
3524
name: kolla-publish-rocky-10-quay
@@ -53,10 +42,10 @@
5342
- kolla-build-rocky-10-podman
5443
check-arm64:
5544
jobs:
56-
- kolla-build-rocky-10-aarch64
45+
- kolla-build-rocky-10-arm64
5746
experimental:
5847
jobs:
59-
- kolla-build-no-infra-wheels-rocky-10
48+
- kolla-build-rocky-10-no-infra-wheels
6049
gate:
6150
jobs:
6251
- kolla-build-rocky-10

zuul.d/ubuntu.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@
33
name: kolla-build-ubuntu-noble
44
parent: kolla-base
55
nodeset: kolla-ubuntu-noble-8GB
6-
vars:
7-
base_distro: ubuntu
8-
base_distro_version: noble
96

107
- job:
118
name: kolla-build-ubuntu-noble-podman
129
parent: kolla-base-podman
1310
nodeset: kolla-ubuntu-noble-8GB
14-
vars:
15-
base_distro: ubuntu
16-
base_distro_version: noble
1711

1812
- job:
19-
name: kolla-build-ubuntu-noble-aarch64
13+
name: kolla-build-ubuntu-noble-arm64
2014
parent: kolla-build-ubuntu-noble
21-
nodeset: kolla-ubuntu-noble-aarch64-8GB
22-
vars:
23-
base_arch: aarch64
15+
nodeset: kolla-ubuntu-noble-arm64-8GB
2416
voting: false
2517

2618
- job:
@@ -36,11 +28,9 @@
3628
- kolla_quay_io_api
3729

3830
- job:
39-
name: kolla-build-no-infra-wheels-ubuntu-noble
31+
name: kolla-build-ubuntu-noble-no-infra-wheels
4032
parent: kolla-build-no-infra-wheels-base
4133
nodeset: kolla-ubuntu-noble-8GB
42-
vars:
43-
base_distro: ubuntu
4434

4535
- project-template:
4636
name: kolla-build-ubuntu
@@ -52,14 +42,14 @@
5242
- kolla-build-ubuntu-noble-podman
5343
check-arm64:
5444
jobs:
55-
- kolla-build-ubuntu-noble-aarch64
45+
- kolla-build-ubuntu-noble-arm64
5646
gate:
5747
jobs:
5848
- kolla-build-ubuntu-noble
5949
- kolla-build-ubuntu-noble-podman
6050
experimental:
6151
jobs:
62-
- kolla-build-no-infra-wheels-ubuntu-noble
52+
- kolla-build-ubuntu-noble-no-infra-wheels
6353
periodic:
6454
jobs:
6555
- kolla-publish-ubuntu-noble-quay

0 commit comments

Comments
 (0)