Add verify and merge jobs for ric-plt/e2mgr 56/356/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Mon, 17 Jun 2019 19:24:31 +0000 (15:24 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Mon, 17 Jun 2019 19:24:31 +0000 (15:24 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Iacb3723a169e56df6945587d16b0fd2bb5af7106

jjb/ric-plt-e2mgr/ric-plt-e2mgr.yaml [new file with mode: 0644]

diff --git a/jjb/ric-plt-e2mgr/ric-plt-e2mgr.yaml b/jjb/ric-plt-e2mgr/ric-plt-e2mgr.yaml
new file mode 100644 (file)
index 0000000..b78eb71
--- /dev/null
@@ -0,0 +1,50 @@
+---
+- project:
+    name: ric-plt-e2mgr-project-view
+    project-name: ric-plt-e2mgr
+    views:
+      - project-view
+
+- e2mgr_docker_common: &e2mgr_docker_common
+    # values apply to all RIC docker-build projects.
+    # factored out in case this needs multiple projects.
+    # use a specific name to prevent reuse attempts
+    # bcos anchors don't cross document boundaries.
+    name: e2mgr-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:
+    name: ric-plt-e2mgr
+    # git repo
+    project: ric-plt/e2mgr
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-e2mgr-settings
+    # Dockerfile is in a subdir
+    docker-root: E2Manager
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *e2mgr_docker_common
+
+- project:
+    name: ric-plt-e2mgr-info
+    project: ric-plt/e2mgr
+    project-name: ric-plt-e2mgr
+    build-node: centos7-builder-1c-1g
+
+    jobs:
+      - gerrit-info-yaml-verify