Commit 4a1192c
committed
[reproducer] Fix PreMetal handling of extra_variable_files
PreMetal provisions hosts from the main branch, generating
reproducer-variables.yml with base scenario vars. During the actual
Zuul job, overwrite_zuul_vars.yml only merges zuul_vars.yaml into
reproducer-variables.yml, ignoring extra_variable_files entirely.
Additionally, the slurp + copy-content pattern for transferring
reproducer-variables.yml triggers Jinja2 evaluation on the file
content, breaking when the bootstrap bakes raw templates into
nested structures.
Pass extra_variable_files as -e @<file> args to the deployment
scripts, and replace slurp + copy-content with fetch + copy-src
to transfer files as raw bytes without template evaluation.1 parent 21dbd39 commit 4a1192c
2 files changed
Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 25 | | |
33 | | - | |
| 26 | + | |
| 27 | + | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
| |||
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 45 | | |
58 | 46 | | |
59 | | - | |
| 47 | + | |
60 | 48 | | |
61 | 49 | | |
62 | 50 | | |
| |||
65 | 53 | | |
66 | 54 | | |
67 | 55 | | |
68 | | - | |
| 56 | + | |
69 | 57 | | |
70 | 58 | | |
71 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
0 commit comments