Commit 3f2f01c
committed
ci-operator/config/openshift/installer/master: Move to openshift-install
openshift-install is he next-gen installer. With the new installer,
we only need the installer binary and terraform to launch and destroy
clusters. I've removed the smoke tests for now, because I haven't
looked into building them without Bazel. Hopefully we'll get expanded
e2e testing *and* other OpenShift projects using our installer soon to
keep us honest.
Also missing from the new installer is a way to set expirationDate.
But we'll just not leak until we regain the ability to set that,
right? ;)
The new installer dumps less cruft into the output directory (most of
the generated output goes into a temporary directory), so I've
adjusted the openshift-install calls to just use an artifacts subdir
for their state storage. A bonus of this approach is that if the
installer hangs up, we'll capture anything it wrote to disk without
needing an explicit cp call. A drawback is that we'll leak any
secrets that get put into the kubeconfig, so don't put anything in
there that needs to stay private after the cluster is reaped.
Using the base image for the installer's 'from' is quite a bit
different from openshift/installer@29e4d10e (origin/pr/343)
images/installer: Rewrite tectonic-installer for openshift-install,
2018-09-26, openshift/installer#343), where the Dockerfile is 'FROM
scratch'. Including the OpenShift base currently adds ~230 MB to the
installer layer's 110 MB for the two binaries, although both of those
are uncompressed sizes. Gzipping layers reduces the sizes to around
84 MB and 26 MB respectively. So the added base cruft is not huge,
but it's still hefty.
The upside of using the base image is that we have a standard
POSIX-ish system for executing the cleanup script. To demonstrate the
'FROM scratch' approach, I've adjusted the setup container to call the
installer directly (with no wrapping shell script). And to support
that, I've shifted some waiting code over into the test container
(which also saves us from having to copy 'oc' around).
I've also dropped the 3.11 config, since the installer is 4.0-only.1 parent 592a572 commit 3f2f01c
File tree
9 files changed
+72
-885
lines changed- ci-operator
- config/openshift/installer
- jobs/openshift/installer
- templates
- cluster/test-deploy/aws
9 files changed
+72
-885
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 7 | | |
14 | 8 | | |
15 | | - | |
| 9 | + | |
16 | 10 | | |
17 | 11 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 12 | | |
23 | 13 | | |
24 | 14 | | |
25 | 15 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 16 | | |
43 | 17 | | |
44 | 18 | | |
| |||
47 | 21 | | |
48 | 22 | | |
49 | 23 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 24 | | |
58 | 25 | | |
59 | 26 | | |
| |||
75 | 42 | | |
76 | 43 | | |
77 | 44 | | |
78 | | - | |
| 45 | + | |
79 | 46 | | |
80 | 47 | | |
81 | 48 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 82 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 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 | 3 | | |
29 | 4 | | |
30 | 5 | | |
| |||
145 | 120 | | |
146 | 121 | | |
147 | 122 | | |
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 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 123 | | |
206 | 124 | | |
207 | 125 | | |
| |||
0 commit comments