-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
209 lines (197 loc) · 6.83 KB
/
.travis.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
dist: bionic
os: linux
language: python
python:
- "3.6"
env:
global:
- RELEASE_BRANCH=release-0.0.7
if: |
branch in (master, env(RELEASE_BRANCH)) AND \
fork = false AND \
type = push
jobs:
include:
- stage: build
name: operator-and-bundles
env:
- ENVIRONMENT=ci
- OPERATOR_SDK_VERSION=v0.17.0
before_install:
- build/scripts/build/deps-install
script:
- build/scripts/build/build
- build/scripts/build/login
- build/scripts/build/push
- stage: test-k8s
name: k8s_v1.14.0-olm_0.13.0-minikube_v1.9.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=k8s
- MINIKUBE_VERSION=v1.9.2
- MINUKUBE_DRIVER=docker
- KUBERNETES_VERSION=v1.14.0
- OLM_VERSION=0.13.0
- MEMORY=6144
before_install:
- build/scripts/test/k8s/deps-install
install:
- build/scripts/test/k8s/minikube-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/operator-olm-uninstall
- build/scripts/test/k8s/operator-manual-install
- build/scripts/test/k8s/operator-manual-uninstall
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/argocd-install
- build/scripts/test/k8s/argocd-uninstall
- build/scripts/test/k8s/operator-olm-uninstall
after_script:
- build/scripts/test/k8s/minikube-stop
- build/scripts/test/k8s/minikube-delete
- stage: test-k8s
name: k8s_v1.16.3-olm_0.14.1-minikube_v1.9.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=k8s
- MINIKUBE_VERSION=v1.9.2
- MINUKUBE_DRIVER=docker
- KUBERNETES_VERSION=v1.16.3
- OLM_VERSION=0.14.1
- MEMORY=6144
before_install:
- build/scripts/test/k8s/deps-install
install:
- build/scripts/test/k8s/minikube-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/operator-olm-uninstall
- build/scripts/test/k8s/operator-manual-install
- build/scripts/test/k8s/operator-manual-uninstall
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/argocd-install
- build/scripts/test/k8s/argocd-uninstall
- build/scripts/test/k8s/operator-olm-uninstall
after_script:
- build/scripts/test/k8s/minikube-stop
- build/scripts/test/k8s/minikube-delete
- name: k8s_v1.17.0-olm_0.14.1-minikube_v1.9.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=k8s
- MINIKUBE_VERSION=v1.9.2
- MINUKUBE_DRIVER=docker
- KUBERNETES_VERSION=v1.17.0
- OLM_VERSION=0.14.1
- MEMORY=6144
before_install:
- build/scripts/test/k8s/deps-install
install:
- build/scripts/test/k8s/minikube-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/operator-olm-uninstall
- build/scripts/test/k8s/operator-manual-install
- build/scripts/test/k8s/operator-manual-uninstall
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/argocd-install
- build/scripts/test/k8s/argocd-uninstall
- build/scripts/test/k8s/operator-olm-uninstall
after_script:
- build/scripts/test/k8s/minikube-stop
- build/scripts/test/k8s/minikube-delete
- name: k8s_v1.18.0-olm_0.14.1-minikube_v1.9.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=k8s
- MINIKUBE_VERSION=v1.9.2
- MINUKUBE_DRIVER=docker
- KUBERNETES_VERSION=v1.18.0
- OLM_VERSION=0.14.1
- MEMORY=6144
before_install:
- build/scripts/test/k8s/deps-install
install:
- build/scripts/test/k8s/minikube-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/operator-olm-uninstall
- build/scripts/test/k8s/operator-manual-install
- build/scripts/test/k8s/operator-manual-uninstall
- build/scripts/test/k8s/operator-olm-install
- build/scripts/test/k8s/argocd-install
- build/scripts/test/k8s/argocd-uninstall
- build/scripts/test/k8s/operator-olm-uninstall
after_script:
- build/scripts/test/k8s/minikube-stop
- build/scripts/test/k8s/minikube-delete
- stage: test-ocp3
name: ocp3_3.11.0-olm_0.13.0-minishift_1.34.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=ocp3
- MINISHIFT_VERSION=1.34.2
- OLM_VERSION=0.13.0
- MEMORY=7200
before_install:
- build/scripts/test/ocp3/deps-install
install:
- build/scripts/test/ocp3/minishift-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/ocp/operator-olm-install
- build/scripts/test/ocp/operator-olm-uninstall
- build/scripts/test/ocp/operator-manual-install
- build/scripts/test/ocp/operator-manual-uninstall
- build/scripts/test/ocp/operator-manual-install
- build/scripts/test/ocp/argocd-install
- build/scripts/test/ocp/argocd-uninstall
- build/scripts/test/ocp/argocd-oauth-install
- build/scripts/test/ocp/argocd-uninstall
- build/scripts/test/ocp/operator-manual-uninstall
after_script:
- build/scripts/test/ocp3/minishift-stop
- build/scripts/test/ocp3/minishift-delete
- stage: test-ocp3
name: ocp3_3.11.0-olm_0.14.1-minishift_1.34.2
env:
- ENVIRONMENT=ci
- DISTRIBUTION=ocp3
- MINISHIFT_VERSION=1.34.2
- OLM_VERSION=0.14.1
- MEMORY=7200
before_install:
- build/scripts/test/ocp3/deps-install
install:
- build/scripts/test/ocp3/minishift-start
before_script:
- build/scripts/test/common/olm-install
script:
- build/scripts/build/generate
- build/scripts/test/ocp/operator-olm-install
- build/scripts/test/ocp/operator-olm-uninstall
- build/scripts/test/ocp/operator-manual-install
- build/scripts/test/ocp/operator-manual-uninstall
- build/scripts/test/ocp/operator-manual-install
- build/scripts/test/ocp/argocd-install
- build/scripts/test/ocp/argocd-uninstall
- build/scripts/test/ocp/argocd-oauth-install
- build/scripts/test/ocp/argocd-uninstall
- build/scripts/test/ocp/operator-manual-uninstall
after_script:
- build/scripts/test/ocp3/minishift-stop
- build/scripts/test/ocp3/minishift-delete