Verify and push RMR pkgs from all branches
[ci-management.git] / jjb / ric-plt-lib-rmr / ric-plt-lib-rmr.yaml
index 1571395..0c72868 100644 (file)
       - 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
       - compare-type: REG_EXP
         pattern: 'src/bindings/rmr-python/.*'
     stream:
-      - master:
-          branch: master
+      # verify and push from all branches
+      - all:
+          branch: '*'
     jobs:
-      - gerrit-pypi-verify
-      - gerrit-pypi-merge:
-          pypi-repo: pypi-test
+      - '{project-name}-gerrit-pypi-jobs'
 
-# Temporary workaround to avoid overriding
-# gerrit_trigger_file_paths on release jobs
+# promote distributions from test to pypi.org
 - project:
     <<: *rmr_common
-    name: ric-plt-lib-rmr-python-workaround
+    name: ric-plt-lib-rmr-python-pypi-release
     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
-    tox-dir: src/bindings/rmr-python
-    stream:
-      - master:
-          branch: master
     jobs:
-      - gerrit-pypi-release-verify
-      - gerrit-pypi-release-merge
+      - '{project-name}-gerrit-pypi-release-jobs'
 
 - project:
     <<: *rmr_common
@@ -90,7 +82,7 @@
     branch: master
     python-version: python3
     # the pre-build-script installs debian packages
-    build-node: ubuntu1804-builder-2c-2ga
+    build-node: ubuntu1804-builder-2c-2g
     # install prereqs
     pre-build-script: !include-raw-escape: ../shell/install-deb-nng-rmr.sh
     sonarcloud: true