Merge "Add self-release jobs to portal/ric-dashboard"
authorEric Ball <eball@linuxfoundation.org>
Sat, 16 Nov 2019 00:30:10 +0000 (00:30 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Sat, 16 Nov 2019 00:30:10 +0000 (00:30 +0000)
jjb/ric-app-ml/ric-app-ml.yaml [new file with mode: 0644]

diff --git a/jjb/ric-app-ml/ric-app-ml.yaml b/jjb/ric-app-ml/ric-app-ml.yaml
new file mode 100644 (file)
index 0000000..88f4481
--- /dev/null
@@ -0,0 +1,44 @@
+---
+- project:
+    name: ric-app-ml-project-view
+    project-name: ric-app-ml
+    views:
+      - project-view
+
+- project:
+    name: ric-app-ml-info
+    project: ric-app/ml
+    project-name: ric-app-ml
+    build-node: centos7-builder-1c-1g
+    jobs:
+      - gerrit-info-yaml-verify
+
+- ric_app_ml_docker_common: &ric_app_ml_docker_common
+    # values apply to all ml docker projects
+    name: ric-app-ml-docker-common
+    # git repo
+    project: ric-app/ml
+    # jenkins job name prefix
+    project-name: ric-app-ml
+    # maven settings file has docker credentials
+    mvn-settings: ric-app-ml-settings
+
+- project:
+    <<: *ric_app_ml_docker_common
+    name: ric-app-ml
+    # image name
+    docker-name: '{name}'
+    # root of docker build
+    docker-root: AcumosXappAdapter
+    # source of docker tag
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: '--network=host'
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: '{docker-root}/.*'
+    jobs:
+      - '{project-name}-gerrit-docker-jobs'
+    stream:
+      - master:
+          branch: master