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 userspace convertor output tagging on manifest dedup #312

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

Conversation

estebanreyl
Copy link
Member

This PR fixes deduplicated manifests not accounting for possible adjustments to output tag. It also includes unit tests as well as updates to the validation scripts that help test such scenarios in a local environment. I was able to validate the change with my own registry as well. Thanks to @fourierrr for their earlier pr and opening the issue.

What this PR does / why we need it: This is a bugfix to address the scenario where a user wants to convert a previously converted image but expects a different output tag than the original. Without this change the user's converted image may end up being untagged or at least not referenced by the expected tag.

Fixes #310

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Deduplicated manifests now account for possible adjustments to output
tag. Updated tests and test resources to account for this scenario.

Signed-off-by: Esteban <[email protected]>
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.

new output tag can not be uploaded if a cache was found in the database during the dup transformation process
1 participant