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: |
E. Scott Daniels | 0b75140 | 2019-11-05 08:34:04 -0500 | [diff] [blame^] | 43 | # verify and push from all branches |
| 44 | - all: |
| 45 | branch: '*' |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 46 | |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 47 | # build and publish distributions to test.pypi.org |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 48 | - project: |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 49 | <<: *rmr_common |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 50 | name: ric-plt-lib-rmr-python-pypi |
| 51 | project-name: ric-plt-lib-rmr-python |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 52 | # sigul requires centos |
| 53 | build-node: centos7-builder-1c-1g |
| 54 | # install prereqs |
| 55 | pre-build-script: !include-raw-escape: ../shell/install-rpm-nng-rmr.sh |
| 56 | # bindings live in a subdirectory |
Lott, Christopher (cl778h) | 62b40d5 | 2019-10-02 15:48:56 -0400 | [diff] [blame] | 57 | tox-dir: src/bindings/rmr-python |
Lott, Christopher (cl778h) | 557b88a | 2019-09-27 06:01:54 -0400 | [diff] [blame] | 58 | gerrit_trigger_file_paths: |
| 59 | - compare-type: REG_EXP |
| 60 | pattern: 'src/bindings/rmr-python/.*' |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 61 | stream: |
E. Scott Daniels | 0b75140 | 2019-11-05 08:34:04 -0500 | [diff] [blame^] | 62 | # verify and push from all branches |
| 63 | - all: |
| 64 | branch: '*' |
Lott, Christopher (cl778h) | c2339be | 2019-08-22 10:48:39 -0400 | [diff] [blame] | 65 | jobs: |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 66 | - '{project-name}-gerrit-pypi-jobs' |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 67 | |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 68 | # promote distributions from test to pypi.org |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 69 | - project: |
| 70 | <<: *rmr_common |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 71 | name: ric-plt-lib-rmr-python-pypi-release |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 72 | project-name: ric-plt-lib-rmr-python |
| 73 | # sigul requires centos |
| 74 | build-node: centos7-builder-1c-1g |
Lott, Christopher (cl778h) | bbebd0f | 2019-10-01 11:58:13 -0400 | [diff] [blame] | 75 | jobs: |
Lott, Christopher (cl778h) | 946a3ac | 2019-10-29 16:40:47 -0400 | [diff] [blame] | 76 | - '{project-name}-gerrit-pypi-release-jobs' |
Lott, Christopher (cl778h) | 601a6cc | 2019-10-15 15:43:14 -0400 | [diff] [blame] | 77 | |
| 78 | - project: |
| 79 | <<: *rmr_common |
| 80 | name: ric-plt-lib-rmr-python-sonar |
| 81 | project-name: ric-plt-lib-rmr-python |
| 82 | branch: master |
| 83 | python-version: python3 |
| 84 | # the pre-build-script installs debian packages |
Andrew Grimberg | 6548e34 | 2019-10-31 09:28:26 -0700 | [diff] [blame] | 85 | build-node: ubuntu1804-builder-2c-2g |
Lott, Christopher (cl778h) | 601a6cc | 2019-10-15 15:43:14 -0400 | [diff] [blame] | 86 | # install prereqs |
| 87 | pre-build-script: !include-raw-escape: ../shell/install-deb-nng-rmr.sh |
| 88 | sonarcloud: true |
| 89 | sonarcloud-api-token: '{sonarcloud_api_token}' |
| 90 | sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' |
| 91 | sonarcloud-project-organization: '{sonarcloud_project_organization}' |
| 92 | tox-dir: src/bindings/rmr-python |
| 93 | jobs: |
| 94 | - gerrit-tox-sonar |