You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example of using `--migrate-level` parameter with `run-opm-command`.
47
+
First, you need to create a parameter under `spec.params`:
48
+
```yaml
49
+
params:
50
+
name: opm-args
51
+
description: Additional OPM arguments (e.g., ["--migrate-level=bundle-object-to-csv-metadata"] for v4.17+)
52
+
type: array
53
+
default: []
54
+
```
55
+
56
+
This parameter can then be used in `OPM_ARGS` as follows:
57
+
```yaml
58
+
59
+
- name: OPM_ARGS
60
+
value:
61
+
- alpha
62
+
- render-template
63
+
- basic
64
+
- catalog/$(params.catalog).yaml
65
+
- $(params.opm-args[*])
44
66
```
45
67
46
68
**Description of variables:**
@@ -49,7 +71,7 @@ Example for OCP >= v4.17:
49
71
- `OPM_OUTPUT_PATH`: The path where the output from `opm` will be stored (i.e., where `catalog.json` will be saved).
50
72
- Note: This task supports only the JSON format for catalog generation.
51
73
- `IDMS_PATH`: The path to the ImageDigestMirrorSet file in YAML format.
52
-
- `FILE_TO_UPDATE_PULLSPEC`: Relative path to a file (e.g., catalog-template.yml) in which pullspecs should be updated.
74
+
- `FILE_TO_UPDATE_PULLSPEC`: Relative path to a file (e.g., `catalog.json`) in which pullspecs should be updated.
53
75
54
76
Examples of complete `fbc-builder` pipeline configurations can be found in [PR#132](https://github.com/konflux-ci/olm-operator-konflux-sample/pull/132):
0 commit comments