-
Notifications
You must be signed in to change notification settings - Fork 113
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
Fix Save repo-setup hash content task #1674
Conversation
Thanks for the PR! ❤️ |
/approve |
roles/repo_setup/tasks/artifacts.yml
Outdated
@@ -24,14 +24,14 @@ | |||
_repo_setup_json: "{{ _get_hash.stdout | from_json }}" | |||
block: | |||
- name: Dump full hash in delorean.repo.md5 file | |||
when: cifmw_repo_setup_component_promotion_tag is not defined | |||
when: cifmw_repo_setup_component_name | length <= 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Length of a list returning a negative value?
`Save repo-setup hash content` task dumps the proper dlrn md5 hash for component/intergration/check pipeline. Currently this task depends on cifmw_repo_setup_component_promotion_tag whose default value is defined in role defaults. In this case, this task is working wrongly. Let's use cifmw_repo_setup_component_name length as a param to dump the proper hash. Signed-off-by: Chandan Kumar <[email protected]>
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: arxcruz, pablintino The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
Save repo-setup hash content
task dumps the proper dlrn md5 hash for component/intergration/check pipeline.Currently this task depends on cifmw_repo_setup_component_promotion_tag whose default value is defined in role defaults.
In this case, this task is working wrongly. Let's use cifmw_repo_setup_component_name length as a param to dump the proper hash.
As a pull request owner and reviewers, I checked that: