Kyrylo Mashchenko | 0ec0976 | 2018-10-26 11:06:48 +0000 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | build-debian-ceph-package: |
| 6 | name: build-debian-{{package}}-{{version}}-ubuntu-{{dist}} |
| 7 | jobs: |
| 8 | # Xenial |
| 9 | - package: ceph |
| 10 | dist: xenial |
| 11 | branch: debian/xenial-luminous |
| 12 | version: luminous |
| 13 | - package: ceph |
| 14 | dist: xenial |
| 15 | branch: debian/xenial-jewel |
| 16 | version: jewel |
| 17 | template: |
| 18 | discard: |
| 19 | build: |
| 20 | keep_num: 10 |
| 21 | artifact: |
| 22 | keep_num: 10 |
| 23 | type: workflow-scm |
| 24 | concurrent: false |
| 25 | scm: |
| 26 | type: git |
| 27 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 28 | branch: "${_param:jenkins_pipelines_branch}" |
| 29 | credentials: "gerrit" |
| 30 | script: build-debian-packages-pipeline.groovy |
| 31 | trigger: |
| 32 | gerrit: |
| 33 | project: |
| 34 | debian/{{package}}: |
| 35 | branches: |
| 36 | - "{{branch}}" |
| 37 | message: |
| 38 | build_successful: "Build successful" |
| 39 | build_unstable: "Build unstable" |
| 40 | build_failure: "Build failed" |
| 41 | event: |
| 42 | ref: |
| 43 | - updated |
| 44 | param: |
| 45 | SOURCE_URL: |
| 46 | type: string |
| 47 | default: "${_param:jenkins_gerrit_url}/debian/{{package}}.git" |
| 48 | SOURCE_BRANCH: |
| 49 | type: string |
| 50 | default: "{{branch}}" |
| 51 | SOURCE_CREDENTIALS: |
| 52 | type: string |
| 53 | default: "gerrit" |
| 54 | EXTRA_REPO_URL: |
| 55 | type: string |
| 56 | default: "deb ${_param:jenkins_aptly_url}/{{dist}}/ testing ceph" |
| 57 | EXTRA_REPO_KEY_URL: |
| 58 | type: string |
| 59 | default: "${_param:jenkins_aptly_url}/public.gpg" |
| 60 | APTLY_URL: |
| 61 | type: string |
| 62 | default: "${_param:jenkins_aptly_api_url}" |
| 63 | APTLY_REPO: |
| 64 | type: string |
| 65 | default: "ubuntu-{{dist}}-{{package}}-{{version}}" |
| 66 | OS: |
| 67 | type: string |
| 68 | default: "ubuntu" |
| 69 | DIST: |
| 70 | type: string |
| 71 | default: "{{dist}}" |
| 72 | ARCH: |
| 73 | type: string |
| 74 | default: "amd64" |
| 75 | UPLOAD_APTLY: |
| 76 | type: boolean |
| 77 | default: 'true' |