summaryrefslogtreecommitdiffstats
path: root/ci/deploy.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-07-18 02:18:44 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-07-18 02:23:02 +0200
commit7b47bc53348e37927e4459ea6aed6d2327c87aeb (patch)
tree6a76eec6e0b9be12ec908468c600e2968d612e5f /ci/deploy.sh
parent081dc460f888f9e2b7f9e2491f9c529c4dc48eed (diff)
ci/deploy.sh: Do not pass SSH_KEY to Fuel deploy
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>
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-xci/deploy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 179b168f..c1006f08 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -33,5 +33,6 @@ if ! [ -z $LAB_CONFIG_URL ]; then
fi
fi
+unset SSH_KEY
cd upstream/fuel/ci
./deploy.sh $@