Make it possible to disable result reporting
We might want to skip reporting for development purposes so
a new parameter POD_NAME is introduced for this. It is set to
est-cloud by default and can be overriden to disable reporting.
Change-Id: I88d50565a116b45edf588246fcb75c42ea7a9353
diff --git a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
index 8328d94..dc94ae6 100644
--- a/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
+++ b/jjb/cloud-infra/cloud-infra-periodic-onap.yaml
@@ -59,6 +59,7 @@
type:
- cloud:
+ pod-name: est-cloud
provisioner-type: heat
installer-type: kubespray
slave-label: 'jumphost-onap-ubuntu1804'
@@ -133,6 +134,10 @@
name: DEPLOY_SCENARIO_REFSPEC
default: '{deploy-scenario-refspec}'
description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
+ - string:
+ name: POD_NAME
+ default: '{pod-name}'
+ description: 'Development purposes only! Set to none for disabling test results DB reporting.'
properties:
- logrotate
@@ -188,6 +193,7 @@
DEPLOY_SCENARIO=$DEPLOY_SCENARIO
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=$ONAP_FLAVOR
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -215,6 +221,7 @@
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=full
TEST_TYPE=oom-healthcheck
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -242,6 +249,7 @@
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=core
TEST_TYPE=onap-healthcheck
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -265,6 +273,7 @@
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=small
TEST_TYPE=onap-healthcheck
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -288,6 +297,7 @@
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=medium
TEST_TYPE=onap-healthcheck
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -311,6 +321,7 @@
ONAP_VERSION=$ONAP_VERSION
ONAP_FLAVOR=full
TEST_TYPE=onap-healthcheck
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
@@ -337,6 +348,7 @@
ONAP_FLAVOR=$ONAP_FLAVOR
ENGINE_VERSION=$ENGINE_VERSION
ENGINE_REFSPEC=$ENGINE_REFSPEC
+ POD_NAME=$POD_NAME
STACK_NAME=$STACK_NAME
DEPLOY_SCENARIO_VERSION=$DEPLOY_SCENARIO_VERSION
DEPLOY_SCENARIO_REFSPEC=$DEPLOY_SCENARIO_REFSPEC
@@ -447,6 +459,10 @@
name: DEPLOY_SCENARIO_REFSPEC
default: '{deploy-scenario-refspec}'
description: 'Development purposes only! Nordix Cloud Infra Scenario version to use for deploying ONAP. Depends on DEPLOY_SCENARIO_VERSION and must be refspec.'
+ - string:
+ name: POD_NAME
+ default: '{pod-name}'
+ description: 'Development purposes only! Set to none for disabling test results DB reporting.'
wrappers:
- credentials-binding: