From c48e438f4f068770cf16b1bcbf7cac25c830b59b Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Wed, 27 May 2020 09:56:11 -0400 Subject: [PATCH] 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 --- jjb/ric-plt-a1/ric-plt-a1.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.16.6