Add trigger file path to A1 docker and verify jobs
[ci-management.git] / jjb / ric-plt-a1 / ric-plt-a1.yaml
index d4f5ade..d8338ec 100644 (file)
     # use host network
     docker-build-args: '--network=host'
     build-node: ubuntu1804-docker-4c-4g
+    # do not trigger on changes in docs, releases
+    gerrit_trigger_file_paths:
+        - compare-type: REG_EXP
+          pattern: '^((?!docs/|?!releases/|\/COMMIT_MSG).)*$'
     stream:
       - master:
           branch: master
     # the install script assumes an ubuntu image
     build-node: ubuntu1804-builder-2c-2g
     pre-build-script: !include-raw-escape:
-      - ../shell/install-deb-nng-rmr.sh
+      - ../shell/install-deb-rmr.sh
     python-version: python3
+    # skip docs on verify
+    tox-envs: code,flake8
+    # do not trigger on changes in docs, releases
+    gerrit_trigger_file_paths:
+        - compare-type: REG_EXP
+          pattern: '^((?!docs/|?!releases/|\/COMMIT_MSG).)*$'
     stream:
       # run verify on all branches
       # the ANT pattern is **/{branch}, we are exploiting that.
 
 - project:
     <<: *a1_common
-    name: ric-plt-a1-nexusiq-clm
+    name: ric-plt-a1-nexus-iq
     build-node: centos7-builder-1c-1g
     nexus-iq-namespace: oran-
     jobs:
-      - gerrit-python-xc-clm
+      - gerrit-tox-nexus-iq-clm
 
 - project:
     <<: *a1_common
@@ -70,7 +80,7 @@
     # the install script assumes an ubuntu image
     build-node: ubuntu1804-builder-2c-2g
     pre-build-script: !include-raw-escape:
-      - ../shell/install-deb-nng-rmr.sh
+      - ../shell/install-deb-rmr.sh
     sonar-project-file: ""
     sonar-properties: |
         sonar.login={sonarcloud_api_token}