Pin reclass to 1.4.1 on test-salt-model-node jobs
In original reclass it is allowed to override (clear lists/dicts)
by using the following constructions:
a.yml:
list:
- a
- b
b.yml
classes:
- a
parameter:
list:
a~
c.yml
classes:
- b
parameter:
list:
- c
In latest version v1.5.2 and v1.5.3 this is not allowed by default and new syntax
was introduced. The same may be archived by using the following constructions:
a.yml:
list:
- a
- b
c.yml
classes:
- a
parameter:
~list: [d]
We have to pin reclass on model rendering jobs (test-salt-model-node) to latest
version that is present in our repos (as actually this is what our customers are using),
and when new version of reclass is packaged we can smoothly switch to new reclass version.
Change-Id: I68da60764c9b32dbfc809c9d5469082329967dfe
Related-Prod: PROD-20425
diff --git a/jenkins/client/job/salt-models/tests.yml b/jenkins/client/job/salt-models/tests.yml
index 80135b5..d2b8fee 100644
--- a/jenkins/client/job/salt-models/tests.yml
+++ b/jenkins/client/job/salt-models/tests.yml
@@ -350,7 +350,11 @@
default: ""
RECLASS_VERSION:
type: string
- default: "master"
+ # In our repos the latest reclass we using is 1.4.1. The new version 1.5.2 is not compatible
+ # by syntax with 1.4.1 more details may be found here PROD-20425.
+ # Run rendering tests against version we using on customer side, until new version of reclass is
+ # packaged and placed to our repos, so we can do smooth transition to new syntax.
+ default: "reclass-1.4.1"
description: "Version (branch) of Reclass we will use"
MAX_CPU_PER_JOB:
type: string