SRVOCF-859: Set S2I builder in generated GitHub CI workflow - #182
Conversation
Previously, WorkflowConfig passed to the GitHub CI generator did not set a Builder field, so generated workflows had no explicit FUNC_BUILDER env var. knative/func#4033 added Builder support to WorkflowConfig; we now set it to S2I so generated workflows use the correct builder by default. Also bumps knative.dev/func and k8s.io deps, and adds a test assertion to verify the generated workflow contains FUNC_BUILDER. Signed-off-by: Pedro Almeida <pealmeid@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@pmeida: This pull request references SRVOCF-859 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@pmeida: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
builders.S2Ias the builder in theWorkflowConfigpassed to the GitHub CI workflow generator, so generated workflows includeFUNC_BUILDER: s2iand produce Red Hat UBI-based imagesFUNC_BUILDER: s2iknative.dev/functo pick up knative/func#4033, which added theBuilderfield toWorkflowConfigand made this change possibleUntil e2e tests cover the generated CI workflow, manual tests were performed across all supported runtimes (node, python, go, quarkus) to verify the generated workflow contains the correct builder configuration.
Fixes SRVOCF-859
Checklist
docs/ARCHITECTURE.md(if there are relevant changes to our layered architecture)docs/TESTING.md(if there are relevant changes to our testing framework or setup)