blob: 8ec2f911c631afab7d6684e3f9c205362a8010f3 [file] [log] [blame]
---
- job-template:
project-type: pipeline
concurrent: false
disabled: false
description: '{job-description}'
name: self-deploy-jobs
parameters:
- string:
default: ''
description: 'tcp-qa review refspec; leave empty for master'
name: GERRIT_REFSPEC
trim: 'true'
- bool:
name: DRY_RUN
description: 'check tcp-qa ref without apply'
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:
- git:
branches:
- FETCH_HEAD
refspec: '${{GERRIT_REFSPEC}}'
url: https://gerrit.mcp.mirantis.com/mcp/tcp-qa
script-path: jobs/pipelines/self-deploy-jobs.groovy
logrotate:
daysToKeep: 365