mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-22 06:02:51 +00:00
e9eb4b07a0
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>
66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
---
|
|
apiVersion: tekton.dev/v1beta1
|
|
kind: Pipeline
|
|
metadata:
|
|
name: buildpacks-test-pipeline
|
|
spec:
|
|
workspaces:
|
|
- name: shared-workspace
|
|
resources:
|
|
- name: build-image
|
|
type: image
|
|
tasks:
|
|
- name: fetch-repository
|
|
taskRef:
|
|
name: git-clone
|
|
workspaces:
|
|
- name: output
|
|
workspace: shared-workspace
|
|
params:
|
|
- name: url
|
|
value: https://github.com/buildpacks/samples
|
|
- name: subdirectory
|
|
value: ""
|
|
- name: deleteExisting
|
|
value: "true"
|
|
- name: buildpacks-v3
|
|
taskRef:
|
|
name: buildpacks-v3
|
|
runAfter:
|
|
- fetch-repository
|
|
workspaces:
|
|
- name: source
|
|
workspace: shared-workspace
|
|
params:
|
|
- name: SOURCE_SUBPATH
|
|
value: apps/java-maven
|
|
- name: BUILDER_IMAGE
|
|
value: cnbs/sample-builder:alpine-p0.3
|
|
- name: CACHE
|
|
value: buildpacks-cache
|
|
resources:
|
|
outputs:
|
|
- name: image
|
|
resource: build-image
|
|
---
|
|
apiVersion: tekton.dev/v1beta1
|
|
kind: PipelineRun
|
|
metadata:
|
|
name: buildpacks-test-pipeline-run
|
|
spec:
|
|
pipelineRef:
|
|
name: buildpacks-test-pipeline
|
|
workspaces:
|
|
- name: shared-workspace
|
|
persistentvolumeclaim:
|
|
claimName: buildpacks-source-pvc
|
|
resources:
|
|
- name: build-image
|
|
resourceRef:
|
|
name: buildpacks-app-image
|
|
podTemplate:
|
|
volumes:
|
|
- name: buildpacks-cache
|
|
persistentVolumeClaim:
|
|
claimName: buildpacks-cache-pvc
|