Lott, Christopher (cl778h) | f14966f | 2019-06-04 10:38:14 -0400 | [diff] [blame] | 1 | --- |
| 2 | - project: |
| 3 | name: ric-plt-lib-rmr-project-view |
| 4 | project-name: ric-plt-lib-rmr |
| 5 | views: |
| 6 | - project-view |
| 7 | |
Andrew Grimberg | adf550e | 2019-06-11 13:40:50 -0700 | [diff] [blame] | 8 | - project: |
| 9 | name: ric-plt-lib-rmr-info |
| 10 | project: ric-plt/lib/rmr |
| 11 | project-name: ric-plt-lib-rmr |
| 12 | build-node: centos7-builder-1c-1g |
Andrew Grimberg | adf550e | 2019-06-11 13:40:50 -0700 | [diff] [blame] | 13 | jobs: |
| 14 | - gerrit-info-yaml-verify |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 15 | |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 16 | - rmr_common: &rmr_common |
| 17 | name: rmr-common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 18 | # git repo |
| 19 | project: ric-plt/lib/rmr |
| 20 | # jenkins job name prefix |
| 21 | project-name: ric-plt-lib-rmr |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 22 | # maven settings file has credentials |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 23 | mvn-settings: ric-plt-lib-rmr-settings |
| 24 | |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 25 | # build and publish packages to PackageCloud.io |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 26 | - project: |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 27 | <<: *rmr_common |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 28 | name: ric-plt-lib-rmr |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 29 | # image is not pushed, use trivial tag |
| 30 | container-tag-method: latest |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 31 | # image name |
| 32 | docker-name: '{name}' |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 33 | # use host network for network resources |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 34 | docker-build-args: '--network=host -f ci/Dockerfile' |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 35 | # exclude changes in the bindings subdirectory |
| 36 | gerrit_trigger_file_paths: |
| 37 | - compare-type: REG_EXP |
| 38 | pattern: '^((?!src/bindings|\/COMMIT_MSG).)*$' |
Lott, Christopher (cl778h) | 3f5f89b | 2019-08-05 10:25:58 -0400 | [diff] [blame] | 39 | jobs: |
| 40 | - gerrit-docker-verify |
| 41 | - oran-gerrit-docker-ci-pc-merge |
| 42 | stream: |
| 43 | - master: |
| 44 | branch: master |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 45 | |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 46 | # build and publish distributions to PyPI |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 47 | - project: |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 48 | <<: *rmr_common |
| 49 | name: ric-plt-lib-rmr-python |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 50 | project-name: '{name}' |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 51 | # sigul requires centos |
| 52 | build-node: centos7-builder-1c-1g |
| 53 | # install prereqs |
| 54 | pre-build-script: !include-raw-escape: ../shell/install-rpm-nng-rmr.sh |
| 55 | # bindings live in a subdirectory |
Lott, Christopher (cl778h) | 62b40d5 | 2019-10-02 15:48:56 -0400 | [diff] [blame] | 56 | tox-dir: src/bindings/rmr-python |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 57 | gerrit_trigger_file_paths: |
| 58 | - compare-type: REG_EXP |
| 59 | pattern: 'src/bindings/rmr-python/.*' |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 60 | stream: |
| 61 | - master: |
| 62 | branch: master |
| 63 | jobs: |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 64 | - gerrit-pypi-verify |
Lott, Christopher (cl778h) | 62b40d5 | 2019-10-02 15:48:56 -0400 | [diff] [blame] | 65 | - gerrit-pypi-merge: |
| 66 | pypi-repo: pypi-test |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 67 | |
| 68 | # Temporary workaround to avoid overriding |
| 69 | # gerrit_trigger_file_paths on release jobs |
| 70 | - project: |
| 71 | <<: *rmr_common |
| 72 | name: ric-plt-lib-rmr-python-workaround |
| 73 | project-name: ric-plt-lib-rmr-python |
| 74 | # sigul requires centos |
| 75 | build-node: centos7-builder-1c-1g |
| 76 | # install prereqs |
| 77 | pre-build-script: !include-raw-escape: ../shell/install-rpm-nng-rmr.sh |
| 78 | tox-dir: src/bindings/rmr-python |
| 79 | stream: |
| 80 | - master: |
| 81 | branch: master |
| 82 | jobs: |
| 83 | - gerrit-pypi-release-verify |
| 84 | - gerrit-pypi-release-merge |
Lott, Christopher (cl778h) | 601a6cc | 2019-10-15 15:43:14 -0400 | [diff] [blame] | 85 | |
| 86 | - project: |
| 87 | <<: *rmr_common |
| 88 | name: ric-plt-lib-rmr-python-sonar |
| 89 | project-name: ric-plt-lib-rmr-python |
| 90 | branch: master |
| 91 | python-version: python3 |
| 92 | # the pre-build-script installs debian packages |
| 93 | build-node: ubuntu1804-builder-2c-2ga |
| 94 | # install prereqs |
| 95 | pre-build-script: !include-raw-escape: ../shell/install-deb-nng-rmr.sh |
| 96 | sonarcloud: true |
| 97 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 98 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 99 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 100 | tox-dir: src/bindings/rmr-python |
| 101 | jobs: |
| 102 | - gerrit-tox-sonar |