Files
cicdTest/manifests/pipeline/pipelineRun.yaml
2020-02-18 18:37:40 +01:00

31 lines
689 B
YAML

apiVersion: tekton.dev/v1alpha1
kind: PipelineRun
metadata:
name: application-pipeline-run
spec:
serviceAccountName: tutorial-service
pipelineRef:
name: application-pipeline
resources:
- name: git-source
resourceRef:
name: git
params:
- name: pathToYamlFile
value: "deploy.yaml"
- name: pathToContext
value: "."
- name: imageUrl-a
value: "gs://BUCKETNAME/server-a"
- name: imageTag-a
value: "release"
- name: pathToContext-a
value: "./serverA"
- name: imageUrl-b
value: "gs://BUCKETNAME/server-b"
- name: imageTag-b
value: "release"
- name: pathToContext-b
value: "./serverB"