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
When I submit bundle on X the CI pipeline fails with the following error:
TASK [build_operator_version_bundle : Check alm-examples] **********************
fatal: [localhost]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: Unable to look up a name or access an attribute in template string ({{ operator_vars.metadata.annotations['alm-examples'] | from_json }}).
Make sure your variable name does not contain invalid characters like '-': the JSON object must be str, bytes or bytearray, not AnsibleUndefined
The error appears to be in '/playbooks/upstream/roles/build_operator_version_bundle/tasks/main.yml': line 37, column 11, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
block:
- name: "Check alm-examples"
^ here
...ignoring
TASK [build_operator_version_bundle : Fail when 'alm-examples' is not valid json object] ***
fatal: [localhost]: FAILED! => changed=false
msg: 'Error: [cert-manager/1.6.1] Value ''metadata.annotations.alm-examples'' in CSV is not valid json object.'
When I submit bundle on X the CI pipeline fails with the following error:
It looks like OperatorSDK 1.17.0 introduced a new stricter validation checkWe should update our build scripts to use that version of OperatorSDK and fix the alm-examples
The text was updated successfully, but these errors were encountered: