Created
October 28, 2020 14:49
-
-
Save pt033302/4384bfb427ac8cbdf4b049887bc414b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: buildah-source-pvc | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 500Mi | |
--- | |
apiVersion: tekton.dev/v1beta1 | |
kind: Pipeline | |
metadata: | |
name: buildah-test-pipeline | |
spec: | |
workspaces: | |
- name: shared-workspace | |
tasks: | |
- name: fetch-repository | |
taskRef: | |
name: git-clone | |
kind: ClusterTask | |
workspaces: | |
- name: output | |
workspace: shared-workspace | |
params: | |
- name: url | |
value: https://github.com/kelseyhightower/nocode | |
- name: subdirectory | |
value: "" | |
- name: deleteExisting | |
value: "true" | |
- name: httpProxy | |
value: http://ec2-3-138-114-137.us-east-2.compute.amazonaws.com:3128 | |
- name: httpsProxy | |
value: http://ec2-3-138-114-137.us-east-2.compute.amazonaws.com:3128 | |
- name: buildah | |
taskRef: | |
name: buildah | |
kind: ClusterTask | |
runAfter: | |
- fetch-repository | |
workspaces: | |
- name: source | |
workspace: shared-workspace | |
params: | |
- name: IMAGE | |
value: image-registry.openshift-image-registry.svc:5000/pthangad-v1beta1/nocode:latest | |
- name: TLSVERIFY | |
value: "false" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perform below steps to try out work spaces
use tkn cli to run
pipeline