Feat!: Update JJB version to 6x 11/12511/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 7 Feb 2024 09:49:29 +0000 (19:49 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 7 Feb 2024 09:49:29 +0000 (19:49 +1000)
Jenkins Job Builder 6.0.0 is released and breaks backward
compatibility with 5.1.0.

The breaking changes with previous 5.1.0 release:

- Jobs are now expanded the same way as job templates.
- Macros without parameters are now expanded the same way as macros
  with parameters.
- Tags !include-raw: and !include-raw-escape: should now be used the
  same way in jobs and macros without parameters as they are used in
  job templates and macros with parameters.
- Update pre-commit dependencies

Ref:
https://storyboard.openstack.org/#!/story/2010963
https://storyboard.openstack.org/#!/story/2010588

NOTE: Set the var "JJB_VERSION" to "6.0.0" at the GH orginazation
level for GHA JJB Verify to pick up the latest version of JJB.

Issue: LF-JIRA RELENG-5119
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ifaff7de14e36e703110d32bfaba0af6cb6c3b4fb

.pre-commit-config.yaml
global-jjb
tox.ini

index ea2aa9f..cfceb84 100644 (file)
@@ -4,25 +4,25 @@ default_language_version:
   node: "14.13.0"
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.2.0
+    rev: v4.5.0
     hooks:
       - id: check-json
       - id: trailing-whitespace
 
   - repo: https://github.com/pre-commit/mirrors-prettier
-    rev: v2.6.2
+    rev: v4.0.0-alpha.8
     hooks:
       - id: prettier
         stages: [commit]
 
   - repo: https://github.com/jorisroovers/gitlint
-    rev: v0.17.0
+    rev: v0.19.1
     hooks:
       - id: gitlint
         stages: [commit-msg]
 
   - repo: https://github.com/jumanjihouse/pre-commit-hooks
-    rev: 2.1.6
+    rev: 3.0.0
     hooks:
       - id: shellcheck
         exclude: >
@@ -33,6 +33,6 @@ repos:
           )$
 
   - repo: https://github.com/adrienverge/yamllint
-    rev: v1.26.3
+    rev: v1.34.0
     hooks:
       - id: yamllint
index 766dbef..5d33657 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 766dbef8a63d824d6e551d4f179806521be95d13
+Subproject commit 5d336574e77fb349ace15356ef8ffb816d463544
diff --git a/tox.ini b/tox.ini
index 56241b1..72ca649 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ skipsdist = true
 
 [testenv:jenkins-jobs]
 deps =
-    jenkins-job-builder=={env:JJB_VERSION:5.0.2}
+    jenkins-job-builder=={env:JJB_VERSION:5.1.0}
 commands =
     jenkins-jobs {posargs:--help}