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