diff --git a/manifests/full-pipeline.yaml b/manifests/full-pipeline.yaml index dd6dd94..4d431f3 100644 --- a/manifests/full-pipeline.yaml +++ b/manifests/full-pipeline.yaml @@ -31,9 +31,6 @@ rules: - services - deployments - deployments.apps - - destinationrules - - gateways - - virtualservices verbs: - list - watch @@ -100,7 +97,7 @@ spec: - name: clone image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:latest script: | - CHECKOUT_DIR="$(workspaces.output.path)/$(inputs.params.subdirectory)" + CHECKOUT_DIR="$(workspaces.output.path)" cleandir() { # Delete any existing contents of the repo directory if it exists. # diff --git a/manifests/github-event-listener.yaml b/manifests/github-event-listener.yaml index 9085e0f..25d710a 100644 --- a/manifests/github-event-listener.yaml +++ b/manifests/github-event-listener.yaml @@ -9,15 +9,15 @@ metadata: spec: params: - name: gitrevision - value: $(body.pull_request.head.sha) + value: $(body) - name: gitrepositoryurl - value: $(body.pull_request.head.repo.clone_url) - - name: prurl - value: $(body.pull_request.html_url) - - name: repo - value: $(body.pull_request.base.repo.full_name) - - name: source - value: github + value: $(body) + # - name: prurl + # value: $(body.pull_request.html_url) + # - name: repo + # value: $(body.pull_request.base.repo.full_name) + # - name: source + # value: github --- kind: PersistentVolumeClaim apiVersion: v1 @@ -130,13 +130,11 @@ spec: serviceAccountName: service-acc triggers: - name: github - interceptors: - - github: - secretRef: - secretName: github-secret - secretKey: secret - eventTypes: - - pull_request + # interceptors: + # - github: + # eventTypes: + # - pull_request + # - push bindings: - name: github-trigger-binding template: