Define Docker-based verify job for helm charts 85/585/2
authorLott, Christopher (cl778h) <cl778h@att.com>
Mon, 29 Jul 2019 19:07:01 +0000 (15:07 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Mon, 29 Jul 2019 19:10:54 +0000 (15:10 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Iff8d864892a2a53dc79a124d1072875ae02e6a48

jjb/it-dep/it-dep.yaml [new file with mode: 0644]

diff --git a/jjb/it-dep/it-dep.yaml b/jjb/it-dep/it-dep.yaml
new file mode 100644 (file)
index 0000000..94d4faf
--- /dev/null
@@ -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