blob: 0c728688eb432e7937f20b8359eb40cd26e37803 [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:
E. Scott Daniels0b751402019-11-05 08:34:04 -050043 # verify and push from all branches
44 - all:
45 branch: '*'
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040046
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040047# build and publish distributions to test.pypi.org
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040048- project:
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040049 <<: *rmr_common
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040050 name: ric-plt-lib-rmr-python-pypi
51 project-name: ric-plt-lib-rmr-python
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040052 # 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)62b40d52019-10-02 15:48:56 -040057 tox-dir: src/bindings/rmr-python
Lott, Christopher (cl778h)557b88a2019-09-27 06:01:54 -040058 gerrit_trigger_file_paths:
59 - compare-type: REG_EXP
60 pattern: 'src/bindings/rmr-python/.*'
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040061 stream:
E. Scott Daniels0b751402019-11-05 08:34:04 -050062 # verify and push from all branches
63 - all:
64 branch: '*'
Lott, Christopher (cl778h)c2339be2019-08-22 10:48:39 -040065 jobs:
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040066 - '{project-name}-gerrit-pypi-jobs'
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040067
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040068# promote distributions from test to pypi.org
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040069- project:
70 <<: *rmr_common
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040071 name: ric-plt-lib-rmr-python-pypi-release
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040072 project-name: ric-plt-lib-rmr-python
73 # sigul requires centos
74 build-node: centos7-builder-1c-1g
Lott, Christopher (cl778h)bbebd0f2019-10-01 11:58:13 -040075 jobs:
Lott, Christopher (cl778h)946a3ac2019-10-29 16:40:47 -040076 - '{project-name}-gerrit-pypi-release-jobs'
Lott, Christopher (cl778h)601a6cc2019-10-15 15:43:14 -040077
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 Grimberg6548e342019-10-31 09:28:26 -070085 build-node: ubuntu1804-builder-2c-2g
Lott, Christopher (cl778h)601a6cc2019-10-15 15:43:14 -040086 # 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