summaryrefslogtreecommitdiffstats
path: root/jjb/armband/armband-deploy.sh
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2016-05-11 11:12:23 +0200
committerJosep Puigdemont <josep.puigdemont@enea.com>2016-05-11 11:12:23 +0200
commitaccf6fb545a8c406cc5cb3f6c6f502d7419fb7b9 (patch)
treea436e286d900150ac3646fa85c9c4580a59c4528 /jjb/armband/armband-deploy.sh
parente633e433df62fe13838052f7e0c3d23645368fd7 (diff)
armband-deploy.sh: allow running on arm lab
Change-Id: I5b261885585fd9e902b3a7513a6d07881e849976 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Diffstat (limited to 'jjb/armband/armband-deploy.sh')
-rwxr-xr-xjjb/armband/armband-deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/armband/armband-deploy.sh b/jjb/armband/armband-deploy.sh
index 222a388e6..d6a78e2d6 100755
--- a/jjb/armband/armband-deploy.sh
+++ b/jjb/armband/armband-deploy.sh
@@ -36,7 +36,7 @@ LAB_NAME=${NODE_NAME/-*}
POD_NAME=${NODE_NAME/*-}
# we currently support enea
-if [[ ! "$LAB_NAME" =~ "enea" ]]; then
+if [[ ! $LAB_NAME =~ (arm|enea) ]]; then
echo "Unsupported/unidentified lab $LAB_NAME. Cannot continue!"
exit 1
else