Refactor!: JJB code to comply with v5.x 52/71552/8
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 13 Apr 2023 03:20:36 +0000 (13:20 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 13 Apr 2023 13:41:56 +0000 (23:41 +1000)
commit20762ac6f51ffe83e0c4ba53f7542e0e56619084
treee09148370c979180a84d89a865888ff8abcf5560
parentf02f2f445600af0b0b116bee97bf5d76629ad4b4
Refactor!: JJB code to comply with v5.x

There has been an update to the YAML parser with more fine-tuned
control over YAML parsing. YAML objects and parameter expansion logic
is in accordance with the latest YAML specification 1.2.2 (released
in Oct 2021).

Notable changes include:
- Aggressive parameter expansion. This may lead to parameters expanded
in places where they were not expanded before.
- Recursive parameters usage is being treated as error.
- Strict checking for missing parameters.
- Files included using '!include-raw:' elements and having formatting
  it path ('lazy-loaded' in previous implementation) are now expanded too.
  Use '!include-raw-escape:' for them instead.

NOTE: this is a beaking change would have potential impact many of jobs
in global-jjb and in ci-man repo that DO NOT use global-jjb templates.

Issue: RELENG-4686
Change-Id: Ie7417956bdcf5f4d6477dbff87baca6b1b8aeeaf
Ref: https://groups.google.com/u/2/g/jenkins-job-builder/c/1fx7PmADgXw
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
27 files changed:
.jjb-test/lf-c-cpp-jobs.yaml
.jjb-test/lf-ci-jobs.yaml
.jjb-test/lf-ci-jobs/openstack-update-cloud-image-full.yaml
.jjb-test/lf-go-jobs/go-jobs.yaml
.jjb-test/lf-maven-jobs.yaml
.jjb-test/lf-maven-jobs/lf-maven-docker-jobs.yaml
.jjb-test/lf-node-jobs.yaml
.jjb-test/lf-python-jobs.yaml
.jjb-test/lf-release-jobs.yaml
.jjb-test/lf-rtd-jobs.yaml
jjb/lf-c-cpp-jobs.yaml
jjb/lf-ci-jobs.yaml
jjb/lf-docker-jobs.yaml
jjb/lf-go-jobs.yaml
jjb/lf-info-vote.yaml
jjb/lf-maven-jobs.yaml
jjb/lf-node-jobs.yaml
jjb/lf-pipeline-jobs.yaml
jjb/lf-python-jobs.yaml
jjb/lf-release-jobs.yaml
jjb/lf-release-management-jobs.yaml
jjb/lf-rtd-jobs.yaml
jjb/lf-rtdv3-jobs.yaml
jjb/lf-views.yaml
jjb/lf-whitesource-jobs.yaml
releasenotes/notes/upgrade-jjb-to-5x-908aaa15a97d8c2b.yaml [new file with mode: 0644]
tox.ini