Add Jenkins verify and merge jobs for AC xApp 51/251/4
authorAshwin Sridharan <asridharan@research.att.com>
Tue, 4 Jun 2019 18:11:34 +0000 (14:11 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Tue, 4 Jun 2019 19:04:20 +0000 (15:04 -0400)
This builds an image to be pushed to the LF registry.

Signed-off-by: Ashwin Sridharan <asridharan@research.att.com>
Change-Id: I40cd66a67fe91a38b68d6495f3ea1a246918f622
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
jjb/ric-app-admin/ric-app-admin.yaml [new file with mode: 0644]

diff --git a/jjb/ric-app-admin/ric-app-admin.yaml b/jjb/ric-app-admin/ric-app-admin.yaml
new file mode 100644 (file)
index 0000000..7a05a1c
--- /dev/null
@@ -0,0 +1,40 @@
+---
+- project:
+    name: ric-app-admin-project-view
+    project-name: ric-app-admin
+    views:
+      - project-view
+
+- admin_docker_common: &admin_docker_common
+    # values apply to all RIC docker-build projects.
+    # factored out in case ric-app-admin needs multiple projects.
+    # use a specific name to prevent reuse attempts
+    # bcos anchors don't cross document boundaries.
+    name: admin-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
+    docker-use-params-from: yaml-file-params
+    stream:
+      - master:
+          branch: master
+
+- project:
+    name: ric-app-admin
+    # git repo
+    project: ric-app/admin
+    # jenkins job name prefix
+    project-name: '{name}'
+    # image name
+    docker-name: '{name}'
+    # maven settings file has docker credentials
+    mvn-settings: ric-app-admin-settings
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    <<: *admin_docker_common
+