This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  c4d095d2327453b48e0b554601dce7ee311ece8c (commit)
      from  53eda62a6fd4c7cb562ef9756d7de36b50945b28 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=c4d095d2327453b48e0b554601dce7ee311ece8c

commit c4d095d2327453b48e0b554601dce7ee311ece8c
Author: Roland Mas <[email protected]>
Date:   Fri May 10 13:01:47 2019 +0200

    Use StrictHostKeyChecking=no for buildbot

diff --git a/tests/buildbot/fusionforge-func_tests.sh 
b/tests/buildbot/fusionforge-func_tests.sh
index c710e79..8c5a920 100755
--- a/tests/buildbot/fusionforge-func_tests.sh
+++ b/tests/buildbot/fusionforge-func_tests.sh
@@ -51,7 +51,7 @@ setup_epel_repo() {
     # EPEL REPO
     if [ ! -z "$EPEL_REPO" ] ; then
         echo "Installing specific EPEL REPO $EPEL_REPO"
-       ssh root@$HOST "cat > /etc/yum.repos.d/epel.repo" <<-EOF
+       ssh -o 'StrictHostKeyChecking=no' root@$HOST "cat > 
/etc/yum.repos.d/epel.repo" <<-EOF
 # Name: EPEL RPM Repository for Red Hat Enterprise \$releasever - epel
 # URL: http://fedoraproject.org/wiki/EPEL
 [epel]
@@ -64,7 +64,7 @@ gpgcheck=0
 EOF
     else
         echo "Installing standard EPEL REPO"
-       ssh root@$HOST yum install -y epel-release
+       ssh -o 'StrictHostKeyChecking=no' root@$HOST yum install -y epel-release
     fi
 }
 
@@ -72,7 +72,7 @@ setup_epel_testing_repo() {
     if [ -z "$HOST" ] ; then  echo "HOST undefined" ;exit 1; fi
     # EPEL Testing REPO
     echo "Installing EPEL Testing REPO"
-    ssh root@$HOST "cat > /etc/yum.repos.d/epel-testing.repo" <<-EOF
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "cat > 
/etc/yum.repos.d/epel-testing.repo" <<-EOF
 # Name: EPEL RPM Repository for Red Hat Enterprise Testing \$releasever - epel
 # URL: http://fedoraproject.org/wiki/EPEL
 [epel-testing]
@@ -149,32 +149,32 @@ start_vm $HOST
 
 # LXC post-install...
 if [ $INSTALL_OS == "debian" ]; then
-    ssh root@$HOST "echo \"deb $DEBMIRRORSEC $DIST/updates main\" > 
/etc/apt/sources.list.d/security.list"
-    ssh root@$HOST "echo 'APT::Install-Recommends \"false\";' > 
/etc/apt/apt.conf.d/01InstallRecommends"
-    ssh root@$HOST "apt-get update"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "echo \"deb $DEBMIRRORSEC 
$DIST/updates main\" > /etc/apt/sources.list.d/security.list"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "echo 
'APT::Install-Recommends \"false\";' > /etc/apt/apt.conf.d/01InstallRecommends"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "apt-get update"
 fi
 
 if [ $INSTALL_OS == "debian" ]; then
-    ssh root@$HOST "apt-get install -y rsync haveged"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "apt-get install -y rsync 
haveged"
 else
-    ssh root@$HOST "yum install -y rsync"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "yum install -y rsync"
     setup_epel_repo
-    ssh root@$HOST "yum --enablerepo=epel install -y haveged"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST "yum --enablerepo=epel 
install -y haveged"
 fi
 rsync -av --delete autoinstall src tests root@$HOST:/usr/src/fusionforge/
 if [ $INSTALL_METHOD = "src" ]; then
-    ssh root@$HOST "/usr/src/fusionforge/autoinstall/install-src.sh"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST 
"/usr/src/fusionforge/autoinstall/install-src.sh"
 else
-    ssh root@$HOST "/usr/src/fusionforge/autoinstall/build.sh"
-    ssh root@$HOST "/usr/src/fusionforge/autoinstall/install.sh"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST 
"/usr/src/fusionforge/autoinstall/build.sh"
+    ssh -o 'StrictHostKeyChecking=no' root@$HOST 
"/usr/src/fusionforge/autoinstall/install.sh"
 fi
 
 # Run tests
 retcode=0
 echo "Run phpunit test on $HOST"
-echo "export JOB_URL=$JOB_URL" | ssh root@$HOST tee -a .bashrc
-#ssh root@$HOST "TESTGLOB='func/50_PluginsScmBzr/*' 
/usr/src/fusionforge/tests/func_tests-xvnc.sh $INSTALL_METHOD/$INSTALL_OS" || 
retcode=$?
-ssh root@$HOST "/usr/src/fusionforge/tests/func_tests-xvnc.sh 
$INSTALL_METHOD/$INSTALL_OS $*" || retcode=$?
+echo "export JOB_URL=$JOB_URL" | ssh -o 'StrictHostKeyChecking=no' root@$HOST 
tee -a .bashrc
+#ssh -o 'StrictHostKeyChecking=no' root@$HOST 
"TESTGLOB='func/50_PluginsScmBzr/*' 
/usr/src/fusionforge/tests/func_tests-xvnc.sh $INSTALL_METHOD/$INSTALL_OS" || 
retcode=$?
+ssh -o 'StrictHostKeyChecking=no' root@$HOST 
"/usr/src/fusionforge/tests/func_tests-xvnc.sh $INSTALL_METHOD/$INSTALL_OS $*" 
|| retcode=$?
 
 copy_logs
 

-----------------------------------------------------------------------

Summary of changes:
 tests/buildbot/fusionforge-func_tests.sh | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to