Skip to content

Fix release 2237#2296

Draft
theflockers wants to merge 2 commits into
konflux-ci:developmentfrom
theflockers:fix-release-2237
Draft

Fix release 2237#2296
theflockers wants to merge 2 commits into
konflux-ci:developmentfrom
theflockers:fix-release-2237

Conversation

@theflockers

Copy link
Copy Markdown
Contributor

Describe your changes

Relevant Jira

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 read CONTRIBUTING.MD and commit formatting
  • I have run the README.md generator script in .github/scripts/readme_generator.sh and verified the results using .github/scripts/check_readme.sh
  • If an AI agent was used, I marked that via a commit footer like Assisted-By: Cursor

this PR adds checks to make sure the version of the image to be
published matches with the intended one, using two methods:

- checks if the source index verson matches the ocpTargetVersion
  (for all builds - regular, pre-GA and hotfix);
- checks if the sourceIndex and targetIndex matches (regular builds)

Signed-off-by: Leandro Mendes <lmendes@redhat.com>
this is a small fix required for getIndexVersion function
in the internal task publish-index-image to make it
more intuitive
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.

1 participant