Merge "Add templates for ric-plt/tracelibgo project jobs"
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 15 Aug 2019 16:50:21 +0000 (16:50 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Thu, 15 Aug 2019 16:50:21 +0000 (16:50 +0000)
jjb/ric-plt-tracelibcpp/ric-plt-tracelibcpp.yaml [new file with mode: 0644]
jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml [new file with mode: 0644]

diff --git a/jjb/ric-plt-tracelibcpp/ric-plt-tracelibcpp.yaml b/jjb/ric-plt-tracelibcpp/ric-plt-tracelibcpp.yaml
new file mode 100644 (file)
index 0000000..a41dd7e
--- /dev/null
@@ -0,0 +1,40 @@
+---
+- project:
+    name: ric-plt-tracelibcpp-project-view
+    project-name: ric-plt-tracelibcpp
+    views:
+      - project-view
+
+- project:
+    name: ric-plt-tracelibcpp-info
+    project: ric-plt/tracelibcpp
+    project-name: ric-plt-tracelibcpp
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- tracelibcpp_docker_common: &tracelibcpp_docker_common
+    # values apply to all tracelibcpp docker projects
+    name: tracelibcpp-docker-common
+    # git repo
+    project: ric-plt/tracelibcpp
+    # jenkins job name prefix
+    project-name: ric-plt-tracelibcpp
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-tracelibcpp-settings
+
+- project:
+    <<: *tracelibcpp_docker_common
+    name: ric-plt-tracelibcpp
+    # image name, altho it is never pushed
+    docker-name: '{name}'
+    # use host network
+    docker-build-args: '--network=host -f ci/Dockerfile'
+    # image tag; use a fixed value
+    container-tag-method: latest
+    jobs:
+      - gerrit-docker-verify
+      - oran-gerrit-docker-ci-pc-merge
+    stream:
+      - master:
+          branch: master
diff --git a/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml b/jjb/ric-plt-vespamgr/ric-plt-vespamgr.yaml
new file mode 100644 (file)
index 0000000..df44cf9
--- /dev/null
@@ -0,0 +1,39 @@
+---
+- project:
+    name: ric-plt-vespamgr-project-view
+    project-name: ric-plt-vespamgr
+    views:
+      - project-view
+
+- project:
+    name: ric-plt-vespamgr-info
+    project: ric-plt/vespamgr
+    project-name: ric-plt-vespamgr
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- vespamgr_docker_common: &vespamgr_docker_common
+    # values apply to all vespamgr docker projects
+    name: vespamgr-docker-common
+    # git repo
+    project: ric-plt/vespamgr
+    # jenkins job name prefix
+    project-name: ric-plt-vespamgr
+    # maven settings file has docker credentials
+    mvn-settings: ric-plt-vespamgr-settings
+
+- project:
+    <<: *vespamgr_docker_common
+    name: ric-plt-vespamgr
+    # image name
+    docker-name: '{name}'
+    # source of docker tag
+    container-tag-method: yaml-file
+    # use host network
+    docker-build-args: '--network=host'
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    stream:
+      - master:
+          branch: master