Fix: Add HCL file extentions to regex 71/72471/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 13 Dec 2023 11:32:51 +0000 (21:32 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 13 Dec 2023 11:32:51 +0000 (21:32 +1000)
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 <abelur@linuxfoundation.org>
jjb/lf-ci-jobs.yaml
releasenotes/notes/add-packer-file-ext-1005156b56abc555.yaml [new file with mode: 0644]

index 65c95f2..9e346e4 100644 (file)
                   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 (file)
index 0000000..47ed3ab
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Add regex with HCL file extensions to trigger merge jobs when
+    HCL file format is found.