NONRTRIC: Updating sample rapp build job 72/13572/5
authorlapentafd <francesco.lapenta@est.tech>
Thu, 10 Oct 2024 13:06:05 +0000 (14:06 +0100)
committerFrancesco Davide Lapenta <francesco.lapenta@est.tech>
Fri, 11 Oct 2024 09:43:39 +0000 (09:43 +0000)
Issue-ID: NONRTRIC-1009
Change-Id: I8b5925a3cca925e81c981fd065e13c3a5c665ec9
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
jjb/nonrtric/ics-producer-consumer-tests.sh
jjb/nonrtric/nonrtric.yaml

index 2fbefc4..f052e49 100755 (executable)
@@ -2,8 +2,13 @@
 
 set -eux -o pipefail
 
-echo "Starting ics-producer-consumer-tests.sh which will execute sample-services/ics-producer-consumer/start.sh"
+echo "Starting ics-producer-consumer-tests.sh"
+echo "Executing sample-services/ics-producer-consumer/start.sh"
 cd sample-services/ics-producer-consumer
 bash start.sh
-
-echo "Finished ics-producer-consumer-tests.sh"
\ No newline at end of file
+echo "Finished Test 1"
+echo "Executing sample-services/ics-simple-producer-consumer/tests/start_ics_producer_consumer_test.sh"
+cd ../../sample-services/ics-simple-producer-consumer/tests/
+bash start_ics_producer_consumer_test.sh
+echo "Finished Test 1"
+echo "Finished ics-producer-consumer-tests.sh"
index 0353ea8..a075cb8 100644 (file)
     stream:
       - master:
           branch: master
-      - g-release:
-          java-version: openjdk11
-          branch: g-release
       - h-release:
           branch: h-release
       - i-release:
           branch: i-release
+      - j-release:
+          branch: j-release
 
 # Jobs to verify / build sample uService images
 - project:
@@ -82,6 +81,8 @@
     stream:
       - master:
           branch: master
+      - j-release:
+          branch: j-release
 
 - project:
     <<: *nonrtric_docker_common
     stream:
       - master:
           branch: master
+      - j-release:
+          branch: j-release
 
 - project:
     <<: *nonrtric_docker_common
     stream:
       - master:
           branch: master
+      - j-release:
+          branch: j-release
 
 - project:
     <<: *nonrtric_docker_common
     stream:
       - master:
           branch: master
+      - j-release:
+          branch: j-release
+
+- project:
+    <<: *nonrtric_docker_common
+    name: nonrtric-sample-simplekafkaproducer
+    project-name: "{name}"
+    # image name
+    docker-name: "o-ran-sc/nonrtric-simple-icsproducer"
+    # Directory with Dockerfile
+    docker-root: "sample-services/ics-simple-producer-consumer/kafka-producer"
+    # Limit build trigger to appropriate files
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "sample-services/ics-simple-producer-consumer/.*"
+    build-node: ubuntu1804-docker-4c-4g
+    post_docker_build_script: !include-raw-escape:
+      - ics-producer-consumer-tests.sh
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+    stream:
+      - master:
+          branch: master
+
+- project:
+    <<: *nonrtric_docker_common
+    name: nonrtric-sample-simplekafkaconsumer
+    project-name: "{name}"
+    # image name
+    docker-name: "o-ran-sc/nonrtric-simple-icsconsumer"
+    # Directory with Dockerfile
+    docker-root: "sample-services/ics-simple-producer-consumer/kafka-consumer"
+    # Limit build trigger to appropriate files
+    gerrit_trigger_file_paths:
+      - compare-type: REG_EXP
+        pattern: "sample-services/ics-simple-producer-consumer/.*"
+    build-node: ubuntu1804-docker-4c-4g
+    post_docker_build_script: !include-raw-escape:
+      - ics-producer-consumer-tests.sh
+    # Includes verify and merge jobs
+    jobs:
+      - "{project-name}-gerrit-docker-jobs"
+    stream:
+      - master:
+          branch: master
 
 # Jobs to verify / build images for testing
 - project: