Skip to content

Commit

Permalink
Merge pull request #119 from redhat-operator-ecosystem/CVP_1610
Browse files Browse the repository at this point in the history
[CVP-1610] Fix Operator metadata parsing role which doesn't account for quotes in CSV name
  • Loading branch information
samvarankashyap authored Feb 2, 2021
2 parents 6c3531f + 99d4b48 commit 8e128d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/parse_operator_metadata/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
register: kind_custerserviceversion_file_paths

- name: "Grep paths with current_csv ClusterServiceVersion"
shell: "grep -l 'name: {{ current_csv }}' {{ item.path }}"
shell: "grep -lE \"name: '{{ current_csv }}'|name: {{ current_csv }}\" {{ item.path }}"
with_items: "{{ kind_custerserviceversion_file_paths['files'] }}"
register: grep_output_current_csv
ignore_errors: true
Expand Down

0 comments on commit 8e128d4

Please sign in to comment.