-
Notifications
You must be signed in to change notification settings - Fork 174
Feature: Implement GitHub workflow generation for func config ci.
#3295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3295 +/- ##
==========================================
+ Coverage 54.74% 54.91% +0.17%
==========================================
Files 168 170 +2
Lines 19605 19742 +137
==========================================
+ Hits 10732 10842 +110
- Misses 7807 7831 +24
- Partials 1066 1069 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
595194c to
0ef564a
Compare
This change adds GitHub Actions workflow generation for deploying functions. The workflow includes checkout, Kubernetes context setup via kubeconfig, func CLI installation, and deployment with registry configuration. The command is feature-flagged (FUNC_ENABLE_CI_CONFIG) to allow gradual rollout. Users can customize workflow parameters: - Branch trigger (default: main) - Kubeconfig secret name (default: KUBECONFIG) - Registry URL variable (default: REGISTRY_URL) - Workflow name (default: Func Deploy) Implementation includes comprehensive test coverage with both unit tests (mocked components) and integration tests (real filesystem operations). Also extracts MockLoaderSaver to cmd/common for reusability across test suites. Issue knative#3256 Signed-off-by: Stanislav Jakuschevskij <sjakusch@redhat.com>
0ef564a to
79d4bae
Compare
lkingland
left a comment
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.
Definitely going in a nice direction!
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lkingland, twoGiants The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
Changes
func config cicommand (previously skeleton-only)MockLoaderSavertocmd/commonfor test code reusability/kind enhancement
Part of #3256
Release Note
Docs