blob: 690ae0a86bb664d36b2fcc1657026017a8d8f2f7 [file] [log] [blame]
Pavel Cizinskyd2005742019-03-19 14:50:42 +01001parameters:
2 jenkins:
3 client:
4 job:
5 backupninja_backup:
6 type: workflow-scm
7 name: backupninja-backup
Martin Polreichb0ca0432019-10-04 11:08:17 +02008 display_name: "Backupninja backup pipeline"
Pavel Cizinskyd2005742019-03-19 14:50:42 +01009 discard:
10 build:
11 keep_num: 50
12 concurrent: true
13 scm:
14 type: git
15 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
16 branch: "${_param:jenkins_pipelines_branch}"
Ivan Berezovskiy76889ed2019-07-08 19:31:50 +040017 credentials: "${_param:jenkins_gerrit_credentials}"
Pavel Cizinskyd2005742019-03-19 14:50:42 +010018 script: backupninja-backup-pipeline.groovy
19 param:
20 SALT_MASTER_CREDENTIALS:
21 type: string
22 default: "salt"
23 SALT_MASTER_URL:
24 type: string
25 default: "${_param:jenkins_salt_api_url}"
Denis Egorenko8b18dab2019-07-25 18:03:06 +040026 ASK_CONFIRMATION:
27 type: boolean
28 default: 'true'
Martin Polreichde9f8f82019-08-27 13:40:55 +020029 BACKUP_SALTMASTER_AND_MAAS:
30 type: boolean
31 default: 'true'
32 BACKUP_DOGTAG:
33 type: boolean
34 default: 'true'
Martin Polreich1d2b2e62019-08-01 12:35:00 +020035 trigger:
36 timer:
37 enabled: true
38 spec: "${_param:backup_min} ${_param:backup_hour} ${_param:backup_day_of_month} ${_param:backup_month} ${_param:backup_day_of_week}"