Switch reclass-system to use testing formulas
Those models are used for testing patches to reclass-system repo.
Due to rapid changes of nightly repo we can't use this for long
heavy builds. Furthermore we assume there is gate on component level
between nightly ---> testing that should catch errors on component
level.
This patch switch tests for different cluster to use salt formulas
from testing repo.
Change-Id: I14b38080e1568ca28df9c286ac3b743d8f533610
Related-Prod: PROD-21007
diff --git a/test-system-reclass-pipeline.groovy b/test-system-reclass-pipeline.groovy
index 7fc1181..fa16739 100644
--- a/test-system-reclass-pipeline.groovy
+++ b/test-system-reclass-pipeline.groovy
@@ -26,6 +26,7 @@
def checkouted = false
def merged = false
def systemRefspec = "HEAD"
+def formulasRevision = 'testing'
timeout(time: 12, unit: 'HOURS') {
node() {
try {
@@ -71,14 +72,17 @@
[$class: 'StringParameterValue', name: 'DEFAULT_GIT_URL', value: clusterGitUrl],
[$class: 'StringParameterValue', name: 'DEFAULT_GIT_REF', value: "HEAD"],
[$class: 'StringParameterValue', name: 'SYSTEM_GIT_URL', value: defaultGitUrl],
- [$class: 'StringParameterValue', name: 'SYSTEM_GIT_REF', value: systemRefspec]
+ [$class: 'StringParameterValue', name: 'SYSTEM_GIT_REF', value: systemRefspec],
+ [$class: 'StringParameterValue', name: 'FORMULAS_REVISION', value: formulasRevision],
]
}
}
branches["cookiecutter"] = {
build job: "test-mk-cookiecutter-templates", parameters: [
[$class: 'StringParameterValue', name: 'SYSTEM_GIT_URL', value: defaultGitUrl],
- [$class: 'StringParameterValue', name: 'SYSTEM_GIT_REF', value: systemRefspec]
+ [$class: 'StringParameterValue', name: 'SYSTEM_GIT_REF', value: systemRefspec],
+ [$class: 'StringParameterValue', name: 'DISTRIB_REVISION', value: formulasRevision]
+
]
}
parallel branches