-
Notifications
You must be signed in to change notification settings - Fork 12
/
.kitchen.yml
147 lines (137 loc) · 3.89 KB
/
.kitchen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
driver:
name: vagrant
customize:
cpus: 2
memory: 1536
audio: none # https://github.com/hashicorp/vagrant/issues/9524#issuecomment-389084986
provisioner:
name: chef_zero
product_name: chef
product_version: 13.10.4
environments_path: test/environments
roles_path: test/roles
client_rb:
solo: false
verifier:
name: inspec
platforms:
- name: centos-7.4
driver:
vm_hostname: origin-centos-74
openshift3-shared-attributes: &SHARED
# uncomment to use experimental CentOS PaaS repository for integration tests
#yum_repositories:
# - name: "centos-openshift-origin"
# baseurl: "http://buildlogs.centos.org/centos/7/paas/x86_64/openshift-origin/"
# gpgcheck: false
# attention: if using http proxies, make sure that '10.0.2.15.nip.io' is whitelisted in $no_proxy!
openshift_common_public_hostname: openshift.10.0.2.15.nip.io
openshift_common_api_hostname: 10.0.2.15.nip.io
openshift_master_router_subdomain: cloudapps.10.0.2.15.nip.io
openshift_master_metrics_public_url: metrics.10.0.2.15.nip.io
openshift_common_default_nodeSelector: region=infra
docker_log_driver: journald
persistent_storage:
- name: testpv
capacity: 100Mi
access_modes: ReadOnlyMany
path: /srv/testpv
server: 10.0.2.15
claim:
namespace: default
- name: registry-storage
capacity: 100Mi
access_modes: ReadWriteMany
path: /srv/registry-storage
server: 10.0.2.15
claim:
namespace: default
registry_persistent_volume: registry-storage
openshift_hosted_router_options: '--stats-password=xyzzy'
openshift_hosted_metrics_parameters:
HAWKULAR_METRICS_HOSTNAME: metrics.10.0.2.15.nip.io
METRIC_DURATION: "30"
IMAGE_VERSION: "latest" # broken, override in role with explicit version.
USE_PERSISTENT_STORAGE: "false"
master_servers: &SERVERS
- ipaddress: 10.0.2.15
fqdn: origin-centos-74
labels: region=infra custom=label
schedulable: false
node_servers: *SERVERS
suites:
- name: cluster-native-ose39
run_list:
- role[openshift3-base-ose39]
verifier:
inspec_tests:
- test/inspec/cluster-native
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: true
openshift_cluster_name: test-cluster.domain.local
etcd_servers: *SERVERS
- name: cluster-native-ose37
run_list:
- role[openshift3-base-ose37]
verifier:
inspec_tests:
- test/inspec/cluster-native
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: true
openshift_cluster_name: test-cluster.domain.local
etcd_servers: *SERVERS
- name: standalone-ose36
run_list:
- role[openshift3-base-ose36]
verifier:
inspec_tests:
- test/inspec/standalone
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: false
- name: cluster-native-ose36
run_list:
- role[openshift3-base-ose36]
verifier:
inspec_tests:
- test/inspec/cluster-native
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: true
openshift_cluster_name: test-cluster.domain.local
etcd_servers: *SERVERS
- name: standalone-ose15
run_list:
- role[openshift3-base-ose15]
verifier:
inspec_tests:
- test/inspec/standalone
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: false
- name: cluster-native-ose15
run_list:
- role[openshift3-base-ose15]
verifier:
inspec_tests:
- test/inspec/cluster-native
- test/inspec/shared
attributes:
cookbook-openshift3:
<< : *SHARED
openshift_HA: true
openshift_cluster_name: test-cluster.domain.local
etcd_servers: *SERVERS