Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
Jakub Josef | 2da10ef | 2017-03-28 18:20:44 +0200 | [diff] [blame] | 4 | view: |
| 5 | Aptly: |
| 6 | enabled: true |
| 7 | type: CategorizedJobsView |
| 8 | include_regex: "aptly-.*" |
| 9 | categories: |
| 10 | - group_regex: "aptly-.*-nightly-testing" |
| 11 | naming_rule: "Nightly -> Testing" |
| 12 | - group_regex: "aptly-.*-testing-stable" |
| 13 | naming_rule: "Testing -> Stable" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 14 | job_template: |
| 15 | aptly: |
| 16 | name: aptly-{{operation}}-{{dist}}-{{source}}-{{target}} |
| 17 | jobs: |
| 18 | - operation: promote |
| 19 | diff_only: false |
| 20 | dist: trusty |
| 21 | source: nightly |
| 22 | target: testing |
| 23 | - operation: promote |
| 24 | dist: trusty |
| 25 | source: testing |
| 26 | target: stable |
| 27 | - operation: promote |
| 28 | dist: xenial |
| 29 | source: nightly |
| 30 | target: testing |
| 31 | - operation: promote |
| 32 | dist: xenial |
| 33 | source: testing |
| 34 | target: stable |
| 35 | - operation: diff |
| 36 | diff_only: true |
| 37 | dist: trusty |
| 38 | source: nightly |
| 39 | target: testing |
| 40 | - operation: diff |
| 41 | diff_only: true |
| 42 | dist: trusty |
| 43 | source: testing |
| 44 | target: stable |
| 45 | - operation: diff |
| 46 | diff_only: true |
| 47 | dist: xenial |
| 48 | source: nightly |
| 49 | target: testing |
| 50 | - operation: diff |
| 51 | diff_only: true |
| 52 | dist: xenial |
| 53 | source: testing |
| 54 | target: stable |
| 55 | template: |
| 56 | discard: |
| 57 | build: |
| 58 | keep_num: 25 |
| 59 | artifact: |
| 60 | keep_num: 25 |
| 61 | type: workflow-scm |
| 62 | concurrent: false |
| 63 | scm: |
| 64 | type: git |
| 65 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 66 | credentials: "gerrit" |
| 67 | script: aptly-promote-pipeline.groovy |
| 68 | param: |
| 69 | SOURCE: |
| 70 | type: string |
| 71 | default: "{{dist}}/{{source}}" |
| 72 | TARGET: |
| 73 | type: string |
| 74 | default: "{{dist}}/{{target}}" |
| 75 | RECREATE: |
| 76 | type: boolean |
| 77 | default: 'false' |
chnyda | 85f4110 | 2017-09-19 09:36:11 +0200 | [diff] [blame] | 78 | DUMP_PUBLISH: |
| 79 | type: boolean |
| 80 | default: 'true' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 81 | DIFF_ONLY: |
| 82 | type: boolean |
| 83 | default: '{{diff_only}}' |
| 84 | APTLY_URL: |
| 85 | type: string |
| 86 | default: "${_param:jenkins_aptly_api_url}" |
chnyda | c57c619 | 2017-03-21 13:19:46 +0100 | [diff] [blame] | 87 | COMPONENTS: |
| 88 | type: string |
| 89 | default: "all" |
| 90 | description: "Comma separated list (,)" |
| 91 | PACKAGES: |
| 92 | type: string |
| 93 | default: "all" |
| 94 | description: "Comma separated list (,)" |
chnyda | 339ab24 | 2017-11-28 17:31:31 +0100 | [diff] [blame] | 95 | STORAGES: |
| 96 | type: string |
| 97 | default: "${_param:jenkins_aptly_storages}" |
| 98 | description: "Comma separated list of storage" |
Filip Pytloun | f2ec0b3 | 2017-12-04 15:29:57 +0100 | [diff] [blame] | 99 | job_template: |
| 100 | aptly-all: |
| 101 | name: aptly-{{operation}}-all-{{source}}-{{target}} |
| 102 | jobs: |
| 103 | - operation: promote |
| 104 | diff_only: false |
| 105 | source: nightly |
| 106 | target: testing |
| 107 | - operation: promote |
| 108 | diff_only: false |
| 109 | source: testing |
| 110 | target: stable |
| 111 | template: |
| 112 | discard: |
| 113 | build: |
| 114 | keep_num: 25 |
| 115 | artifact: |
| 116 | keep_num: 25 |
| 117 | type: workflow-scm |
| 118 | concurrent: false |
| 119 | scm: |
| 120 | type: git |
| 121 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 122 | credentials: "gerrit" |
| 123 | script: aptly-promote-pipeline.groovy |
| 124 | param: |
| 125 | SOURCE: |
| 126 | type: string |
| 127 | default: "(.*)/{{source}}" |
| 128 | TARGET: |
| 129 | type: string |
| 130 | default: "{0}/{{target}}" |
| 131 | RECREATE: |
| 132 | type: boolean |
| 133 | default: 'false' |
| 134 | DUMP_PUBLISH: |
| 135 | type: boolean |
| 136 | default: 'true' |
| 137 | DIFF_ONLY: |
| 138 | type: boolean |
| 139 | default: '{{diff_only}}' |
| 140 | APTLY_URL: |
| 141 | type: string |
| 142 | default: "${_param:jenkins_aptly_api_url}" |
| 143 | COMPONENTS: |
| 144 | type: string |
| 145 | default: "all" |
| 146 | description: "Comma separated list (,)" |
| 147 | PACKAGES: |
| 148 | type: string |
| 149 | default: "all" |
| 150 | description: "Comma separated list (,)" |
| 151 | STORAGES: |
| 152 | type: string |
| 153 | default: "${_param:jenkins_aptly_storages}" |
| 154 | description: "Comma separated list of storage" |