Add trigger file path to A1 docker and verify jobs 74/3874/1
authorLott, Christopher (cl778h) <cl778h@att.com>
Wed, 27 May 2020 13:56:11 +0000 (09:56 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Wed, 27 May 2020 13:56:11 +0000 (09:56 -0400)
Add pattern to ignore changes in docs/ and releases/ subdirectories
to skip tox-ing and docker-ing when no Python code changes.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: If2efbcb3ba647d4a62d92d4a1691e6339003d0b7

jjb/ric-plt-a1/ric-plt-a1.yaml

index 837cd05..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
     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.