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

feat(RELEASE-1245): make publish index image task idempotent #791

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

happybhati
Copy link
Contributor

@happybhati happybhati commented Jan 27, 2025

Describe your changes

Make publish-index-image task idempotent

Relevant Jira

RELEASE-1245

Checklist before requesting a review

  • I have marked as draft or added do not merge label if there's a dependency PR
    • If you want reviews on your draft PR, you can add reviewers or add the release-service-maintainers handle if you are unsure who to tag
  • My commit message includes Signed-off-by: My name <email>
  • I have bumped the task/pipeline version string and updated changelog in the relevant README
  • I read CONTRIBUTING.MD and commit formatting

Copy link

openshift-ci bot commented Jan 27, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@happybhati happybhati force-pushed the release1245 branch 28 times, most recently from 480e617 to 36b9367 Compare February 5, 2025 21:44
@happybhati happybhati force-pushed the release1245 branch 4 times, most recently from c3dd65b to 23e98e1 Compare February 5, 2025 22:13
@happybhati happybhati marked this pull request as ready for review February 5, 2025 22:17
@happybhati happybhati requested a review from a team as a code owner February 5, 2025 22:17
(skopeo copy \
--all \
--preserve-digests \
--retry-times "$(params.retries)" \
--src-tls-verify=false "${AUTH_PARAM[@]}" \
--src-tls-verify=false "${SOURCE_AUTH_ARGS[@]}" \
Copy link
Contributor

Choose a reason for hiding this comment

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

The --src-tls-verify=false is not great. I wonder if it's needed. Maybe it's because we can't verify registry-proxy properly? Would be good to find out and possibly get rid of this. But it's not really in scope of this change, so consider this optional.

What I do think is that we shouldn't need --tls-verify=false when checking the target image, so maybe at least remove it there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants