This change:
https://gerrit.acumos.org/r/c/ci-management/+/4979
The project section has:
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: '^((?!migrate-cms-to-cds|\/COMMIT_MSG).)*$'
This is overwriting the default parameters of this job.
gerrit_trigger_file_paths:
- compare-type: REG_EXP
pattern: "releases/*.yaml"
I belive I should hard code this value so that this
does not happen.
Pattern going forward will actually support
pattern: '(releases\/.*\.yaml|\.releases\/.*\.yaml)'
I will update 16470 and hard code as well, if this is
merged.
ISSUE: RELENG-2316
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: Ib520672a548f34762c723972152abea898cd98a8
- lf_release_common: &lf_release_common
name: lf-release-common
- ######################
- # Default parameters #
- ######################
-
- gerrit_trigger_file_paths:
- - compare-type: ANT
- pattern: "releases/*.yaml"
-
#####################
# Job Configuration #
#####################
branches:
- branch-compare-type: "ANT"
branch-pattern: "**"
- file-paths: "{obj:gerrit_trigger_file_paths}"
+ file-paths:
+ - compare-type: ANT
+ pattern: "releases/*.yaml"
skip-vote:
successful: "{gerrit-skip-vote}"
failed: "{gerrit-skip-vote}"
branches:
- branch-compare-type: "ANT"
branch-pattern: "**"
- file-paths: "{obj:gerrit_trigger_file_paths}"
+ file-paths:
+ - compare-type: ANT
+ pattern: "releases/*.yaml"
--- /dev/null
+---
+fixes:
+ - |
+ Project job sections that define gerrit_trigger_file_paths
+ are overriding ones set in Default parameters of
+ lf_release_common
+ Hard Code gerrit_trigger_file_paths to fix this.