From 61c59681c6eb249b29bfb245eb2f382b9c7581fc Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Wed, 23 Jun 2021 02:29:25 +0530 Subject: [PATCH] Update jjb for ric-app/hw-python Update jjb for ric-app/hw-python to move image from staging to release. Signed-off-by: subhash kumar singh Change-Id: I55ea4dd8df1b4ac012dbe05a90945fafee9af291 --- jjb/ric-app-hw-python/ric-app-hw-python.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/jjb/ric-app-hw-python/ric-app-hw-python.yaml b/jjb/ric-app-hw-python/ric-app-hw-python.yaml index 6e084487..e3f0fffb 100644 --- a/jjb/ric-app-hw-python/ric-app-hw-python.yaml +++ b/jjb/ric-app-hw-python/ric-app-hw-python.yaml @@ -23,6 +23,7 @@ jobs: - gerrit-info-yaml-verify +# create docker image when source changes - project: <<: *hw-python_common name: ric-app-hw-python @@ -32,8 +33,23 @@ container-tag-method: yaml-file # use host network to clone from our gerrit docker-build-args: '--network=host' + # trigger on any change other than a file in ./docs + gerrit_trigger_file_paths: + - compare-type: REG_EXP + pattern: '^((?!docs/|\/COMMIT_MSG).)*$' jobs: - '{project-name}-gerrit-docker-jobs' stream: - master: branch: master + +# push nexus image from staging to release +- project: + <<: *hw-python_common + name: ric-app-hw-python-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - '{project-name}-gerrit-release-jobs' + -- 2.16.6