GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Feature: Add user messages to config ci. by twoGiants · Pull Request #3457 · knative/func

Conversation

@twoGiants

@twoGiants twoGiants commented Feb 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Changes

  • 🎁 Add --verbose flag that prints full workflow configuration (name, output path, branch, build type, runner, registry login, dispatch, and required secrets/variables)
  • 🎁 Add post-export message listing the GitHub Secrets and Variables the user needs to create
  • 🧹 Extract shared helpers (runner, secretsPrefix, varsPrefix, newSecret, newVariable) into common.go
  • 🧹 Add OutputPath() getter to CIConfig and refactor printer to use getters instead of direct field access
  • 🧹 Refactor verbose tests to use exported format constants

/kind enhancement

Relates to #3256

Release Note

`func config ci` now shows required GitHub Secrets and Variables after workflow creation, and supports `--verbose` for full configuration details.

Docs


Screenshots

Important

Ignore the switched workflow filepath / workflow name in the first image. Its fixed.

Screenshot From 2026-02-26 12-36-15 Screenshot From 2026-02-26 12-36-05 Screenshot From 2026-02-26 12-35-47 Screenshot From 2026-02-26 12-35-29

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@knative-prow knative-prow Bot added the kind/enhancement Feature additions or improvements to existing label Feb 26, 2026
@knative-prow
knative-prow Bot requested review from dsimansk and jrangelramos February 26, 2026 11:36
@knative-prow knative-prow Bot added the size/L 🤖 PR changes 100-499 lines, ignoring generated files. label Feb 26, 2026
@twoGiants twoGiants changed the title Feature: Add user messages to config ci. WIP Feature: Add user messages to config ci. WIP Feb 26, 2026
@knative-prow knative-prow Bot added the do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. label Feb 26, 2026
@twoGiants
twoGiants force-pushed the issue-779-show-details-with-verbose-flag branch from 42e8466 to f2a147f Compare February 26, 2026 13:20
@codecov

codecov Bot commented Feb 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.40367% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.72%. Comparing base (4580517) to head (bd0eb26).
⚠️ Report is 14 commits behind head on main.

Files with missing lines Patch % Lines
cmd/ci/config.go 66.66% 7 Missing ⚠️
cmd/ci/printer.go 91.37% 4 Missing and 1 partial ⚠️
cmd/ci/common.go 76.92% 2 Missing and 1 partial ⚠️
pkg/k8s/deployer.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3457      +/-   ##
==========================================
+ Coverage   54.51%   54.72%   +0.20%     
==========================================
  Files         179      181       +2     
  Lines       20274    20394     +120     
==========================================
+ Hits        11052    11160     +108     
- Misses       8050     8058       +8     
- Partials     1172     1176       +4     
Flag Coverage Δ
e2e 38.33% <0.00%> (-0.12%) ⬇️
e2e go 32.56% <0.00%> (-0.08%) ⬇️
e2e node 28.36% <0.00%> (-0.19%) ⬇️
e2e python 31.96% <0.00%> (-0.18%) ⬇️
e2e quarkus 28.51% <0.00%> (-0.17%) ⬇️
e2e rust 27.90% <0.00%> (-0.20%) ⬇️
e2e springboot 26.39% <0.00%> (-0.15%) ⬇️
e2e typescript 28.47% <0.00%> (-0.19%) ⬇️
integration 17.48% <0.00%> (-0.08%) ⬇️
unit macos-14 42.62% <86.59%> (+0.38%) ⬆️
unit macos-latest 42.62% <86.59%> (+0.38%) ⬆️
unit ubuntu-24.04-arm 42.87% <84.40%> (+0.33%) ⬆️
unit ubuntu-latest 43.51% <86.59%> (+0.38%) ⬆️
unit windows-latest 42.64% <86.59%> (+0.38%) ⬆️

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.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@twoGiants
feat: add user messages to config ci
bd0eb26
The command generates a GitHub workflow file but provides no
visibility into the configuration or required setup steps.

Add a --verbose flag that prints the full workflow configuration
(name, output path, branch, build type, runner, registry login,
dispatch, and required secrets/variables). Without --verbose, a
concise post-export message lists the secrets and variables the
user needs to create on GitHub. The two messages are mutually
exclusive.

Extracted shared helpers into common.go, added OutputPath()
getter, and refactored the printer to use CIConfig getters.
Tests use exported format constants to reduce duplication.

Issue knative#3256

Signed-off-by: Stanislav Jakuschevskij <[email protected]>
@twoGiants
twoGiants force-pushed the issue-779-show-details-with-verbose-flag branch from f2a147f to bd0eb26 Compare February 26, 2026 14:16
@twoGiants twoGiants changed the title WIP Feature: Add user messages to config ci. WIP Feature: Add user messages to config ci. Feb 26, 2026
@knative-prow knative-prow Bot removed the do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. label Feb 26, 2026
@twoGiants

twoGiants commented Feb 26, 2026

Copy link
Copy Markdown
Contributor Author

/cc @gauron99 @creydr @matejvasek

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow
knative-prow Bot requested review from creydr, gauron99 and matejvasek February 26, 2026 14:30
@twoGiants twoGiants mentioned this pull request Feb 26, 2026
Implement Github Workflow generation for building and deploying a function to a k8 cluster. #3256
Closed
@gauron99

gauron99 commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/hold for other potential reviews. unhold when you please

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot added the do-not-merge/hold 🤖 PR should not merge because someone has issued a /hold command. label Feb 26, 2026
@knative-prow knative-prow Bot assigned gauron99 Feb 26, 2026
@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Feb 26, 2026
@gauron99

gauron99 commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

/approve

twoGiants reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow

knative-prow Bot commented Feb 26, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [gauron99]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot added the approved 🤖 PR has been approved by an approver from all required OWNERS files. label Feb 26, 2026
creydr
creydr reviewed Feb 27, 2026
View reviewed changes

@creydr creydr left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

/lgtm
nice

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

twoGiants reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@knative-prow knative-prow Bot assigned creydr Feb 27, 2026
@twoGiants

twoGiants commented Feb 27, 2026

Copy link
Copy Markdown
Contributor Author

/unhold

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@knative-prow knative-prow Bot removed the do-not-merge/hold 🤖 PR should not merge because someone has issued a /hold command. label Feb 27, 2026
@knative-prow
knative-prow Bot merged commit fbd2f4f into knative:main Feb 27, 2026
83 of 90 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dsimansk dsimansk Awaiting requested review from dsimansk
@jrangelramos jrangelramos Awaiting requested review from jrangelramos
@gauron99 gauron99 Awaiting requested review from gauron99
@matejvasek matejvasek Awaiting requested review from matejvasek
1 more reviewer
@creydr creydr creydr left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@creydr creydr

@gauron99 gauron99

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. kind/enhancement Feature additions or improvements to existing lgtm 🤖 PR is ready to be merged. size/L 🤖 PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@twoGiants @gauron99 @creydr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.