Skip to content

Downstream dockerfiles: manage BUILDVERSION, and some cleanup#1263

Merged
jotak merged 3 commits intonetobserv:mainfrom
jotak:buildversion
Mar 19, 2025
Merged

Downstream dockerfiles: manage BUILDVERSION, and some cleanup#1263
jotak merged 3 commits intonetobserv:mainfrom
jotak:buildversion

Conversation

@jotak
Copy link
Member

@jotak jotak commented Mar 19, 2025

  • BUILDVERSION previsouly did not work. Add it as a global argument for all dockerfiles
  • Remove COMMIT arg - it doesn't work, and actual upstream commit is anyway correctly labelled anyway as "vcs-ref" (not upstream-vcs-ref)
  • Hence, remove upstream-vcs-ref
  • Add 14d expiry on on-pushed images
  • Bump versions in update-builds.sh

- BUILDVERSION previsouly did not work. Add it as a global argument for
  all dockerfiles
- Remove COMMIT arg - it doesn't work, and actual upstream commit is
  anyway correctly labelled anyway as "vcs-ref" (not upstream-vcs-ref)
- Hence, remove upstream-vcs-ref
- Add 14d expiry on on-pushed images
- Bump versions in update-builds.sh
@jotak jotak requested a review from OlivierCazade March 19, 2025 11:48
@openshift-ci
Copy link

openshift-ci bot commented Mar 19, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jotak for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

- name: output-image
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/netobserv-operator/network-observability-operator-bundle:{{revision}}
- name: image-expires-after
value: 14d
Copy link
Member Author

Choose a reason for hiding this comment

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

@OlivierCazade I'm adding that because we generate a lot of builds and it surely is going to fill the quay repo :-/
idk if 14d is ok - I guess the point is that the last build has to be still there when it's time to release. If necessary maybe we can increase to 30d.

@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.74%. Comparing base (9ed4758) to head (fce82a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1263      +/-   ##
==========================================
+ Coverage   62.71%   62.74%   +0.03%     
==========================================
  Files          76       76              
  Lines       11551    11551              
==========================================
+ Hits         7244     7248       +4     
+ Misses       3846     3841       -5     
- Partials      461      462       +1     
Flag Coverage Δ
unittests 62.74% <ø> (+0.03%) ⬆️

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

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@OlivierCazade OlivierCazade left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci openshift-ci bot added the lgtm label Mar 19, 2025
@jotak jotak merged commit ae91be5 into netobserv:main Mar 19, 2025
22 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants