mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 12:02:47 +00:00
mmmmmmmmmmm
This commit is contained in:
@@ -31,9 +31,6 @@ rules:
|
|||||||
- services
|
- services
|
||||||
- deployments
|
- deployments
|
||||||
- deployments.apps
|
- deployments.apps
|
||||||
- destinationrules
|
|
||||||
- gateways
|
|
||||||
- virtualservices
|
|
||||||
verbs:
|
verbs:
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
@@ -100,7 +97,7 @@ spec:
|
|||||||
- name: clone
|
- name: clone
|
||||||
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest
|
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest
|
||||||
script: |
|
script: |
|
||||||
CHECKOUT_DIR="$(workspaces.output.path)/$(inputs.params.subdirectory)"
|
CHECKOUT_DIR="$(workspaces.output.path)"
|
||||||
cleandir() {
|
cleandir() {
|
||||||
# Delete any existing contents of the repo directory if it exists.
|
# Delete any existing contents of the repo directory if it exists.
|
||||||
#
|
#
|
||||||
|
@@ -9,15 +9,15 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
params:
|
params:
|
||||||
- name: gitrevision
|
- name: gitrevision
|
||||||
value: $(body.pull_request.head.sha)
|
value: $(body)
|
||||||
- name: gitrepositoryurl
|
- name: gitrepositoryurl
|
||||||
value: $(body.pull_request.head.repo.clone_url)
|
value: $(body)
|
||||||
- name: prurl
|
# - name: prurl
|
||||||
value: $(body.pull_request.html_url)
|
# value: $(body.pull_request.html_url)
|
||||||
- name: repo
|
# - name: repo
|
||||||
value: $(body.pull_request.base.repo.full_name)
|
# value: $(body.pull_request.base.repo.full_name)
|
||||||
- name: source
|
# - name: source
|
||||||
value: github
|
# value: github
|
||||||
---
|
---
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -130,13 +130,11 @@ spec:
|
|||||||
serviceAccountName: service-acc
|
serviceAccountName: service-acc
|
||||||
triggers:
|
triggers:
|
||||||
- name: github
|
- name: github
|
||||||
interceptors:
|
# interceptors:
|
||||||
- github:
|
# - github:
|
||||||
secretRef:
|
# eventTypes:
|
||||||
secretName: github-secret
|
# - pull_request
|
||||||
secretKey: secret
|
# - push
|
||||||
eventTypes:
|
|
||||||
- pull_request
|
|
||||||
bindings:
|
bindings:
|
||||||
- name: github-trigger-binding
|
- name: github-trigger-binding
|
||||||
template:
|
template:
|
||||||
|
Reference in New Issue
Block a user