blob: 1571395620a995bb6d21761e632527b9d571e7cb [file] [log] [blame]
Lott, Christopher (cl778h)f14966f2019-06-04 10:38:14 -04001---
2- project:
3 name: ric-plt-lib-rmr-project-view
4 project-name: ric-plt-lib-rmr
5 views:
6 - project-view
7
Andrew Grimbergadf550e2019-06-11 13:40:50 -07008- 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 Grimbergadf550e2019-06-11 13:40:50 -070013 jobs:
14 - gerrit-info-yaml-verify
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040015
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040016- rmr_common: &rmr_common
17 name: rmr-common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040018 # git repo
19 project: ric-plt/lib/rmr
20 # jenkins job name prefix
21 project-name: ric-plt-lib-rmr
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040022 # maven settings file has credentials
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040023 mvn-settings: ric-plt-lib-rmr-settings
24
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040025# build and publish packages to PackageCloud.io
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040026- project:
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040027 <<: *rmr_common
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040028 name: ric-plt-lib-rmr
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040029 # image is not pushed, use trivial tag
30 container-tag-method: latest
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040031 # image name
32 docker-name: '{name}'
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040033 # use host network for network resources
Lott, Christopher (cl778h)3f5f89b2019-08-05 10:25:58 -040034 docker-build-args: '--network=host -f ci/Dockerfile'
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040035 # 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)3f5f89b2019-08-05 10:25:58 -040039 jobs:
40 - gerrit-docker-verify
41 - oran-gerrit-docker-ci-pc-merge
42 stream:
43 - master:
44 branch: master
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040045
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040046# build and publish distributions to PyPI
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040047- project:
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040048 <<: *rmr_common
49 name: ric-plt-lib-rmr-python
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040050 project-name: '{name}'
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040051 # 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)62b40d52019-10-02 15:48:56 -040056 tox-dir: src/bindings/rmr-python
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040057 gerrit_trigger_file_paths:
58 - compare-type: REG_EXP
59 pattern: 'src/bindings/rmr-python/.*'
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040060 stream:
61 - master:
62 branch: master
63 jobs:
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040064 - gerrit-pypi-verify
Lott, Christopher (cl778h)62b40d52019-10-02 15:48:56 -040065 - gerrit-pypi-merge:
66 pypi-repo: pypi-test
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040067
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)601a6cc2019-10-15 15:43:14 -040085
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