mirror of
https://github.com/bvanroll/stage-infra.git
synced 2025-08-28 19:42:43 +00:00
mmmmmmmmmmm
This commit is contained in:
@@ -38,6 +38,7 @@ spec:
|
||||
value: "$(params.git-repo-name)"
|
||||
runAfter:
|
||||
- clone
|
||||
Timeout: "1h30m00s"
|
||||
workspaces:
|
||||
- name: source
|
||||
workspace: workspace
|
||||
|
0
Tekton/tasks/build-image.yaml
Normal file
0
Tekton/tasks/build-image.yaml
Normal file
@@ -16,6 +16,7 @@ spec:
|
||||
- push
|
||||
bindings:
|
||||
- name: github-trigger-binding
|
||||
#- name: gitlab-trigger-binding
|
||||
template:
|
||||
name: github-trigger-template
|
||||
---
|
||||
|
14
Tekton/triggers/gitlab-trigger-binding.yaml
Normal file
14
Tekton/triggers/gitlab-trigger-binding.yaml
Normal 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)
|
@@ -22,6 +22,7 @@ spec:
|
||||
serviceAccountName: service-acc
|
||||
pipelineRef:
|
||||
name: stage-application-pipeline
|
||||
Timeout: "2h30m00s"
|
||||
workspaces:
|
||||
- name: workspace
|
||||
persistentVolumeClaim:
|
||||
|
Reference in New Issue
Block a user