Pavel Cizinsky | f10aa0d | 2019-02-26 11:38:12 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | galera_backup_database: |
| 6 | type: workflow-scm |
| 7 | name: galera-database-backup |
| 8 | display_name: "Galera database 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}" |
Sergey Galkin | ef9eabf | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 17 | credentials: ${_param:jenkins_gerrit_credentials} |
Pavel Cizinsky | f10aa0d | 2019-02-26 11:38:12 +0100 | [diff] [blame] | 18 | script: galera-database-backup-pipeline.groovy |
| 19 | param: |
| 20 | SALT_MASTER_CREDENTIALS: |
| 21 | type: string |
| 22 | default: "salt" |
| 23 | OVERRIDE_BACKUP_NODE: |
| 24 | type: string |
| 25 | default: "none" |
| 26 | SALT_MASTER_URL: |
| 27 | type: string |
| 28 | default: "${_param:jenkins_salt_api_url}" |
Martin Polreich | 1d2b2e6 | 2019-08-01 12:35:00 +0200 | [diff] [blame] | 29 | trigger: |
| 30 | timer: |
| 31 | enabled: true |
| 32 | spec: "${_param:backup_min} ${_param:backup_hour} ${_param:backup_day_of_month} ${_param:backup_month} ${_param:backup_day_of_week}" |