Skip to content

Commit 7e9d981

Browse files
Merge pull request #637 from tosky/uni09iota-adoption
Add automation variable definition for uni09iota adoption Basically a reduced version of uni09iota, followign the pattern already used for the other scenarios. Reviewed-by: Andrew Bays <[email protected]>
2 parents 3021fb6 + 4e28850 commit 7e9d981

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
vas:
3+
uni09iota-adoption:
4+
stages:
5+
- pre_stage_run:
6+
- name: Apply fc_card label on master-0
7+
type: cr
8+
definition:
9+
metadata:
10+
labels:
11+
fc_card: 'available'
12+
kind: Node
13+
resource_name: master-0
14+
state: patched
15+
name: nncp-configuration
16+
path: examples/dt/uni09iota/control-plane/networking/nncp
17+
wait_conditions:
18+
- >-
19+
oc -n openstack wait nncp
20+
-l osp/nncm-config-type=standard
21+
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured
22+
--timeout=5m
23+
values:
24+
- name: network-values
25+
src_file: values.yaml
26+
build_output: nncp.yaml
27+
28+
- name: network-configuration
29+
path: examples/dt/uni09iota/control-plane/networking
30+
wait_conditions:
31+
- >-
32+
oc -n metallb-system wait pod
33+
-l app=metallb -l component=speaker
34+
--for condition=Ready
35+
--timeout=5m
36+
values:
37+
- name: network-values
38+
src_file: nncp/values.yaml
39+
build_output: network.yaml

zuul.d/projects.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@
4040
- rhoso-architecture-validate-uni07eta
4141
- rhoso-architecture-validate-uni07eta-adoption
4242
- rhoso-architecture-validate-uni09iota
43+
- rhoso-architecture-validate-uni09iota-adoption
4344
github-gate:
4445
jobs: *id001

zuul.d/validations.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,3 +529,12 @@
529529
vars:
530530
cifmw_architecture_scenario: uni09iota
531531
cifmw_networking_env_def_file: automation/net-env/uni09iota.yaml
532+
- job:
533+
files:
534+
- examples/dt/uni09iota/control-plane/networking
535+
- examples/dt/uni09iota/control-plane/networking/nncp
536+
- lib
537+
name: rhoso-architecture-validate-uni09iota-adoption
538+
parent: rhoso-architecture-base-job
539+
vars:
540+
cifmw_architecture_scenario: uni09iota-adoption

0 commit comments

Comments
 (0)