X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fric-app-hw-go%2Fric-app-hw-go.yaml;h=0e8693b3e271f05fdbbccfafc49bb720177afc3e;hb=31f9173023e67326d2399104f166b98a81037a5b;hp=d5b307c2b05305251f84bce1ffa04960c0ef8fbc;hpb=0d18cc0ce9fb0e5361f2e8bca8bf91745dbc5212;p=ci-management.git diff --git a/jjb/ric-app-hw-go/ric-app-hw-go.yaml b/jjb/ric-app-hw-go/ric-app-hw-go.yaml index d5b307c2..0e8693b3 100644 --- a/jjb/ric-app-hw-go/ric-app-hw-go.yaml +++ b/jjb/ric-app-hw-go/ric-app-hw-go.yaml @@ -23,6 +23,7 @@ jobs: - gerrit-info-yaml-verify +# create docker image when source changes - project: <<: *hw-go_common name: ric-app-hw-go @@ -32,9 +33,22 @@ 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-go_common + name: ric-app-hw-go-release + # maven release requires sigul which requires centos + # container release requires docker + build-node: centos7-docker-2c-8g + jobs: + - '{project-name}-gerrit-release-jobs'