summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-02-26 14:52:22 +0000
committerFatih Degirmenci <fdegir@gmail.com>2018-02-26 14:52:22 +0000
commitba814bb6e031e1215668db9573abc00f68b8da48 (patch)
treece86f6d05211d002eac107b2ec2df7dc296d163a
parent73067bebb45315a0aad87200ba28f528ff1934a2 (diff)
xci: Set appropriate permissions for the key
Change-Id: I6387ca1f7eaf107f735eab82917d77b2f3a3d90a Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
-rwxr-xr-xjjb/xci/xci-run-functest.sh1
-rwxr-xr-xjjb/xci/xci-set-scenario.sh1
-rwxr-xr-xjjb/xci/xci-start-deployment.sh1
-rwxr-xr-xjjb/xci/xci-start-new-vm.sh1
4 files changed, 4 insertions, 0 deletions
diff --git a/jjb/xci/xci-run-functest.sh b/jjb/xci/xci-run-functest.sh
index 9a235940e..39d4ea190 100755
--- a/jjb/xci/xci-run-functest.sh
+++ b/jjb/xci/xci-run-functest.sh
@@ -29,6 +29,7 @@ fi
if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
cd $HOME && /bin/rm -rf $WORKSPACE
git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE
+ chmod -R go-rwx $WORKSPACE/xci/scripts/vm
fi
# skip the deployment if the scenario is not supported on this distro
diff --git a/jjb/xci/xci-set-scenario.sh b/jjb/xci/xci-set-scenario.sh
index 1bd6fd0c5..4fffafbbb 100755
--- a/jjb/xci/xci-set-scenario.sh
+++ b/jjb/xci/xci-set-scenario.sh
@@ -34,6 +34,7 @@ fi
if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
cd $HOME && /bin/rm -rf $WORKSPACE
git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE
+ chmod -R go-rwx $WORKSPACE/xci/scripts/vm
fi
WORK_DIRECTORY=/tmp/$GERRIT_CHANGE_NUMBER/$DISTRO
diff --git a/jjb/xci/xci-start-deployment.sh b/jjb/xci/xci-start-deployment.sh
index 1dc3fa405..cb75b511e 100755
--- a/jjb/xci/xci-start-deployment.sh
+++ b/jjb/xci/xci-start-deployment.sh
@@ -29,6 +29,7 @@ fi
if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
cd $HOME && /bin/rm -rf $WORKSPACE
git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE
+ chmod -R go-rwx $WORKSPACE/xci/scripts/vm
fi
# skip the deployment if the scenario is not supported on this distro
diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh
index 7db7d863e..d676e2662 100755
--- a/jjb/xci/xci-start-new-vm.sh
+++ b/jjb/xci/xci-start-new-vm.sh
@@ -29,6 +29,7 @@ fi
if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
cd $HOME && /bin/rm -rf $WORKSPACE
git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE
+ chmod -R go-rwx $WORKSPACE/xci/scripts/vm
fi
# skip the deployment if the scenario is not supported on this distro