Skip to content

Commit 03d848d

Browse files
Merge pull request #647 from abays/stage_names
[OSPRH-21514] Ensure that all automation files have stage names This will make maintaining kustomizations in CIFMW and jobs easier to maintain, because using stage indices instead does not tolerate stage addition/removal without corresponding changes elsewhere in the kustomization logic. Jira: https://issues.redhat.com/browse/OSPRH-21514 Assisted-by: Cursor AI (Composer-1) Reviewed-by: John Fulton <[email protected]>
2 parents 99c3ba0 + 13233ed commit 03d848d

17 files changed

+155
-76
lines changed

automation/vars/bmo01.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
bmo01:
44
stages:
5-
- path: examples/dt/bmo01/control-plane/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/bmo01/control-plane/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -24,6 +25,7 @@ vas:
2425
kind: Node
2526
resource_name: master-0
2627
state: patched
28+
name: control-plane
2729
path: examples/dt/bmo01/control-plane
2830
wait_conditions:
2931
- >-
@@ -50,6 +52,7 @@ vas:
5052
kind: Provisioning
5153
resource_name: provisioning-configuration
5254
state: patched
55+
name: baremetalhosts-configuration
5356
path: examples/dt/bmo01/dataplane/baremetalhosts
5457
wait_conditions:
5558
- >-
@@ -62,7 +65,8 @@ vas:
6265
src_file: values.yaml
6366
build_output: baremetalhosts.yaml
6467

65-
- path: examples/dt/bmo01/dataplane/secrets
68+
- name: dataplane-secrets
69+
path: examples/dt/bmo01/dataplane/secrets
6670
wait_conditions:
6771
- >-
6872
oc -n openstack wait secrets dataplane-ansible-ssh-private-key-secret
@@ -75,7 +79,8 @@ vas:
7579
src_file: values.yaml
7680
build_output: dataplane-secrets.yaml
7781

78-
- path: examples/dt/bmo01/dataplane/nodesets
82+
- name: dataplane-nodesets
83+
path: examples/dt/bmo01/dataplane/nodesets
7984
wait_conditions:
8085
- >-
8186
oc -n openstack wait openstackdataplanenodesets
@@ -92,7 +97,8 @@ vas:
9297
src_file: values.yaml
9398
build_output: dataplane-nodesets.yaml
9499

95-
- path: examples/dt/bmo01/dataplane
100+
- name: edpm-deployment
101+
path: examples/dt/bmo01/dataplane
96102
wait_conditions:
97103
- >-
98104
oc -n openstack wait openstackdataplanenodesets

automation/vars/dcn.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
dcn:
44
stages:
5-
- path: examples/dt/dcn/control-plane/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/dcn/control-plane/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -14,7 +15,8 @@ vas:
1415
src_file: values.yaml
1516
build_output: nncp.yaml
1617

17-
- path: examples/dt/dcn/control-plane
18+
- name: control-plane
19+
path: examples/dt/dcn/control-plane
1820
wait_conditions:
1921
- >-
2022
oc -n openstack wait osctlplane controlplane --for condition=Ready

automation/vars/dz-storage.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ vas:
9494
src_file: nncp/values.yaml
9595
build_output: networking.yaml
9696

97-
- path: examples/dt/dz-storage/topology
97+
- name: topology-configuration
98+
path: examples/dt/dz-storage/topology
9899
wait_conditions:
99100
- >-
100101
oc -n openstack wait

automation/vars/nfv-ovs-dpdk-sriov-adoption.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
nfv-ovs-dpdk-sriov-adoption:
44
stages:
5-
- path: examples/va/nfv/ovs-dpdk-sriov/nncp
5+
- name: nncp-configuration
6+
path: examples/va/nfv/ovs-dpdk-sriov/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp

automation/vars/nfv-ovs-dpdk-sriov-hci.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
nfv-ovs-dpdk-sriov-hci:
44
stages:
5-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -14,7 +15,8 @@ vas:
1415
src_file: values.yaml
1516
build_output: nncp.yaml
1617

17-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane
18+
- name: control-plane
19+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane
1820
wait_conditions:
1921
- >-
2022
oc -n openstack wait osctlplane controlplane --for condition=Ready
@@ -26,7 +28,8 @@ vas:
2628
src_file: nncp/values.yaml
2729
build_output: ../control-plane.yaml
2830

29-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/nodeset
31+
- name: edpm-pre-ceph-nodeset
32+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/nodeset
3033
wait_conditions:
3134
- >-
3235
oc -n openstack wait
@@ -37,7 +40,8 @@ vas:
3740
src_file: values.yaml
3841
build_output: nodeset-pre-ceph.yaml
3942

40-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/deployment
43+
- name: edpm-pre-ceph-deployment
44+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/deployment
4145
wait_conditions:
4246
- >-
4347
oc -n openstack wait
@@ -55,7 +59,8 @@ vas:
5559
extra_vars:
5660
cifmw_cephadm_log_path: /home/zuul/ci-framework-data/logs/ceph
5761

58-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci
62+
- name: edpm-post-ceph-nodeset
63+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci
5964
wait_conditions:
6065
- >-
6166
oc -n openstack wait
@@ -68,7 +73,8 @@ vas:
6873
src_file: values.yaml
6974
build_output: nodeset-post-ceph.yaml
7075

71-
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/deployment
76+
- name: edpm-post-ceph-deployment
77+
path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/deployment
7278
wait_conditions:
7379
- >-
7480
oc -n openstack

automation/vars/nova-three-cells.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
nova-three-cells:
44
stages:
5-
- path: examples/dt/nova/nova-three-cells/control-plane/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/nova/nova-three-cells/control-plane/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -14,7 +15,8 @@ vas:
1415
src_file: values.yaml
1516
build_output: nncp.yaml
1617

17-
- path: examples/dt/nova/nova-three-cells/control-plane
18+
- name: control-plane
19+
path: examples/dt/nova/nova-three-cells/control-plane
1820
wait_conditions:
1921
- >-
2022
oc -n openstack wait osctlplane controlplane --for condition=Ready
@@ -26,7 +28,8 @@ vas:
2628
src_file: service-values.yaml
2729
build_output: control-plane.yaml
2830

29-
- path: examples/dt/nova/nova-three-cells/edpm/nodeset
31+
- name: edpm-nodeset
32+
path: examples/dt/nova/nova-three-cells/edpm/nodeset
3033
wait_conditions:
3134
- >-
3235
oc -n openstack wait
@@ -37,7 +40,8 @@ vas:
3740
src_file: values.yaml
3841
build_output: nodeset.yaml
3942

40-
- path: examples/dt/nova/nova-three-cells/edpm/nodeset2
43+
- name: edpm-nodeset2
44+
path: examples/dt/nova/nova-three-cells/edpm/nodeset2
4145
wait_conditions:
4246
- >-
4347
oc -n openstack wait
@@ -48,7 +52,8 @@ vas:
4852
src_file: values.yaml
4953
build_output: nodeset2.yaml
5054

51-
- path: examples/dt/nova/nova-three-cells/edpm/deployment
55+
- name: edpm-deployment
56+
path: examples/dt/nova/nova-three-cells/edpm/deployment
5257
wait_conditions:
5358
- >-
5459
oc -n openstack wait openstackdataplanedeployment

automation/vars/nova01alpha.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
nova01alpha:
44
stages:
5-
- path: examples/dt/nova/nova01alpha/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/nova/nova01alpha/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -14,7 +15,8 @@ vas:
1415
src_file: values.yaml
1516
build_output: nncp.yaml
1617

17-
- path: examples/dt/nova/nova01alpha
18+
- name: control-plane
19+
path: examples/dt/nova/nova01alpha
1820
wait_conditions:
1921
- >-
2022
oc -n openstack wait osctlplane controlplane --for condition=Ready
@@ -26,7 +28,8 @@ vas:
2628
src_file: service-values.yaml
2729
build_output: control-plane.yaml
2830

29-
- path: examples/dt/nova/nova01alpha/edpm/nodeset
31+
- name: edpm-nodeset
32+
path: examples/dt/nova/nova01alpha/edpm/nodeset
3033
wait_conditions:
3134
- >-
3235
oc -n openstack wait
@@ -37,7 +40,8 @@ vas:
3740
src_file: values.yaml
3841
build_output: nodeset.yaml
3942

40-
- path: examples/dt/nova/nova01alpha/edpm/deployment
43+
- name: edpm-deployment
44+
path: examples/dt/nova/nova01alpha/edpm/deployment
4145
wait_conditions:
4246
- >-
4347
oc -n openstack wait
@@ -48,7 +52,8 @@ vas:
4852
src_file: values.yaml
4953
build_output: deployment.yaml
5054

51-
- path: examples/dt/nova/nova01alpha/edpm-post-driver/deployment
55+
- name: edpm-post-driver-deployment
56+
path: examples/dt/nova/nova01alpha/edpm-post-driver/deployment
5257
wait_conditions:
5358
- >-
5459
oc -n openstack wait

automation/vars/nova02beta.yaml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
vas:
33
nova02beta:
44
stages:
5-
- path: examples/dt/nova/nova02beta/networking/nncp
5+
- name: nncp-configuration
6+
path: examples/dt/nova/nova02beta/networking/nncp
67
wait_conditions:
78
- >-
89
oc -n openstack wait nncp
@@ -14,7 +15,8 @@ vas:
1415
src_file: values.yaml
1516
build_output: nncp.yaml
1617

17-
- path: examples/dt/nova/nova02beta/networking
18+
- name: network-configuration
19+
path: examples/dt/nova/nova02beta/networking
1820
wait_conditions:
1921
- >-
2022
oc -n metallb-system wait pod
@@ -26,7 +28,8 @@ vas:
2628
src_file: nncp/values.yaml
2729
build_output: network.yaml
2830

29-
- path: examples/dt/nova/nova02beta
31+
- name: control-plane
32+
path: examples/dt/nova/nova02beta
3033
wait_conditions:
3134
- >-
3235
oc -n openstack wait osctlplane controlplane --for condition=Ready
@@ -38,7 +41,8 @@ vas:
3841
src_file: service-values.yaml
3942
build_output: control-plane.yaml
4043

41-
- path: examples/dt/nova/nova02beta/edpm/nodeset
44+
- name: edpm-nodeset
45+
path: examples/dt/nova/nova02beta/edpm/nodeset
4246
wait_conditions:
4347
- >-
4448
oc -n openstack wait
@@ -49,7 +53,8 @@ vas:
4953
src_file: values.yaml
5054
build_output: nodeset.yaml
5155

52-
- path: examples/dt/nova/nova02beta/edpm/nodeset2
56+
- name: edpm-nodeset2
57+
path: examples/dt/nova/nova02beta/edpm/nodeset2
5358
wait_conditions:
5459
- >-
5560
oc -n openstack wait
@@ -60,7 +65,8 @@ vas:
6065
src_file: values.yaml
6166
build_output: nodeset2.yaml
6267

63-
- path: examples/dt/nova/nova02beta/edpm/deployment
68+
- name: edpm-deployment
69+
path: examples/dt/nova/nova02beta/edpm/deployment
6470
wait_conditions:
6571
- >-
6672
oc -n openstack wait
@@ -71,7 +77,8 @@ vas:
7177
src_file: values.yaml
7278
build_output: deployment.yaml
7379

74-
- path: examples/dt/nova/nova02beta/edpm-post-driver/deployment
80+
- name: edpm-post-driver-deployment
81+
path: examples/dt/nova/nova02beta/edpm-post-driver/deployment
7582
wait_conditions:
7683
- >-
7784
oc -n openstack wait
@@ -82,7 +89,8 @@ vas:
8289
src_file: values.yaml
8390
build_output: post-driver-deployment.yaml
8491

85-
- path: examples/dt/nova/nova02beta/edpm-deploy-provider/dataplaneservice
92+
- name: edpm-provider-dataplaneservice
93+
path: examples/dt/nova/nova02beta/edpm-deploy-provider/dataplaneservice
8694
wait_conditions:
8795
- >-
8896
oc -n default wait
@@ -93,7 +101,8 @@ vas:
93101
src_file: values.yaml
94102
build_output: provider-dataplaneservice.yaml
95103

96-
- path: examples/dt/nova/nova02beta/edpm-deploy-provider/deployment
104+
- name: edpm-provider-deployment
105+
path: examples/dt/nova/nova02beta/edpm-deploy-provider/deployment
97106
wait_conditions:
98107
- >-
99108
oc -n openstack wait

0 commit comments

Comments
 (0)