Separate PyPI jobs due to trigger conflicts 48/1048/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Tue, 1 Oct 2019 15:58:13 +0000 (11:58 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 1 Oct 2019 18:16:02 +0000 (14:16 -0400)
The feature lives in subdirectory src/bindings/rmr-python but
the gerrit_trigger_file_paths setting overrides the release
template settings.  Separate the jobs as a workaround.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: I0968e7a18612401532d82d91e5e60d82ae648c4f

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

index 934823f..deb9be1 100644 (file)
       - master:
           branch: master
     jobs:
       - master:
           branch: master
     jobs:
-      - '{project-name}-gerrit-pypi-jobs'
+      - gerrit-pypi-verify
+      - gerrit-pypi-merge
+
+# Temporary workaround to avoid overriding
+# gerrit_trigger_file_paths on release jobs
+- project:
+    <<: *rmr_common
+    name: ric-plt-lib-rmr-python-workaround
+    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