-
Notifications
You must be signed in to change notification settings - Fork 577
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
Rename Buildpacks-V3 task to Buildpacks, and add Buildpacks-Phases task #415
Conversation
Hi @dfreilich. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
e96eeb8
to
49dc7ed
Compare
Note: there is an issue now with the Paketo-builders where they aren't working with the tekton task. I have notified the team, and they are working on it. I also mentioned it in the commit message. |
/assign @kimsterv |
6204743
to
cf927c5
Compare
cf927c5
to
06cf933
Compare
- name: CACHE | ||
description: The name of the persistent app cache volume. | ||
default: empty-dir | ||
- name: CACHE_IMAGE | ||
description: The name of the persistent app cache image. | ||
default: "" |
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.
What happens if you provide both? Is there a set precedence?
CC: @ekcasey
34601d7
to
02dc07f
Compare
The suffix v3 was a piece of buildpacks history, stemming from the initial start of the buildpacks concept, but isn't relevant to current consumers of the buildpacks task. To simplify it, and to fit with other task styles, we are removing v3 Additionally, we are updating the list of suggested builders, to reflect the current status of pack builders. NOTE: Paketo builders currently have a bug and don't work in Tekton, and until that issue is resolved, we aren't adding them in the list. Signed-off-by: David Freilich <[email protected]>
…ividual phases With the release of Platform API 0.3 (implemented in github.com/buildpacks/lifecycle v0.7.0), there is a creator binary that simplifies the CNB experience; calling it runs all of the individual lifecycle phases, and minimizes the number of separate containers needed for the process. As such, we moved the buildpacks task to use it. At the same time, it is also helpful, in some scenarios, to run the individual phases; it allows for greater control of secrets, amongst other things. As such, we moved the original task to buildpacks-separate-phases to allow users the choice. This commit also updates the READMEs, making them a bit clearer about what CNBs are and what the tasks do, as well as adding in the Paketo builders to the example builders. Signed-off-by: David Freilich <[email protected]>
02dc07f
to
afcec91
Compare
/ok-to-test |
I am not totally familiar how buildpack works but I am wondering why is it called |
Additionally, remove commented out references to ADDITIONAL_TAGS; that will be added as a separate issue. Signed-off-by: David Freilich <[email protected]>
afcec91
to
722aff5
Compare
@chmouel The Cloud Native Buildpack spec defines a few different lifecycle phases that people can either run separately, or can be run collectively. This PR adds both options in - the basic |
/retest |
/approve |
/assign @kimsterv |
@dfreilich SGTM, thansk for taking the time to explain me this. /lgtm |
@kimsterv is there anything else we need to do to get this in? Any questions, comments, concerns? |
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.
/meow
In 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 kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jromero, vdemeester 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:
Approvers can indicate their approval by writing |
Changes
This PR renames the historic Buildpacks-V3 task to Buildpacks-Phases, together with a new task,
buildpacks
(named because that should be the default users use for interacting with CNBs/Buildpacks), which uses thecreator
binary to simplify the running process, and reduce the number of containers needed to create.The name
buildpacks-V3
reflected a piece of buildpacks history (that it is the third iteration of the buildpacks concept, since created by Heroku in 2011) that isn't relevant to a modern user, and is more confusing. We've renamed it tobuildpacks-phases
, to signify that that particular task decomposes the current Buildpacks process (exemplified in thebuildpacks
task) to the different phases, which can ultimately allow users a bit more control over their information.Additionally, this task updates the list of
suggested builders
to reflect the current list of suggested builders. It also updates the README, to make it a bit simpler.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
File path follows
<kind>/<name>/<version>/name.yaml
Has
README.md
at<kind>/<name>/<version>/README.md
Has mandatory
metadata.labels
-app.kubernetes.io/version
the same as the<version>
of the resourceHas mandatory
metadata.annotations
tekton.dev/pipelines.minVersion
mandatory
spec.description
follows the conventionSee the contribution guide
for more details.