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=d5b307c2b05305251f84bce1ffa04960c0ef8fbc;hb=refs%2Fheads%2Fmaster;hp=37386ffc461ad291c5d6ab42fb75b2d23c3c118c;hpb=a7f9c4ab7d03930ad4445c1792ea1a9d2302035e;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 37386ffc..7247d74d 100644 --- a/jjb/ric-app-hw-go/ric-app-hw-go.yaml +++ b/jjb/ric-app-hw-go/ric-app-hw-go.yaml @@ -5,8 +5,7 @@ views: - project-view -- hw-go_common: &hw-go_common - # values apply to all projects +- _hw-go_common: &hw-go_common # values apply to all projects name: hw-go-common # git repo project: ric-app/hw-go @@ -15,10 +14,32 @@ # maven settings file has docker credentials mvn-settings: ric-app-hw-go-settings -# verify INFO.yaml changes +# create docker image when source changes - project: <<: *hw-go_common - name: ric-app-hw-go-info - build-node: centos7-builder-1c-1g + name: ric-app-hw-go + # image name + docker-name: "o-ran-sc/{name}" + # source of docker tag + 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: - - gerrit-info-yaml-verify + - "{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"