Refactor: JJB code
[ci-management.git] / jjb / it-dev / it-dev-docker.yaml
index c58b7ac..a9660dc 100644 (file)
@@ -2,31 +2,31 @@
 # Job configurations for base docker build images
 
 # This macro factors out common configuration
-- it_dev_docker_common: &it_dev_docker_common
+- _it_dev_docker_common: &it_dev_docker_common
     name: it-dev-docker-common
     # git repo
     project: it/dev
     # maven settings file has docker credentials
     mvn-settings: it-dev-settings
     # build every Saturday
-    cron: 'H H * * 6'
+    cron: "H H * * 6"
     # use host network to clone from our gerrit
-    docker-build-args: '--network=host'
+    docker-build-args: "--network=host"
     # get tag from YAML
     container-tag-method: yaml-file
     # Jenkins job prefix
-    project-name: 'it-dev-{name}'
+    project-name: "it-dev-{name}"
     # Docker image name
-    docker-name: '{name}'
+    docker-name: "o-ran-sc/{name}"
     # Directory with Dockerfile
-    docker-root: 'bldr-imgs/{name}'
+    docker-root: "bldr-imgs/{name}"
     # Limit build trigger to appropriate files;
     gerrit_trigger_file_paths:
       - compare-type: REG_EXP
-        pattern: 'bldr-imgs/{name}/.*'
+        pattern: "bldr-imgs/{name}/.*"
     # Includes verify and merge jobs
     jobs:
-      - '{project-name}-gerrit-docker-jobs'
+      - "{project-name}-gerrit-docker-jobs"
     # Only build master branch
     stream:
       - master:
     name: bldr-alpine3-go
     <<: *it_dev_docker_common
 
+- project:
+    name: bldr-alpine3-mdclog
+    <<: *it_dev_docker_common
+
 - project:
     name: bldr-alpine3-rmr
     <<: *it_dev_docker_common
@@ -50,3 +54,7 @@
 - project:
     name: bldr-ubuntu18-c-go
     <<: *it_dev_docker_common
+
+- project:
+    name: bldr-ubuntu20-c-go
+    <<: *it_dev_docker_common