Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#420 from cescgina/adoption_va
Browse files Browse the repository at this point in the history
[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]>
  • Loading branch information
softwarefactory-project-zuul[bot] authored Oct 30, 2024
2 parents 652e706 + 343f01d commit 60a0c91
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
27 changes: 27 additions & 0 deletions automation/vars/hci-adoption.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
vas:
hci-adoption:
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 nncp
-l osp/nncm-config-type=standard
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
--timeout=5m
values:
- name: network-values
src_file: nncp/values.yaml
build_output: networking.yaml
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- rhoso-architecture-validate-bmo01
- rhoso-architecture-validate-dcn
- rhoso-architecture-validate-hci
- rhoso-architecture-validate-hci-adoption
- rhoso-architecture-validate-nfv-ovs-dpdk-sriov-hci
- rhoso-architecture-validate-osasinfra
- rhoso-architecture-validate-ovs-dpdk
Expand Down
9 changes: 9 additions & 0 deletions zuul.d/validations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@
parent: rhoso-architecture-base-job
vars:
cifmw_architecture_scenario: hci
- job:
files:
- examples/va/hci/control-plane
- examples/va/hci/control-plane/nncp
- lib
name: rhoso-architecture-validate-hci-adoption
parent: rhoso-architecture-base-job
vars:
cifmw_architecture_scenario: hci-adoption
- job:
files:
- automation/mocks/nfv-ovs-dpdk-sriov-hci.yaml
Expand Down

0 comments on commit 60a0c91

Please sign in to comment.