Repository navigation
Commit 531138c
committed
refactor(test-runner): provide Keycloak from a tmachine environment
Declare Keycloak as part of a tmachine environment instead of a service
the runner starts after boot. ubuntu-docker-rootful-keycloak's setup runs
Keycloak with a restart policy and writes its OPENSHELL_TEST_* variables,
so the image is cached with the disk. The runner no longer knows about
services: it passes every /etc/openshell-test/env.d/*.env variable to the
tests. Environment setup can now take inputs, for the realm file, and the
Keycloak fixture waits for the realm to answer after boot.
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>1 parent 3a75dcb commit 531138c
14 files changed
Lines changed: 241 additions & 235 deletions
File tree
- tests
- environments
- plans
- runner/src
- suites/features/keycloak
- src
- tests
- tmachine
- ansible
- playbooks
- roles/keycloak/tasks
- src
- qemu
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| |||
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | | - | |
51 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
265 | | - | |
| 264 | + | |
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
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 | 86 | | |
111 | 87 | | |
112 | 88 | | |
| |||
119 | 95 | | |
120 | 96 | | |
121 | 97 | | |
122 | | - | |
| 98 | + | |
123 | 99 | | |
124 | 100 | | |
125 | 101 | | |
| |||
176 | 152 | | |
177 | 153 | | |
178 | 154 | | |
179 | | - | |
180 | | - | |
| 155 | + | |
| 156 | + | |
181 | 157 | | |
182 | 158 | | |
183 | 159 | | |
184 | 160 | | |
185 | 161 | | |
186 | | - | |
| 162 | + | |
187 | 163 | | |
188 | 164 | | |
189 | 165 | | |
| |||
236 | 212 | | |
237 | 213 | | |
238 | 214 | | |
239 | | - | |
240 | 215 | | |
241 | 216 | | |
242 | 217 | | |
| |||
258 | 233 | | |
259 | 234 | | |
260 | 235 | | |
261 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
262 | 240 | | |
263 | 241 | | |
264 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
This file was deleted.
0 commit comments