Skip to content

Conversation

@lkingland
Copy link
Member

Adds a noninteractive flow to func config labels.

Note that, as with the other updates to the func config ... commands, tests will necessarily be in the E2Es until we have a chance to refactor these to be more testable.

/kind enhancement

Labels configuration now supports flags for a noninteractive flow.

@knative-prow knative-prow bot requested review from dsimansk and vyasgun June 25, 2025 02:51
@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 25, 2025
@codecov
Copy link

codecov bot commented Jun 25, 2025

Codecov Report

Attention: Patch coverage is 35.13514% with 48 lines in your changes missing coverage. Please review.

Project coverage is 61.49%. Comparing base (c865638) to head (38441a4).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
cmd/config_labels.go 35.61% 40 Missing and 7 partials ⚠️
cmd/config.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2886      +/-   ##
==========================================
+ Coverage   60.83%   61.49%   +0.65%     
==========================================
  Files         129      129              
  Lines       16215    16271      +56     
==========================================
+ Hits         9865    10006     +141     
+ Misses       5429     5310     -119     
- Partials      921      955      +34     
Flag Coverage Δ
e2e-tests 42.37% <24.32%> (+1.34%) ⬆️
integration-tests 47.93% <35.13%> (+1.63%) ⬆️
unit-tests 48.11% <35.13%> (-0.07%) ⬇️

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.

@lkingland lkingland force-pushed the push-xnkrlltnpzpq branch 3 times, most recently from b65f5e0 to e438fa6 Compare June 26, 2025 05:02
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

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

knative-prow bot commented Jun 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

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

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-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 27, 2025
@lkingland lkingland force-pushed the push-xnkrlltnpzpq branch from e438fa6 to 38441a4 Compare June 30, 2025 01:00
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2025
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 30, 2025
@gauron99
Copy link
Contributor

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jun 30, 2025
@knative-prow knative-prow bot merged commit 84d2ad0 into knative:main Jun 30, 2025
39 checks passed
@lkingland lkingland deleted the push-xnkrlltnpzpq branch July 1, 2025 01:32
matejvasek pushed a commit to openshift-knative/kn-plugin-func that referenced this pull request Oct 14, 2025
picking knative#2886

Signed-off-by: Matej Vašek <mvasek@redhat.com>
openshift-merge-bot bot pushed a commit to openshift-knative/kn-plugin-func that referenced this pull request Oct 14, 2025
* feat: add noninteractive flow to volume config

picking knative#2883

* feat: add noninteractive flow to labels config

picking knative#2886

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
Co-authored-by: Luke Kingland <luke@lukekingland.com>
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/enhancement lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants