Files
cicdTest/manifests/pipeline/pipelineRun.yaml
2020-02-18 12:55:03 +01:00

29 lines
685 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: "beppeserver-a"
- name: imageTag-a
value: "beppeserver-a-tag"
- name: pathToContext-a
value: "./serverA"
- name: imageUrl-b
value: "beppeserver-b"
- name: imageTag-b
value: "beppeserver-b-tag"
- name: pathToContext-b
value: "./serverB"