ci/deploy.sh: Do not pass SSH_KEY to Fuel deploy 59/37659/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 18 Jul 2017 00:18:44 +0000 (02:18 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 18 Jul 2017 00:23:02 +0000 (02:23 +0200)
OPNFV Jenkins jobs for Fuel and Armband define the variable SSH_KEY,
which gets passed down to Fuel's ci/deploy.sh, leading to a conflict
between the original key and the destination key paths, which in
the default case overlap, leading to a deploy-breaking fault.

Fuel@OPNFV is not affected by this behavior due to a "sudo" call
that does not pass down enviroment variables (i.e. without `-E`).

Change-Id: I291966ee177d828bf1e59c213c9da40eae13ab6b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
ci/deploy.sh

index 179b168..c1006f0 100755 (executable)
@@ -33,5 +33,6 @@ if ! [ -z $LAB_CONFIG_URL ]; then
     fi
 fi
 
+unset SSH_KEY
 cd upstream/fuel/ci
 ./deploy.sh $@