X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-plt-lib-rmr%2Fric-plt-lib-rmr.yaml;h=0c728688eb432e7937f20b8359eb40cd26e37803;hb=40c9f0d0abc7e79925974a610591a01ace80b5a3;hp=934823fb6414893ebe296f1a468279739c304478;hpb=557b88a5631820d0b09d20d993778d802cc5005b;p=ci-management.git diff --git a/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml index 934823fb..0c728688 100644 --- a/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml +++ b/jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml @@ -40,25 +40,55 @@ - gerrit-docker-verify - oran-gerrit-docker-ci-pc-merge stream: - - master: - branch: master + # verify and push from all branches + - all: + branch: '*' -# build and publish distributions to PyPI +# build and publish distributions to test.pypi.org - project: <<: *rmr_common - name: ric-plt-lib-rmr-python - project-name: '{name}' + name: ric-plt-lib-rmr-python-pypi + project-name: ric-plt-lib-rmr-python # sigul requires centos build-node: centos7-builder-1c-1g # install prereqs pre-build-script: !include-raw-escape: ../shell/install-rpm-nng-rmr.sh # bindings live in a subdirectory + tox-dir: src/bindings/rmr-python gerrit_trigger_file_paths: - compare-type: REG_EXP pattern: 'src/bindings/rmr-python/.*' - tox-dir: src/bindings/rmr-python stream: - - master: - branch: master + # verify and push from all branches + - all: + branch: '*' jobs: - '{project-name}-gerrit-pypi-jobs' + +# promote distributions from test to pypi.org +- project: + <<: *rmr_common + name: ric-plt-lib-rmr-python-pypi-release + project-name: ric-plt-lib-rmr-python + # sigul requires centos + build-node: centos7-builder-1c-1g + jobs: + - '{project-name}-gerrit-pypi-release-jobs' + +- project: + <<: *rmr_common + name: ric-plt-lib-rmr-python-sonar + project-name: ric-plt-lib-rmr-python + branch: master + python-version: python3 + # the pre-build-script installs debian packages + build-node: ubuntu1804-builder-2c-2g + # install prereqs + pre-build-script: !include-raw-escape: ../shell/install-deb-nng-rmr.sh + sonarcloud: true + sonarcloud-api-token: '{sonarcloud_api_token}' + sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' + sonarcloud-project-organization: '{sonarcloud_project_organization}' + tox-dir: src/bindings/rmr-python + jobs: + - gerrit-tox-sonar