Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move automation default vars into seperate scenario files #375

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions automation/vars/hci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
vas:
hci:
stages:
- path: examples/va/hci/control-plane/nncp
wait_conditions:
- >-
oc -n openstack wait nncp
-l osp/nncm-config-type=standard
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
--timeout=5m
values:
- name: network-values
src_file: values.yaml
build_output: nncp.yaml

- path: examples/va/hci/control-plane
wait_conditions:
- >-
oc -n openstack wait osctlplane controlplane --for condition=Ready
--timeout=60m
values:
- name: service-values
src_file: service-values.yaml
- name: network-values
src_file: nncp/values.yaml
build_output: ../control-plane.yaml

- path: examples/va/hci/edpm-pre-ceph/nodeset
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=10m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: nodeset-pre-ceph.yaml

- path: examples/va/hci/edpm-pre-ceph/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=30m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: deployment-pre-ceph.yaml
post_stage_run:
- name: Deploy Ceph
type: playbook
source: "../../playbooks/ceph.yml"
inventory: "${HOME}/ci-framework-data/artifacts/zuul_inventory.yml"

- path: examples/va/hci
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=10m
values:
- name: service-values
src_file: service-values.yaml
- name: edpm-nodeset-values-post-ceph
src_file: values.yaml
build_output: nodeset-post-ceph.yaml

- path: examples/va/hci/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=40m
values:
- name: edpm-deployment-values-post-ceph
src_file: values.yaml
build_output: deployment-post-ceph.yaml
78 changes: 78 additions & 0 deletions automation/vars/nfv-ovs-dpdk-sriov-hci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
vas:
nfv-ovs-dpdk-sriov-hci:
stages:
- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane/nncp
wait_conditions:
- >-
oc -n openstack wait nncp
-l osp/nncm-config-type=standard
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
--timeout=5m
values:
- name: network-values
src_file: values.yaml
build_output: nncp.yaml

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/control-plane
wait_conditions:
- >-
oc -n openstack wait osctlplane controlplane --for condition=Ready
--timeout=60m
values:
- name: service-values
src_file: service-values.yaml
- name: network-values
src_file: nncp/values.yaml
build_output: ../control-plane.yaml

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/nodeset
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=60m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: nodeset-pre-ceph.yaml

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/edpm-pre-ceph/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: deployment-pre-ceph.yaml
post_stage_run:
- name: Deploy Ceph
type: playbook
source: "../../playbooks/ceph.yml"
inventory: "${HOME}/ci-framework-data/artifacts/zuul_inventory.yml"

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=60m
values:
- name: service-values
src_file: service-values.yaml
- name: edpm-nodeset-values-post-ceph
src_file: values.yaml
build_output: nodeset-post-ceph.yaml

- path: examples/dt/nfv/nfv-ovs-dpdk-sriov-hci/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
values:
- name: edpm-deployment-values-post-ceph
src_file: values.yaml
build_output: deployment-post-ceph.yaml
49 changes: 49 additions & 0 deletions automation/vars/ovs-dpdk-sriov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
vas:
ovs-dpdk-sriov:
stages:
- path: examples/va/nfv/ovs-dpdk-sriov/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/va/nfv/ovs-dpdk-sriov
wait_conditions:
- >-
oc -n openstack wait osctlplane controlplane --for condition=Ready
--timeout=1200s
values:
- name: network-values
src_file: nncp/values.yaml
- name: service-values
src_file: service-values.yaml
build_output: control-plane.yaml

- path: examples/va/nfv/ovs-dpdk-sriov/edpm/nodeset
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=60m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: nodeset.yaml

- path: examples/va/nfv/ovs-dpdk-sriov/edpm/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: deployment.yaml
49 changes: 49 additions & 0 deletions automation/vars/ovs-dpdk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
vas:
ovs-dpdk:
stages:
- path: examples/va/nfv/ovs-dpdk/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/va/nfv/ovs-dpdk
wait_conditions:
- >-
oc -n openstack wait osctlplane controlplane --for condition=Ready
--timeout=600s
values:
- name: network-values
src_file: nncp/values.yaml
- name: service-values
src_file: service-values.yaml
build_output: control-plane.yaml

- path: examples/va/nfv/ovs-dpdk/edpm/nodeset
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=60m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: nodeset.yaml

- path: examples/va/nfv/ovs-dpdk/edpm/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: deployment.yaml
49 changes: 49 additions & 0 deletions automation/vars/sriov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
vas:
sriov:
stages:
- path: examples/va/nfv/sriov/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/va/nfv/sriov
wait_conditions:
- >-
oc -n openstack wait osctlplane controlplane --for condition=Ready
--timeout=600s
values:
- name: network-values
src_file: nncp/values.yaml
- name: service-values
src_file: service-values.yaml
build_output: control-plane.yaml

- path: examples/va/nfv/sriov/edpm/nodeset
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=SetupReady
--timeout=60m
values:
- name: edpm-nodeset-values
src_file: values.yaml
build_output: nodeset.yaml

- path: examples/va/nfv/sriov/edpm/deployment
wait_conditions:
- >-
oc -n openstack wait
osdpns openstack-edpm --for condition=Ready
--timeout=60m
values:
- name: edpm-deployment-values
src_file: values.yaml
build_output: deployment.yaml
5 changes: 5 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
- rhoso-architecture-validate-bgp
- rhoso-architecture-validate-bgp_dt01
- rhoso-architecture-validate-hci
- rhoso-architecture-validate-hci
- rhoso-architecture-validate-nfv-ovs-dpdk-sriov-hci
- rhoso-architecture-validate-nfv-ovs-dpdk-sriov-hci
- rhoso-architecture-validate-osasinfra
- rhoso-architecture-validate-ovs-dpdk
- rhoso-architecture-validate-ovs-dpdk
- rhoso-architecture-validate-ovs-dpdk-sriov
- rhoso-architecture-validate-ovs-dpdk-sriov
- rhoso-architecture-validate-pidone
- rhoso-architecture-validate-sriov
- rhoso-architecture-validate-sriov
- rhoso-architecture-validate-uni01alpha
- rhoso-architecture-validate-uni02beta
- rhoso-architecture-validate-uni04delta
Expand Down
Loading