Use project name in run name

This commit is contained in:
Marcus Noble 2020-06-07 16:00:49 +01:00
parent 2143baff65
commit 1e2ffc0717
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: deploy-project- generateName: deploy-$(params.projectname)-
spec: spec:
pipelineRef: pipelineRef:
name: deploy-project name: deploy-project

View File

@ -21,7 +21,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: pr-project- generateName: pr-$(params.projectname)-
spec: spec:
pipelineRef: pipelineRef:
name: pr-project name: pr-project

View File

@ -22,7 +22,7 @@ spec:
- apiVersion: tekton.dev/v1beta1 - apiVersion: tekton.dev/v1beta1
kind: PipelineRun kind: PipelineRun
metadata: metadata:
generateName: project-tag- generateName: tag-$(params.projectname)-
spec: spec:
pipelineRef: pipelineRef:
name: project-tag name: project-tag