Add self-deploy dry run like gerrit gate
Related-Prod: PROD-36426
Change-Id: I1864fb46b7d4916e419c4e2ef881af2d864ceb40
diff --git a/jobs/templates/self-deploy-jobs.yaml b/jobs/templates/self-deploy-jobs.yaml
index 64f1ec4..5660557 100644
--- a/jobs/templates/self-deploy-jobs.yaml
+++ b/jobs/templates/self-deploy-jobs.yaml
@@ -14,7 +14,20 @@
- bool:
name: DRY_RUN
description: 'check tcp-qa ref without apply'
- default: 'false'
+ default: 'true'
+ triggers:
+ - gerrit:
+ server-name: 'mcp-ci-gerrit'
+ trigger-on:
+ - patchset-created-event:
+ exclude-no-code-change: true
+ - comment-added-contains-event:
+ comment-contains-value: '(recheck|reverify|retest)'
+ projects:
+ - project-compare-type: PLAIN
+ project-pattern: 'mcp/tcp-qa'
+ branches:
+ - branch-pattern: 'master'
pipeline-scm:
lightweight-checkout: false
scm: