forked from openstack-k8s-operators/architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It backports following patches: openstack-k8s-operators#375 - Move automation default vars into seperate scenario files openstack-k8s-operators#383 - Drop default.yaml file openstack-k8s-operators#379 - Ensure we have one scenario per automation file openstack-k8s-operators#384 - Move bgp_dt01 into its own automation file Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
- Loading branch information
Showing
10 changed files
with
386 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
vas: | ||
bgp_dt01: | ||
stages: | ||
- pre_stage_run: | ||
- name: Apply taint on worker-3 | ||
type: cr | ||
definition: | ||
spec: | ||
taints: | ||
- effect: NoSchedule | ||
key: testOperator | ||
value: 'true' | ||
- effect: NoExecute | ||
key: testOperator | ||
value: 'true' | ||
kind: Node | ||
resource_name: worker-3 | ||
state: patched | ||
path: examples/dt/bgp/bgp_dt01/control-plane/nncp | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait nncp | ||
-l osp/nncm-config-type=standard | ||
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured | ||
--timeout=60s | ||
values: | ||
- name: network-values | ||
src_file: values.yaml | ||
build_output: nncp.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/control-plane | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackcontrolplane | ||
controlplane | ||
--for condition=Ready | ||
--timeout=30m | ||
values: | ||
- name: network-values | ||
src_file: nncp/values.yaml | ||
- name: service-values | ||
src_file: service-values.yaml | ||
build_output: control-plane.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/edpm/networkers | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanenodeset | ||
networker-nodes | ||
--for condition=SetupReady | ||
--timeout=600s | ||
values: | ||
- name: edpm-networker-nodeset-values | ||
src_file: values.yaml | ||
build_output: edpm-networker-nodeset.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/edpm/computes | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanenodeset | ||
compute-nodes | ||
--for condition=SetupReady | ||
--timeout=600s | ||
values: | ||
- name: edpm-compute-nodeset-values | ||
src_file: values.yaml | ||
build_output: edpm-compute-nodeset.yaml | ||
|
||
- path: examples/dt/bgp/bgp_dt01/edpm/deployment | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanedeployment | ||
edpm-deployment | ||
--for condition=Ready | ||
--timeout=3800s | ||
values: | ||
- name: edpm-deployment-values | ||
src_file: values.yaml | ||
build_output: edpm-deployment.yaml |
Oops, something went wrong.