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

Fix Save repo-setup hash content task #1674

Merged
merged 1 commit into from
May 10, 2024
Merged

Conversation

raukadah
Copy link
Contributor

@raukadah raukadah commented May 10, 2024

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:

  • Appropriate testing is done and actually running

@openshift-ci openshift-ci bot requested review from bshewale and cescgina May 10, 2024 08:53
@github-actions github-actions bot marked this pull request as draft May 10, 2024 08:53
Copy link

Thanks for the PR! ❤️
I am marking it as a draft, once passing your happy and the PR is passing CI click the "Ready for review" button below.

@raukadah raukadah marked this pull request as ready for review May 10, 2024 08:53
@openshift-ci openshift-ci bot requested review from rachael-george and rlandy May 10, 2024 08:53
@arxcruz
Copy link
Contributor

arxcruz commented May 10, 2024

/approve
/lgtm

@@ -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
Copy link
Collaborator

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]>
@openshift-ci openshift-ci bot removed the lgtm label May 10, 2024
@rlandy
Copy link
Collaborator

rlandy commented May 10, 2024

/lgtm

@pablintino
Copy link
Collaborator

/approve

Copy link
Contributor

openshift-ci bot commented May 10, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@frenzyfriday
Copy link
Collaborator

/lgtm

@openshift-merge-bot openshift-merge-bot bot merged commit 8960d90 into main May 10, 2024
5 checks passed
@openshift-merge-bot openshift-merge-bot bot deleted the fix_repo_setup branch May 10, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants