|
| 1 | +--- |
| 2 | +vas: |
| 3 | + bmo: |
| 4 | + stages: |
| 5 | + - path: examples/dt/bmo/control-plane/nncp |
| 6 | + wait_conditions: |
| 7 | + - >- |
| 8 | + oc -n openstack wait nncp |
| 9 | + -l osp/nncm-config-type=standard |
| 10 | + --for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured |
| 11 | + --timeout=5m |
| 12 | + values: |
| 13 | + - name: network-values |
| 14 | + src_file: values.yaml |
| 15 | + build_output: nncp.yaml |
| 16 | + |
| 17 | + - pre_stage_run: |
| 18 | + - name: Apply cinder-lvm label on master-0 |
| 19 | + type: cr |
| 20 | + definition: |
| 21 | + metadata: |
| 22 | + labels: |
| 23 | + openstack.org/cinder-lvm: "" |
| 24 | + kind: Node |
| 25 | + resource_name: master-0 |
| 26 | + state: patched |
| 27 | + path: examples/dt/bmo/control-plane |
| 28 | + wait_conditions: |
| 29 | + - >- |
| 30 | + oc -n openstack wait openstackcontrolplane |
| 31 | + controlplane |
| 32 | + --for condition=Ready |
| 33 | + --timeout=60m |
| 34 | + values: |
| 35 | + - name: network-values |
| 36 | + src_file: nncp/values.yaml |
| 37 | + - name: service-values |
| 38 | + src_file: service-values.yaml |
| 39 | + build_output: control-plane.yaml |
| 40 | + |
| 41 | + - pre_stage_run: |
| 42 | + - name: Patch Provisioning CR |
| 43 | + type: cr |
| 44 | + definition: |
| 45 | + spec: |
| 46 | + watchAllNamespaces: true |
| 47 | + virtualMediaViaExternalNetwork: true |
| 48 | + namespace: openshift-machine-api |
| 49 | + api_version: metal3.io/v1alpha1 |
| 50 | + kind: Provisioning |
| 51 | + resource_name: provisioning-configuration |
| 52 | + state: patched |
| 53 | + path: examples/dt/bmo/dataplane/baremetalhosts |
| 54 | + wait_conditions: |
| 55 | + - >- |
| 56 | + oc -n openstack wait baremetalhosts.metal3.io |
| 57 | + -l app=openstack |
| 58 | + --for jsonpath=status.provisioning.state=available |
| 59 | + --timeout=10m |
| 60 | + values: |
| 61 | + - name: baremetalhost-values |
| 62 | + src_file: values.yaml |
| 63 | + build_output: baremetalhosts.yaml |
| 64 | + |
| 65 | + - path: examples/dt/bmo/dataplane/secrets |
| 66 | + wait_conditions: |
| 67 | + - >- |
| 68 | + oc -n openstack wait secrets dataplane-ansible-ssh-private-key-secret |
| 69 | + --for jsonpath=metadata.uid |
| 70 | + - >- |
| 71 | + oc -n openstack wait secrets nova-migration-ssh-key |
| 72 | + --for jsonpath=metadata.uid |
| 73 | + values: |
| 74 | + - name: secret-values |
| 75 | + src_file: values.yaml |
| 76 | + build_output: dataplane-secrets.yaml |
| 77 | + |
| 78 | + - path: examples/dt/bmo/dataplane/nodesets |
| 79 | + wait_conditions: |
| 80 | + - >- |
| 81 | + oc -n openstack wait openstackdataplanenodesets |
| 82 | + nodeset-0 |
| 83 | + --for condition=NodeSetBaremetalProvisionReady |
| 84 | + --timeout=40m |
| 85 | + - >- |
| 86 | + oc -n openstack wait openstackdataplanenodesets |
| 87 | + nodeset-1 |
| 88 | + --for condition=NodeSetBaremetalProvisionReady |
| 89 | + --timeout=40m |
| 90 | + values: |
| 91 | + - name: nodeset-values |
| 92 | + src_file: values.yaml |
| 93 | + build_output: dataplane-nodesets.yaml |
| 94 | + |
| 95 | + - path: examples/dt/bmo/dataplane |
| 96 | + wait_conditions: |
| 97 | + - >- |
| 98 | + oc -n openstack wait openstackdataplanedeployment |
| 99 | + edpm-deployment |
| 100 | + --for condition=Ready |
| 101 | + --timeout=40m |
| 102 | + values: |
| 103 | + - name: deployment-values |
| 104 | + src_file: values.yaml |
| 105 | + build_output: edpm.yaml |
0 commit comments