Fix k8s tests run in CI 54/3354/2
authorDANIEL STOICA <daniel.stoica@enea.com>
Tue, 14 Apr 2020 08:28:14 +0000 (11:28 +0300)
committerDaniel Stoica <daniel.stoica@enea.com>
Tue, 14 Apr 2020 09:02:00 +0000 (09:02 +0000)
Enable k8s config file transfer if layer is empty

JIRA: IEC-41

Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Change-Id: Iac7772326271c811efd714bc9f66309581ff4dc1

jjb/shell/run_bluval.sh

index 76f8766..fc16781 100755 (executable)
@@ -107,7 +107,7 @@ cluster_master_ip=${cluster_master_ip:-$CLUSTER_MASTER_IP}
 ssh_user=${sh_user:-$CLUSTER_SSH_USER}
 blueprint_layer=${blueprint_layer:-$LAYER}
 
-if [ "$blueprint_layer" == "k8s" ]
+if [ "$blueprint_layer" == "k8s" ] || [ -z "$blueprint_layer" ]
 then
     if [ -z "$cluster_master_ip" ]
     then