Adjust rmr-python jobs for revised PyPI templates 69/1269/3
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 29 Oct 2019 20:40:47 +0000 (16:40 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 29 Oct 2019 20:49:27 +0000 (16:49 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I8dbd9fd0bbec025dcdd362e815ea25d8284a56b7

jjb/ric-plt-lib-rmr/ric-plt-lib-rmr.yaml

index 1571395..a36aa25 100644 (file)
       - master:
           branch: master
 
-# 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
       - master:
           branch: master
     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