xci: Set appropriate permissions for the key 65/52665/1
authorFatih Degirmenci <fdegir@gmail.com>
Mon, 26 Feb 2018 14:52:22 +0000 (14:52 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Mon, 26 Feb 2018 14:52:22 +0000 (14:52 +0000)
Change-Id: I6387ca1f7eaf107f735eab82917d77b2f3a3d90a
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/xci/xci-run-functest.sh
jjb/xci/xci-set-scenario.sh
jjb/xci/xci-start-deployment.sh
jjb/xci/xci-start-new-vm.sh

index 9a23594..39d4ea1 100755 (executable)
@@ -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
index 1bd6fd0..4fffafb 100755 (executable)
@@ -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
index 1dc3fa4..cb75b51 100755 (executable)
@@ -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
index 7db7d86..d676e26 100755 (executable)
@@ -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