Skip to content

Comments

Fix: add middleware version label in remote build too#3289

Merged
knative-prow[bot] merged 5 commits intoknative:mainfrom
creydr:add-middleware-version-label-in-remote-build-too
Dec 11, 2025
Merged

Fix: add middleware version label in remote build too#3289
knative-prow[bot] merged 5 commits intoknative:mainfrom
creydr:add-middleware-version-label-in-remote-build-too

Conversation

@creydr
Copy link
Member

@creydr creydr commented Dec 10, 2025

Changes

  • 🐛 add middleware version label in remote build too

In #3270 we added the label of the used middleware version to the built image. Unfortunately I did not add it for remote builds too. This PR addresses it and updates the remote builds (s2i) to add the label too.
Therefor the used middleware version is a result of the scaffold tekton task and will be passed to the build task, which has the possibility to add the labels (we can't do that during scaffolding where we have this information).

/kind bug

/cc @matejvasek

@knative-prow knative-prow bot requested a review from matejvasek December 10, 2025 20:03
@knative-prow knative-prow bot added kind/bug Categorizes issue or PR as related to a bug. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 10, 2025
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.76%. Comparing base (03e6a5b) to head (299aa06).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
pkg/scaffolding/middleware_version.go 25.00% 6 Missing ⚠️
pkg/pipelines/tekton/templates.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3289   +/-   ##
=======================================
  Coverage   54.76%   54.76%           
=======================================
  Files         168      168           
  Lines       19594    19605   +11     
=======================================
+ Hits        10730    10737    +7     
- Misses       7800     7804    +4     
  Partials     1064     1064           
Flag Coverage Δ
e2e 40.32% <45.00%> (+0.02%) ⬆️
e2e go 36.30% <45.00%> (+0.03%) ⬆️
e2e node 31.73% <45.00%> (+0.02%) ⬆️
e2e python 36.02% <45.00%> (+0.02%) ⬆️
e2e quarkus 31.88% <45.00%> (+0.02%) ⬆️
e2e rust 31.33% <45.00%> (+0.02%) ⬆️
e2e springboot 31.36% <45.00%> (+0.02%) ⬆️
e2e typescript 31.85% <45.00%> (+0.02%) ⬆️
integration 17.72% <35.00%> (+0.02%) ⬆️
unit macos-14 44.41% <45.00%> (+0.01%) ⬆️
unit macos-latest 44.41% <45.00%> (+0.01%) ⬆️
unit ubuntu-24.04-arm 44.60% <40.90%> (+0.01%) ⬆️
unit ubuntu-latest 45.33% <45.00%> (+0.01%) ⬆️
unit windows-latest 44.44% <45.00%> (+0.03%) ⬆️

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@creydr creydr closed this Dec 11, 2025
@creydr creydr reopened this Dec 11, 2025
Copy link
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks!

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2025
@knative-prow
Copy link

knative-prow bot commented Dec 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, gauron99

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

The pull request process is described 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

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 11, 2025
@knative-prow knative-prow bot merged commit e42a5f8 into knative:main Dec 11, 2025
80 of 81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants