Skip to content

Commit 60a0c91

Browse files
Merge pull request #420 from cescgina/adoption_va
[POC] Add an adoption VA to setup networking Create an adoption VA the will be used to install the operators, and setup nncp and netconfig. The idea is that this VA will be shared between all the different adoption uni-jobs. Reviewed-by: Andrew Bays <[email protected]> Reviewed-by: John Fulton <[email protected]>
2 parents 652e706 + 343f01d commit 60a0c91

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

automation/vars/hci-adoption.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
vas:
3+
hci-adoption:
4+
stages:
5+
- path: examples/va/hci/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+
- path: examples/va/hci/control-plane
18+
wait_conditions:
19+
- >-
20+
oc -n openstack wait nncp
21+
-l osp/nncm-config-type=standard
22+
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
23+
--timeout=5m
24+
values:
25+
- name: network-values
26+
src_file: nncp/values.yaml
27+
build_output: networking.yaml

zuul.d/projects.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- rhoso-architecture-validate-bmo01
88
- rhoso-architecture-validate-dcn
99
- rhoso-architecture-validate-hci
10+
- rhoso-architecture-validate-hci-adoption
1011
- rhoso-architecture-validate-nfv-ovs-dpdk-sriov-hci
1112
- rhoso-architecture-validate-osasinfra
1213
- rhoso-architecture-validate-ovs-dpdk

zuul.d/validations.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
parent: rhoso-architecture-base-job
6969
vars:
7070
cifmw_architecture_scenario: hci
71+
- job:
72+
files:
73+
- examples/va/hci/control-plane
74+
- examples/va/hci/control-plane/nncp
75+
- lib
76+
name: rhoso-architecture-validate-hci-adoption
77+
parent: rhoso-architecture-base-job
78+
vars:
79+
cifmw_architecture_scenario: hci-adoption
7180
- job:
7281
files:
7382
- automation/mocks/nfv-ovs-dpdk-sriov-hci.yaml

0 commit comments

Comments
 (0)