From: Lott, Christopher (cl778h) Date: Mon, 29 Jul 2019 19:07:01 +0000 (-0400) Subject: Define Docker-based verify job for helm charts X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=4050f444b33672edd93a29a274265fe4fac1399e;p=ci-management.git Define Docker-based verify job for helm charts Signed-off-by: Lott, Christopher (cl778h) Change-Id: Iff8d864892a2a53dc79a124d1072875ae02e6a48 --- diff --git a/jjb/it-dep/it-dep.yaml b/jjb/it-dep/it-dep.yaml new file mode 100644 index 00000000..94d4faf2 --- /dev/null +++ b/jjb/it-dep/it-dep.yaml @@ -0,0 +1,52 @@ +--- +- project: + name: it-dep-project-view + project-name: it-dep + views: + - project-view + +- project: + name: it-dep-info + project: it/dep + project-name: it-dep + build-node: centos7-builder-1c-1g + jobs: + - gerrit-info-yaml-verify + +- it_dep_common: &it_dep_common + # values apply to all RIC docker-build projects. + # use a specific name to prevent reuse attempts + # bcos anchors don't cross document boundaries. + name: it-dep-docker-common + build-node: ubuntu1804-docker-4c-4g + # pull from the public mirror + releases registry + container-public-registry: nexus3.o-ran-sc.org:10001 + # push to the staging repo bcos all builds are RCs + container-push-registry: nexus3.o-ran-sc.org:10004 + # use host network to clone from our gerrit + docker-build-args: '--network=host' + # source of docker tag + container-tag-method: yaml-file + stream: + - master: + branch: master + +- project: + # Verify helm charts using a Docker build process. + # no image needs to be pushed, so there is no merge job. + name: it-dep-helm + # git repo + project: it/dep + # jenkins job name prefix + project-name: '{name}' + # image name + docker-name: '{name}' + # dockerfile is in subdir + docker-build-args: -f ci/Dockerfile + # any tag will do + container-tag-method: latest + # maven settings file has docker credentials + mvn-settings: it-dep-settings + jobs: + - gerrit-docker-verify + <<: *it_dep_common