1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-23 06:08:46 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Natalie Arellano
9beb1daa4c Add support in buildpacks task for platform envs
This change makes it possible for users to provide
environment variables to buildpacks via a volume with
appropriately configured directories.

Also includes some fixes for v1beta1 compatibility.

See https://buildpacks.io/docs/reference/buildpack-api/
for more info on how PLATFORM_DIR is used.

Resolves #160

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-06-08 10:14:53 +01:00
Javier Romero
e9eb4b07a0 Update buildpacks task platform API to 0.3
This change makes it so that the tekton task is compatible with
the latest changes from the Cloud Native Buildpacks.

Notably,

- Support for cred helpers has been removed. ([#259](https://github.com/buildpacks/lifecycle/pull/259))
- Default process type is configurable. ([#243](https://github.com/buildpacks/lifecycle/pull/260))

Resolves #194

Signed-off-by: Javier Romero <rjavier@vmware.com>
2020-06-08 10:14:53 +01:00
Vincent Demeester
0d3bea41a5 buildpacks: use workspace instead of GitResource 🐐
This migrate buildpacks to use `workspace` instead of an input
`GitResource`.

This also updates e2e tests to use a `Pipeline` in order to clone the
repository in the workspace.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-11 07:43:48 -05:00
Vincent Demeester
708c078c5e Port buildpacks to v1beta1 🦇
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2020-03-06 07:49:46 -06:00
Piyush Garg
8c34055ea7 Run prepare of buildpack as privileged
This will change to run the prepare step of buildpack
as priviledged because it is failing on security constraint
platform like OpenShift

Fix #197
2020-02-28 01:59:44 -06:00
Natalie Arellano
5ec64fc10b Add missing cache-dir arg to analyze step
Signed-off-by: Andrew Meyer <meyeran@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-02-25 22:20:42 -06:00
Natalie Arellano
6204524ddf Update CNB task to conform to Platform API 0.2
- Update buildpacks README to have more easily consumable example
  and include specific usage for older Platform APIs

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-02-13 08:47:57 -06:00
Vincent Demeester
5c2ab7d6c3 Linting yamls with yamllint 🏷
Next update of plumbing will enable `yamllint` check, so this make
sure we have linted yaml before 👼

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2019-11-15 09:39:31 -06:00
Vincent Demeester
328b67800f Update templating to use $(…) instead of ${…}
Starting from 0.7.0, the later is not supported anymore.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
2019-09-24 08:36:12 -05:00
Andrew Meyer
44791f39e3 Update buildpacks-v3 template for latest lifecycle
Signed-off-by: Andrew Meyer <ameyer@pivotal.io>
2019-07-22 10:16:55 -05:00
Matthew McNew
2211c49b2f Use run image as image in export step
The image flag in the export step should point to the run image. 

+ Pointing at the output image produces a 'MANIFEST_UNKNOWN' unknown error fetching the unbuilt image.
2019-05-07 17:25:55 -05:00
Jason Hall
420b5e37c9 Use image-type outputs instead of IMAGE params 2019-05-04 05:02:53 -05:00
Jason Hall
a46dff4fbf Review feedback 2019-04-30 10:14:52 -05:00
Jason Hall
12c8a1550b Add Task for Cloud Native Buildpacks 2019-04-30 10:14:52 -05:00