1
0
mirror of https://github.com/tektoncd/catalog.git synced 2024-11-26 06:23:37 +00:00
catalog/task/buildah/0.1/tests/run.yaml
PuneetPunamiya 0a2895a861 Modifies buildah task according to the new reorg proposal
Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - modified description to add a summary

This patch also moves the buildah files to the task directory
and modifies the path for install task command in readme file

Issue: #386

Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
2020-07-10 22:06:57 +01:00

48 lines
967 B
YAML

---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: buildah-test-pipeline
spec:
workspaces:
- name: shared-workspace
tasks:
- name: fetch-repository
taskRef:
name: git-clone
workspaces:
- name: output
workspace: shared-workspace
params:
- name: url
value: https://github.com/kelseyhightower/nocode
- name: subdirectory
value: ""
- name: deleteExisting
value: "true"
- name: buildah
taskRef:
name: buildah
runAfter:
- fetch-repository
workspaces:
- name: source
workspace: shared-workspace
params:
- name: IMAGE
value: localhost:5000/nocode
- name: TLSVERIFY
value: "false"
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: buildah-test-pipeline-run
spec:
pipelineRef:
name: buildah-test-pipeline
workspaces:
- name: shared-workspace
persistentvolumeclaim:
claimName: buildah-source-pvc