From: Lott, Christopher (cl778h) Date: Wed, 27 May 2020 13:56:11 +0000 (-0400) Subject: Add trigger file path to A1 docker and verify jobs X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=c48e438f4f068770cf16b1bcbf7cac25c830b59b Add trigger file path to A1 docker and verify jobs 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) Change-Id: If2efbcb3ba647d4a62d92d4a1691e6339003d0b7 --- diff --git a/jjb/ric-plt-a1/ric-plt-a1.yaml b/jjb/ric-plt-a1/ric-plt-a1.yaml index 837cd055..d8338ec4 100644 --- a/jjb/ric-plt-a1/ric-plt-a1.yaml +++ b/jjb/ric-plt-a1/ric-plt-a1.yaml @@ -33,6 +33,10 @@ # 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 @@ -49,6 +53,10 @@ 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.