Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | build-debian-salt-multibranch: |
| 6 | name: build-debian-salt-formula-{{name}}-ubuntu-{{dist}} |
| 7 | jobs: |
| 8 | - name: ceilometer |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 9 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 10 | dist: trusty |
| 11 | - name: cinder |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 12 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 13 | dist: trusty |
| 14 | - name: glance |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 15 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 16 | dist: trusty |
| 17 | - name: heat |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 18 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 19 | dist: trusty |
| 20 | - name: horizon |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 21 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | dist: trusty |
| 23 | - name: keystone |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 24 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 25 | dist: trusty |
| 26 | - name: kubernetes |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 27 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | dist: trusty |
| 29 | - name: neutron |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 30 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 31 | dist: trusty |
| 32 | - name: nova |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 33 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | dist: trusty |
| 35 | - name: swift |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 36 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 37 | dist: trusty |
| 38 | - name: ceilometer |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 39 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 40 | dist: xenial |
| 41 | - name: cinder |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 42 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 43 | dist: xenial |
| 44 | - name: glance |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 45 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 46 | dist: xenial |
| 47 | - name: heat |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 48 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 49 | dist: xenial |
| 50 | - name: horizon |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 51 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 52 | dist: xenial |
| 53 | - name: keystone |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 54 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 55 | dist: xenial |
| 56 | - name: kubernetes |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 57 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 58 | dist: xenial |
| 59 | - name: neutron |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 60 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 61 | dist: xenial |
| 62 | - name: nova |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 63 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 64 | dist: xenial |
| 65 | - name: swift |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 66 | upload_source_package: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 67 | dist: xenial |
| 68 | template: |
| 69 | discard: |
| 70 | build: |
| 71 | keep_num: 10 |
| 72 | artifact: |
| 73 | keep_num: 10 |
| 74 | type: workflow-scm |
| 75 | concurrent: false |
| 76 | scm: |
| 77 | type: git |
| 78 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 79 | credentials: "gerrit" |
| 80 | script: build-debian-packages-pipeline.groovy |
| 81 | trigger: |
| 82 | gerrit: |
| 83 | project: |
| 84 | salt-formulas/{{name}}: |
| 85 | branches: |
| 86 | - master |
| 87 | - debian/{{dist}} |
| 88 | message: |
| 89 | build_successful: "Build successful" |
| 90 | build_unstable: "Build unstable" |
| 91 | build_failure: "Build failed" |
| 92 | event: |
| 93 | ref: |
| 94 | - updated |
| 95 | param: |
| 96 | SOURCE_URL: |
| 97 | type: string |
| 98 | default: "${_param:jenkins_gerrit_url}/salt-formulas/{{name}}.git" |
| 99 | SOURCE_BRANCH: |
| 100 | type: string |
| 101 | default: "master" |
| 102 | SOURCE_CREDENTIALS: |
| 103 | type: string |
| 104 | default: "gerrit" |
| 105 | DEBIAN_BRANCH: |
| 106 | type: string |
| 107 | default: 'debian/{{dist}}' |
| 108 | DEBIAN_SNAPSHOT: |
| 109 | type: boolean |
| 110 | default: 'true' |
| 111 | EXTRA_REPO_URL: |
| 112 | type: string |
| 113 | default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing salt salt-latest" |
| 114 | EXTRA_REPO_KEY_URL: |
| 115 | type: string |
| 116 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 117 | APTLY_URL: |
| 118 | type: string |
| 119 | default: "${_param:jenkins_aptly_api_url}" |
| 120 | APTLY_REPO: |
| 121 | type: string |
| 122 | default: "ubuntu-{{dist}}-salt" |
| 123 | OS: |
| 124 | type: string |
| 125 | default: "ubuntu" |
| 126 | DIST: |
| 127 | type: string |
| 128 | default: "{{dist}}" |
| 129 | ARCH: |
| 130 | type: string |
| 131 | default: "amd64" |
chnyda | a3f6318 | 2017-03-20 11:08:21 +0100 | [diff] [blame] | 132 | PPA: |
| 133 | type: string |
| 134 | default: "salt-formulas/ppa" |
| 135 | UPLOAD_PPA: |
| 136 | type: boolean |
| 137 | default: 'true' |
| 138 | UPLOAD_APTLY: |
| 139 | type: boolean |
chnyda | a8e5b47 | 2017-10-18 18:13:01 +0200 | [diff] [blame] | 140 | default: '{{upload_source_package}}' |