Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repoclosure_check_repos is a list, so let's pass it as one #370

Merged
merged 1 commit into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion obal/data/playbooks/repoclosure/metadata.obal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ help: |
Repoclosure ensures that all dependencies are met and all packages are installable.
variables:
repoclosure_check_repos:
store: append
action: append
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, this explains why it never failed in CI before ;-)

parameter: --check
help: Link to a repository to target for repoclosure
repoclosure_target_dist:
Expand Down
3 changes: 1 addition & 2 deletions obal/data/roles/repoclosure/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

- name: Run repoclosure for a target repo
include_tasks: repoclosure.yml
loop:
- "{{ repoclosure_check_repos }}"
loop: "{{ repoclosure_check_repos }}"
loop_control:
loop_var: repo_url
index_var: index
Expand Down