Define jobs for ric-app/mc repository 98/498/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 10 Jul 2019 20:10:45 +0000 (16:10 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 10 Jul 2019 20:10:45 +0000 (16:10 -0400)
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Ie3c6bbd16500228cf8200009ab560d20bf2dfe5a

jjb/ric-app-mc/ric-app-mc.yaml [new file with mode: 0644]

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