Merge "OSC NONRTRIC Add Jenkins jobs for test helloworld servicestub"
authorJohn Keeney <john.keeney@est.tech>
Fri, 8 Dec 2023 15:28:49 +0000 (15:28 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Fri, 8 Dec 2023 15:28:49 +0000 (15:28 +0000)
jjb/nonrtric/nonrtric.yaml

index 633d6e1..718c0f6 100644 (file)
       - master:
           branch: master
 
+- project:
+    <<: *nonrtric_jdk_common
+    name: nonrtric-test-servicestub
+    project-name: "{name}"
+    # image name
+    docker-name: "servicestub"
+    # 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: "test/servicestub"
+    # Directory where go test should be run
+    # Limit build trigger to appropriate files
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "test/servicestub/.*"
+    build-node: ubuntu1804-docker-4c-4g
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+    stream:
+      - master:
+          branch: master
+
 - project:
     <<: *nonrtric_jdk_common
     name: nonrtric-test-mrstub