github.com/GoogleContainerTools/skaffold@v1.39.18/examples/generate-pipeline/expectedPipeline.yaml (about) 1 apiVersion: tekton.dev/v1alpha1 2 kind: PipelineResource 3 metadata: 4 creationTimestamp: null 5 name: source-git 6 spec: 7 params: 8 - name: url 9 value: this-is-a-test 10 type: git 11 status: {} 12 --- 13 apiVersion: tekton.dev/v1alpha1 14 kind: Task 15 metadata: 16 creationTimestamp: null 17 name: skaffold-build-0 18 spec: 19 inputs: 20 resources: 21 - name: source 22 outputImageDir: "" 23 targetPath: "" 24 type: git 25 outputs: 26 resources: 27 - name: source 28 outputImageDir: "" 29 targetPath: "" 30 type: git 31 steps: 32 - args: 33 - --filename 34 - skaffold.yaml 35 - --profile 36 - oncluster 37 - --file-output 38 - build.out 39 command: 40 - skaffold 41 - build 42 env: 43 - name: GOOGLE_APPLICATION_CREDENTIALS 44 value: /secret/kaniko-secret 45 image: gcr.io/k8s-skaffold/skaffold:latest 46 name: run-build 47 resources: {} 48 volumeMounts: 49 - mountPath: /secret 50 name: kaniko-secret 51 workingDir: /workspace/source 52 volumes: 53 - name: kaniko-secret 54 secret: 55 secretName: kaniko-secret 56 --- 57 apiVersion: tekton.dev/v1alpha1 58 kind: Task 59 metadata: 60 creationTimestamp: null 61 name: skaffold-deploy-0 62 spec: 63 inputs: 64 resources: 65 - name: source 66 outputImageDir: "" 67 targetPath: "" 68 type: git 69 steps: 70 - args: 71 - --filename 72 - skaffold.yaml 73 - --build-artifacts 74 - build.out 75 command: 76 - skaffold 77 - deploy 78 image: gcr.io/k8s-skaffold/skaffold:latest 79 name: run-deploy 80 resources: {} 81 workingDir: /workspace/source 82 --- 83 apiVersion: tekton.dev/v1alpha1 84 kind: Pipeline 85 metadata: 86 creationTimestamp: null 87 name: skaffold-pipeline 88 spec: 89 resources: 90 - name: source-repo 91 type: git 92 tasks: 93 - name: skaffold-build-0-task 94 resources: 95 inputs: 96 - name: source 97 resource: source-repo 98 outputs: 99 - name: source 100 resource: source-repo 101 taskRef: 102 name: skaffold-build-0 103 - name: skaffold-deploy-0-task 104 resources: 105 inputs: 106 - from: 107 - skaffold-build-0-task 108 name: source 109 resource: source-repo 110 taskRef: 111 name: skaffold-deploy-0 112 status: {} 113 ---