-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move automation default vars into seperate scenario files
#374 adds the trigger job which will run different Baremetal VA jobs downstream on different architecture file changes. Currently automation/vars/default.yaml contains different multiple scenarios, stored in a single file. Trigger job may run unwanted jobs downstream without testing the proper architecture changes. By moving automations vars into different scenario files allow us to run selective trigger job and test the proper prs. Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
- Loading branch information
Showing
7 changed files
with
308 additions
and
299 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,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 |
Oops, something went wrong.