CI: Disable INFO verify jobs
[ci-management.git] / jjb / nonrtric-rapp-ransliceassurance / nonrtric-rapp-ransliceassurance.yaml
index fe3bb4d..bb4f0f2 100644 (file)
@@ -5,10 +5,89 @@
     views:
       - project-view
 
-- project:
-    name: nonrtric-rapp-ransliceassurance-info
+- _ransliceassurance_common: &ransliceassurance_common
+    name: ransliceassurance-common
+    # git repo
     project: nonrtric/rapp/ransliceassurance
+    # jenkins job name prefix
+    project-name: nonrtric-rapp-ransliceassurance
+    # maven settings file has docker credentials
+    mvn-settings: nonrtric-rapp-ransliceassurance-settings
+
+- project:
+    <<: *ransliceassurance_common
+    name: nonrtric-rapp-ransliceassurance-release
+    # maven release requires sigul which requires centos
+    # container release requires docker
+    build-node: centos7-docker-2c-8g
+    jobs:
+      - "{project-name}-gerrit-release-jobs"
+
+- project:
+    <<: *ransliceassurance_common
+    name: nonrtric-rapp-ransliceassurance
+    project-name: "{name}"
+    # image name
+    docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance"
+    # get tag from YAML
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: "--network=host"
+    # Directory with Dockerfile
+    docker-root: "smoversion"
+    # Directory where go test should be run
+    go-root: "smoversion"
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+      - gerrit-go-verify
+    stream:
+      - master:
+          branch: master
+      - f-release:
+          branch: f-release
+      - g-release:
+          branch: g-release
+
+- project:
+    <<: *ransliceassurance_common
+    name: nonrtric-rapp-ransliceassurance-icsversion
+    project-name: "{name}"
+    # image name
+    docker-name: "o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion"
+    # get tag from YAML
+    container-tag-method: yaml-file
+    # use host network to clone from our gerrit
+    docker-build-args: "--network=host"
+    # Directory with Dockerfile
+    docker-root: "icsversion"
+    # Directory where go test should be run
+    go-root: "icsversion"
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+      - gerrit-go-verify
+    stream:
+      - master:
+          branch: master
+      - f-release:
+          branch: f-release
+      - g-release:
+          branch: g-release
+
+- project:
+    <<: *ransliceassurance_common
+    name: nonrtric-rapp-ransliceassurance-sonar
     project-name: nonrtric-rapp-ransliceassurance
-    build-node: centos7-builder-1c-1g
+    # prescan script requires ubuntu
+    # golang is only on docker-enabled nodes
+    build-node: ubuntu1804-docker-4c-4g
+    sonar-prescan-script: !include-raw-escape: prescan-ransliceassurance-ubuntu.sh
+    sonar-project-file: ""
+    java-version: openjdk11
+    # use sonarcloud values from defaults.yaml
+    sonar-properties: !include-raw-escape: sonar-project.properties
     jobs:
-      - gerrit-info-yaml-verify
+      - gerrit-sonar-prescan-script