mmmmmmmmmmm

This commit is contained in:
2020-03-17 15:58:51 +01:00
parent d9faa1043f
commit 9cc56f398d
6 changed files with 17 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ spec:
value: "$(params.git-repo-name)"
runAfter:
- clone
Timeout: "1h30m00s"
workspaces:
- name: source
workspace: workspace

View File

View File

@@ -16,6 +16,7 @@ spec:
- push
bindings:
- name: github-trigger-binding
#- name: gitlab-trigger-binding
template:
name: github-trigger-template
---

View File

@@ -0,0 +1,14 @@
---
apiVersion: tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: gitlab-trigger-binding
namespace: tekton-pipeline-1
spec:
params:
- name: gitrevision
value: "$(body.project.default_branch)"
- name: gitrepositoryurl
value: "$(body.project.http_url)"
- name: gitreponame
value: $(body.project.name)

View File

@@ -22,6 +22,7 @@ spec:
serviceAccountName: service-acc
pipelineRef:
name: stage-application-pipeline
Timeout: "2h30m00s"
workspaces:
- name: workspace
persistentVolumeClaim: