|
26 | 26 | - name: "Check if the operators.operatorframework.io.bundle.channels.v1 from annotation.yaml matches the bundle image label" |
27 | 27 | fail: |
28 | 28 | msg: "The operators.operators.operatorframework.io.bundle.channels.v1 value in the annotations yaml doesn't match the corresponding bundle image label!" |
29 | | - when: > |
30 | | - - annotations_vars.annotations['operators.operatorframework.io.bundle.channels.v1'] |
31 | | - != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.channels.v1'] |
| 29 | + when: annotations_vars.annotations['operators.operatorframework.io.bundle.channels.v1'] != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.channels.v1'] |
32 | 30 |
|
33 | 31 | - name: "Check if the operators.operatorframework.io.bundle.manifests.v1 from annotation.yaml matches the bundle image label" |
34 | 32 | fail: |
35 | 33 | msg: "The operators.operators.operatorframework.io.bundle.manifests.v1 value in the annotations yaml doesn't match the corresponding bundle image label!" |
36 | | - when: > |
37 | | - - annotations_vars.annotations['operators.operatorframework.io.bundle.manifests.v1'] |
38 | | - != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.manifests.v1'] |
| 34 | + when: annotations_vars.annotations['operators.operatorframework.io.bundle.manifests.v1'] != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.manifests.v1'] |
39 | 35 |
|
40 | 36 | - name: "Check if the operators.operatorframework.io.bundle.mediatype.v1 from annotation.yaml matches the bundle image label" |
41 | 37 | fail: |
42 | 38 | msg: "The operators.operatorframework.io.bundle.mediatype.v1 value in the annotations yaml doesn't match the corresponding bundle image label!" |
43 | | - when: > |
44 | | - - annotations_vars.annotations['operators.operatorframework.io.bundle.mediatype.v1'] |
45 | | - != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.mediatype.v1'] |
| 39 | + when: annotations_vars.annotations['operators.operatorframework.io.bundle.mediatype.v1'] != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.mediatype.v1'] |
46 | 40 |
|
47 | 41 | - name: "Check if the operators.operatorframework.io.bundle.mediatype.v1 is set to the expected value" |
48 | 42 | fail: |
|
53 | 47 | - name: "Check if the operators.operatorframework.io.bundle.metadata.v1 from annotation.yaml matches the bundle image label" |
54 | 48 | fail: |
55 | 49 | msg: "The operators.operatorframework.io.bundle.metadata.v1 value in the annotations yaml doesn't match the corresponding bundle image label!!" |
56 | | - when: > |
57 | | - - annotations_vars.annotations['operators.operatorframework.io.bundle.metadata.v1'] |
58 | | - != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.metadata.v1'] |
| 50 | + when: annotations_vars.annotations['operators.operatorframework.io.bundle.metadata.v1'] != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.metadata.v1'] |
59 | 51 |
|
60 | 52 | - name: "Check if the operators.operatorframework.io.bundle.package.v1 from annotation.yaml matches the bundle image label" |
61 | 53 | fail: |
62 | 54 | msg: "The operators.operatorframework.io.bundle.package.v1 value in the annotations yaml doesn't match the corresponding bundle image label!" |
63 | | - when: > |
64 | | - - annotations_vars.annotations['operators.operatorframework.io.bundle.package.v1'] |
65 | | - != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.package.v1'] |
| 55 | + when: annotations_vars.annotations['operators.operatorframework.io.bundle.package.v1'] != skopeo_inspect_json.Labels['operators.operatorframework.io.bundle.package.v1'] |
0 commit comments