Commit e278c53
committed
Store ocp version into file
The previous solution used a script stdout to parse json output.
Unfortunately log messages produced by the script added new lines into
output and output was no longer valid json.
This commit stores the ocp version json into separate file and read
metadata from the file instead of from script stdout/stderr.
JIRA: ISV-28201 parent 74667bd commit e278c53
File tree
2 files changed
+16
-1
lines changed- ansible/roles/operator-pipeline/templates/openshift/tasks
- operator-pipeline-images/operatorcert/entrypoints
2 files changed
+16
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
0 commit comments