Includes gerrit_trigger_file_paths and github_included_regions.
In documention: add github_included_regions parameter and
correct gerrit_verify_triggers to gerrit_merge_triggers.
Change-Id: If1dd342d9fe8591028cd1fabcb7c830e41df2fe5
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
(default: 10)
:gerrit_verify_triggers: Override Gerrit Triggers.
- :gerrit_trigger_file_paths: Override file paths which can be used to
- filter which file modifications will trigger a build.
+ :gerrit_trigger_file_paths: Override Gerrit file paths which can be
+ used to filter which file modifications will trigger a build.
+ :github_included_regions: Override Github file paths which can be
+ used to filter which file modifications will trigger a build;
+ must match parameter gerrit_trigger_file_paths
+
container-tag.yaml example:
:submodule-timeout: Timeout (in minutes) for checkout operation.
(default: 10)
- :gerrit_verify_triggers: Override Gerrit Triggers.
- :gerrit_trigger_file_paths: Override file paths which can be used to
- filter which file modifications will trigger a build.
+ :gerrit_merge_triggers: Override Gerrit Triggers.
+ :gerrit_trigger_file_paths: Override Gerrit file paths which can be
+ used to filter which file modifications will trigger a build.
+ :github_included_regions: Override Github file paths which can be
+ used to filter which file modifications will trigger a build;
+ must match parameter gerrit_trigger_file_paths
container-tag.yaml example:
- comment-added-contains-event:
comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$'
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '.*'
+
+ # github_included_regions MUST match gerrit_trigger_file_paths
+ github_included_regions:
+ - '.*'
+
builders:
- lf-infra-pre-build
- lf-infra-docker-login:
- comment-added-contains-event:
comment-contains-value: remerge$
+ gerrit_trigger_file_paths:
+ - compare-type: REG_EXP
+ pattern: '.*'
+
+ # github_included_regions MUST match gerrit_trigger_file_paths
+ github_included_regions:
+ - '.*'
+
builders:
- lf-infra-pre-build
- lf-infra-docker-login:
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
+ file-paths: '{obj:gerrit_trigger_file_paths}'
- job-template:
name: '{project-name}-docker-verify-{stream}'
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
+ file-paths: '{obj:gerrit_trigger_file_paths}'
- job-template:
name: '{project-name}-docker-merge-{stream}'
--- /dev/null
+---
+fixes:
+ - |
+ Add missing config for triggering on file paths to docker macros and templates,
+ namely gerrit_trigger_file_paths and github_included_regions, to make the verify
+ and merge macros and templates match the behavior of other jobs.