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
# use host network
docker-build-args: '--network=host'
build-node: ubuntu1804-docker-4c-4g
# 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
stream:
- master:
branch: master
python-version: python3
# skip docs on verify
tox-envs: code,flake8
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.
stream:
# run verify on all branches
# the ANT pattern is **/{branch}, we are exploiting that.