Skip to content

ROX-28973: update image tagging and expiration in Konflux#15429

Merged
msugakov merged 16 commits intomasterfrom
tm/konflux-update-image-tagging-expiration-logic
May 28, 2025
Merged

ROX-28973: update image tagging and expiration in Konflux#15429
msugakov merged 16 commits intomasterfrom
tm/konflux-update-image-tagging-expiration-logic

Conversation

@tommartensen
Copy link
Contributor

@tommartensen tommartensen commented May 26, 2025

Description

Per title. This is a manual update, because of the changes to the interface of determine-image-expiration.

TODO:

  • update to real task ref bundle digest

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Passing Konflux pipelines and validation in stackrox/konflux-tasks#58

@openshift-ci
Copy link

openshift-ci bot commented May 26, 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

@github-actions github-actions bot added the konflux-build Run Konflux in PR. Push commit to trigger it. label May 26, 2025
@rhacs-bot
Copy link
Contributor

rhacs-bot commented May 26, 2025

Images are ready for the commit at 1300dcc.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.8.x-840-g1300dccc5a.

@tommartensen
Copy link
Contributor Author

/retest operator-bundle-on-push

@msugakov msugakov added backport-for-4.6-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1730134914487439 backport-for-4.7-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1739787699448879 labels May 27, 2025
@tommartensen tommartensen marked this pull request as ready for review May 28, 2025 07:25
@tommartensen tommartensen requested a review from a team as a code owner May 28, 2025 07:25
@stackrox stackrox deleted a comment from openshift-ci bot May 28, 2025
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @tommartensen - I've reviewed your changes - here's some feedback:

  • Consider centralizing the Konflux task bundle digest into a shared parameter or constant to avoid manual updates across every pipeline file.
  • The repeated determine-image-expiration block in each pipeline could be DRYed by extracting it into a reusable template or include to simplify maintenance.
  • Resolve the TODO to update to the real task reference bundle digest before merging.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@msugakov
Copy link
Contributor

/retest retag-scanner

@stackrox stackrox deleted a comment from openshift-ci bot May 28, 2025
@msugakov
Copy link
Contributor

/retest retag-scanner-db

@msugakov
Copy link
Contributor

/retest retag-scanner-slim

@msugakov
Copy link
Contributor

/retest retag-scanner-db-slim

@stackrox stackrox deleted a comment from openshift-ci bot May 28, 2025
@stackrox stackrox deleted a comment from openshift-ci bot May 28, 2025
@stackrox stackrox deleted a comment from openshift-ci bot May 28, 2025
@codecov
Copy link

codecov bot commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.24%. Comparing base (2596e78) to head (1300dcc).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #15429   +/-   ##
=======================================
  Coverage   49.23%   49.24%           
=======================================
  Files        2578     2578           
  Lines      189280   189280           
=======================================
+ Hits        93197    93206    +9     
+ Misses      88744    88736    -8     
+ Partials     7339     7338    -1     
Flag Coverage Δ
go-unit-tests 49.24% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@msugakov
Copy link
Contributor

/retest

@openshift-ci
Copy link

openshift-ci bot commented May 28, 2025

@tommartensen: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-qa-e2e-tests 1300dcc link false /test gke-qa-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@msugakov msugakov merged commit 68f35ee into master May 28, 2025
99 of 108 checks passed
@msugakov msugakov deleted the tm/konflux-update-image-tagging-expiration-logic branch May 28, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-for-4.6-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1730134914487439 backport-for-4.7-konflux-release https://redhat-internal.slack.com/archives/C05TS9N0S7L/p1739787699448879 konflux-build Run Konflux in PR. Push commit to trigger it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants