From: Anil Belur Date: Wed, 13 Dec 2023 11:32:51 +0000 (+1000) Subject: Fix: Add HCL file extentions to regex X-Git-Tag: v0.89.7~1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=5bc43777b8cf4be50be6b9ae3ea25c864daadf46;p=releng%2Fglobal-jjb.git Fix: Add HCL file extentions to regex Add regex with HCL file extensions to trigger merge jobs when HCL file format is found. Issue: RELENG-5048 Change-Id: I9396cc252e70939f97b9fddbffb68f4f82051b26 Signed-off-by: Anil Belur --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 65c95f20..9e346e42 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -1576,6 +1576,10 @@ pattern: 'packer\/common-packer\/templates\/{templates}\.json' - compare-type: REG_EXP pattern: 'packer\/common-packer\/vars\/{platforms}\.json' + - compare-type: REG_EXP + pattern: 'packer\/common-packer\/templates\/{templates}\.hcl' + - compare-type: REG_EXP + pattern: 'packer\/common-packer\/vars\/{platforms}\.pkrvars.hcl' - job-template: name: "{project-name}-packer-merge-{platforms}-{templates}" diff --git a/releasenotes/notes/add-packer-file-ext-1005156b56abc555.yaml b/releasenotes/notes/add-packer-file-ext-1005156b56abc555.yaml new file mode 100644 index 00000000..47ed3ab2 --- /dev/null +++ b/releasenotes/notes/add-packer-file-ext-1005156b56abc555.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Add regex with HCL file extensions to trigger merge jobs when + HCL file format is found.