summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/dcaegen2-utils.yaml
diff options
context:
space:
mode:
authorLott, Christopher (cl778h) <cl778h@att.com>2019-10-02 06:41:54 -0400
committerLott, Christopher (cl778h) <cl778h@att.com>2019-10-02 08:29:54 -0400
commitc1374fb5775f1f2fc59fab007061381e8a9cb27e (patch)
tree4bffdc10e15bd31ec7a741cb6d67fb2474ac570c /jjb/dcaegen2/dcaegen2-utils.yaml
parentef9fe10fa271b906073a0e58130c83029cd59690 (diff)
Split PyPI templates for CBS docker client
This module is in a subdirectory, so must specify a gerrit trigger file path to test this module and package it into a distribution for upload to PyPI. But that parameter breaks the release verify and merge jobs. Work around the problem by using two project defs. Also configure the non-release merge job with repo key pypy-test. Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com> Issue-ID: DCAEGEN2-1729 Change-Id: I5ab67a95d7e3f40cd2241ef69ea22bf0f9ce9b7f
Diffstat (limited to 'jjb/dcaegen2/dcaegen2-utils.yaml')
-rw-r--r--jjb/dcaegen2/dcaegen2-utils.yaml30
1 files changed, 21 insertions, 9 deletions
diff --git a/jjb/dcaegen2/dcaegen2-utils.yaml b/jjb/dcaegen2/dcaegen2-utils.yaml
index 1bb89e7fd..666b2177b 100644
--- a/jjb/dcaegen2/dcaegen2-utils.yaml
+++ b/jjb/dcaegen2/dcaegen2-utils.yaml
@@ -55,23 +55,35 @@
project: dcaegen2/utils
branch: master
-- project:
- name: dcaegen2-platform-cbs-client
+- cbs_client_pypi_common: &cbs_client_pypi_common
+ name: cbs-client-pypi-common
# jenkins job prefix
- project-name: '{name}'
+ project-name: dcaegen2-platform-cbs-client
# git repo
project: dcaegen2/utils
# push credentials
mvn-settings: dcaegen2-utils-settings
# requires centos to sign release
build-node: centos7-builder-2c-1g
- # subdirectory
- gerrit_trigger_file_paths:
- - compare-type: REG_EXP
- pattern: 'onap-dcae-cbs-docker-client/{name}/.*'
tox-dir: onap-dcae-cbs-docker-client
- jobs:
- - '{project-name}-gerrit-pypi-jobs'
stream:
- master:
branch: master
+
+- project:
+ name: dcaegen2-platform-cbs-client-pypi-build
+ <<: *cbs_client_pypi_common
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: 'onap-dcae-cbs-docker-client/{name}/.*'
+ jobs:
+ - gerrit-pypi-verify
+ - gerrit-pypi-merge:
+ pypi-repo: pypi-test
+
+- project:
+ name: dcaegen2-platform-cbs-client-pypi-release
+ <<: *cbs_client_pypi_common
+ jobs:
+ - gerrit-pypi-release-verify
+ - gerrit-pypi-release-merge