Skip to content
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

feat: source-defined buildpacks #1774

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

lkingland
Copy link
Member

  • 🧹 define default go buildpacks in-code

Allows buildpacks to be updated by updating to a newer version of func. Previously, buildpacks were fixed at time of function creation without a manual edit of func.yaml. Currently using Go as the reference implementation in this commit.

/kind cleanup

Allows buildpacks to be updated by updating to a newer version of
func.  Previously, buildpacs were fixed at time of function creation
without a manual edit of func.yaml.  Currently using Go as the reference
implementation in this commit.
@knative-prow knative-prow bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jun 5, 2023
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 5, 2023
@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.12 ⚠️

Comparison is base (70fd176) 62.40% compared to head (8bdc0bb) 62.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1774      +/-   ##
==========================================
- Coverage   62.40%   62.29%   -0.12%     
==========================================
  Files          99      100       +1     
  Lines       13208    13315     +107     
==========================================
+ Hits         8242     8294      +52     
- Misses       4170     4226      +56     
+ Partials      796      795       -1     
Flag Coverage Δ
e2e-test 37.96% <100.00%> (-0.12%) ⬇️
e2e-test-oncluster 33.53% <100.00%> (-0.08%) ⬇️
e2e-test-oncluster-runtime 28.80% <0.00%> (?)
e2e-test-runtime-go 27.39% <100.00%> (?)
e2e-test-runtime-node 28.56% <100.00%> (?)
e2e-test-runtime-python 28.56% <100.00%> (?)
e2e-test-runtime-quarkus 28.68% <100.00%> (?)
e2e-test-runtime-springboot 27.63% <100.00%> (?)
e2e-test-runtime-typescript 28.65% <100.00%> (?)
integration-tests 47.89% <100.00%> (-0.34%) ⬇️
unit-tests-macos-latest 49.31% <100.00%> (-0.20%) ⬇️
unit-tests-ubuntu-latest 50.12% <100.00%> (-0.20%) ⬇️
unit-tests-windows-latest 49.33% <100.00%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/builders/buildpacks/builder.go 66.94% <100.00%> (+1.13%) ⬆️

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@lkingland lkingland requested review from lance, salaboy, zroubalik, aslom and matejvasek and removed request for navidshaikh and vyasgun June 5, 2023 02:45
@lkingland lkingland added this to the Release 1.11 milestone Jun 5, 2023
Copy link
Contributor

@zroubalik zroubalik 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 5, 2023
@knative-prow
Copy link

knative-prow bot commented Jun 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [lkingland,zroubalik]

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

@knative-prow knative-prow bot merged commit 7175a55 into knative:main Jun 5, 2023
@matejvasek
Copy link
Contributor

I really dislike this. What if somebody is using custom builder that does not need these additional buildpacks? There is no way to remove them from build. When it's in func.yaml user can alter behaviour.

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/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants