blob: c48422f5639085f6ed8e4784cd59b6a84dc06d7c [file] [log] [blame]
Pavel Cizinskye5c0d6e2019-03-19 14:50:42 +01001parameters:
2 jenkins:
3 client:
4 job:
5 backupninja_backup:
6 type: workflow-scm
7 name: backupninja-backup
8 display_name: "Backupninja salt-master/MaaS backup"
9 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 Berezovskiy5fb4bcc2019-07-08 19:31:50 +040017 credentials: "${_param:jenkins_gerrit_credentials}"
Pavel Cizinskye5c0d6e2019-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 Egorenko31c886b2019-07-25 18:03:06 +040026 ASK_CONFIRMATION:
27 type: boolean
28 default: 'true'
Martin Polreiche4af7692019-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 Polreichf7e47082019-08-01 12:54:32 +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}"