Trigger YAML's
Signed-off-by: Ompragash Viswanathan <ompragash@proton.me>
+68 · 3 files changed
-
harness-platform/custom-trigger.yml+17 −0 -
harness-platform/github-trigger.yml+26 −0 -
harness-platform/gitlab-trigger.yml+25 −0
@@ -0,0 +1,17 @@ +trigger: + name: custom-trigger + identifier: customtrigger + enabled: true + description: "" + tags: {} + stagesToExecute: [] + orgIdentifier: ORGANIZATION_ID + projectIdentifier: PROJECT_ID + pipelineIdentifier: PIPELINE_ID + source: + type: Webhook + spec: + type: Custom + spec: + payloadConditions: [] + headerConditions: [] @@ -0,0 +1,26 @@ +trigger: + name: git-trigger + identifier: gittrigger + enabled: true + encryptedWebhookSecretIdentifier: "" + description: "" + tags: {} + orgIdentifier: ORGANIZATION_ID + stagesToExecute: [] + projectIdentifier: PROJECT_ID + pipelineIdentifier: PIPELINE_ID + source: + type: Webhook + spec: + type: Github + spec: + type: Push + spec: + connectorRef: GITHUB_CONNECTOR + autoAbortPreviousExecutions: false + payloadConditions: + - key: targetBranch + operator: Equals + value: master + headerConditions: [] + actions: [] @@ -0,0 +1,25 @@ +trigger: + name: gitlab-trigger + identifier: gitlabtrigger + enabled: true + description: "" + tags: {} + orgIdentifier: ORGANIZATION_ID + stagesToExecute: [] + projectIdentifier: PROJECT_ID + pipelineIdentifier: PIPELINE_ID + source: + type: Webhook + spec: + type: Gitlab + spec: + type: Push + spec: + connectorRef: GITLAB_CONNECTOR + autoAbortPreviousExecutions: false + payloadConditions: + - key: targetBranch + operator: Equals + value: main + headerConditions: [] + actions: []