Skip to content

feat: builder flag with s2i option#842

Closed
lkingland wants to merge 21 commits intoknative:mainfrom
lkingland:lkingland/s2i-builder
Closed

feat: builder flag with s2i option#842
lkingland wants to merge 21 commits intoknative:mainfrom
lkingland:lkingland/s2i-builder

Conversation

@lkingland
Copy link
Copy Markdown
Member

@lkingland lkingland commented Feb 21, 2022

Changes

  • 🎁 can specify the S2I builder with --builder flag

The default builder for Functions is Pack, with the option to specify S2I using --builder s2i.

WIP:
Currently only --language node is supported
The ability to use custom implementations of Builder in the Build command is temporarily unavailable while we consolidate the Client creation process into a single default constructor in #824 and #825.

Update 2/28: The aforementioned are now merged, so this is now dependent on #865 #868 and #869, and probably a few more.

Update 3/16: The aforementioned are now merged or closed, so this is dependent on #883

/kind enhancement

@knative-prow-robot knative-prow-robot added kind/enhancement Feature additions or improvements to existing do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. needs-rebase Cannot be merged due to conflicts with HEAD. labels Feb 21, 2022
@knative-prow-robot
Copy link
Copy Markdown

@lkingland: PR needs rebase.

Details

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 kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added the size/XXL 🤖 PR changes 1000+ lines, ignoring generated files. label Feb 21, 2022
@knative-prow-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 approved 🤖 PR has been approved by an approver from all required OWNERS files. label Feb 21, 2022
@lkingland lkingland changed the title Lkingland/s2i builder feat: builder flag with s2i option Feb 21, 2022
@lkingland lkingland self-assigned this Feb 21, 2022
@lkingland lkingland force-pushed the lkingland/s2i-builder branch from d220bf9 to daf9fb6 Compare March 11, 2022 04:01
This is known to fail CI on OS X.  This commit includes the new files
from runnin update-codegen.sh, but will likely fail CI requiring more
manual intervention.
@lkingland lkingland force-pushed the lkingland/s2i-builder branch from daf9fb6 to 7f65e36 Compare March 16, 2022 15:20
@lance lance mentioned this pull request Mar 16, 2022
// DefaultBuilderImages for Pack builders indexed by Runtime Language
var DefaultBuilderImages = map[string]string{
"node": "gcr.io/paketo-buildpacks/builder:base",
"go": "gcr.io/paketo-buildpacks/builder:base",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Will this eventually have a key for all runtimes supported by paketo?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, and more specifically for all runtimes we support. For users providing completely new runtimes/templates that we are not aware of and map here, they will need to set that value in their custom language pack's manifest.yaml

@lkingland
Copy link
Copy Markdown
Member Author

Closed in favor of #923

@lkingland lkingland closed this Mar 30, 2022
@lkingland lkingland deleted the lkingland/s2i-builder branch September 20, 2022 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress 🤖 PR should not merge because it is a work in progress. kind/enhancement Feature additions or improvements to existing needs-rebase Cannot be merged due to conflicts with HEAD. size/XXL 🤖 PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants