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  47b78b4cf0d7fe46a25907a6e1a517f68bb83639 (commit)
      from  2de1d6ba7c7e966bc9ca43912a69e096876961da (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=47b78b4cf0d7fe46a25907a6e1a517f68bb83639

commit 47b78b4cf0d7fe46a25907a6e1a517f68bb83639
Author: Franck Villaume <[email protected]>
Date:   Sat Jul 1 13:28:30 2017 +0200

    drop centos5, centos6. add debian9

diff --git a/tests/buildbot/lxc-wrapper b/tests/buildbot/lxc-wrapper
index 22f8e27..d6e9109 100755
--- a/tests/buildbot/lxc-wrapper
+++ b/tests/buildbot/lxc-wrapper
@@ -15,7 +15,7 @@ esac
 
 host=$2
 case "$host" in
-    centos5|centos6|centos7|debian7|debian8)
+    centos7|debian8|debian9)
        echo "Handling host $host"
        ;;
     *)
@@ -36,7 +36,7 @@ sed -i -e 's/^ *chroot $rootfs_path passwd -e root/# DISABLED 
# &/' /usr/share/l
 
 # Get variables
 case $host in
-    centos*)
+    centos7)
        template=centos
        release=${host#centos}
        cachedir=/var/cache/lxc/centos/x86_64/$release/rootfs
@@ -44,12 +44,12 @@ case $host in
     debian*)
        template=debian
        case $host in
-           debian7)
-               release=wheezy
-               ;;
            debian8)
                release=jessie
                ;;
+           debian9)
+               release=stretch
+               ;;
        esac
        cachedir=/var/cache/lxc/debian/rootfs-$release-amd64
        export MIRROR=http://ftp.fr.debian.org/debian
@@ -76,12 +76,6 @@ case $cmd in
                    rm -rf $cachedir/var/run/
                    ln -s ../run $cachedir/var/
                    ;;
-               centos6)
-                   chroot $cachedir yum install -y avahi-autoipd avahi
-                   ;;
-               centos5)
-                   chroot $cachedir yum install -y avahi
-                   ;;
                debian*)
                    chroot $cachedir apt-get install --yes \
                           avahi-autoipd avahi-daemon unattended-upgrades 
bash-completion
@@ -108,7 +102,7 @@ case $cmd in
                LANG=C chroot $cachedir sh -c "unattended-upgrades -d"
                chroot $cachedir sh -c "apt-get clean"
                umount $cachedir/proc
-               
+
                find $cachedir/var/log/unattended-upgrades -type f -mtime +30 | 
xargs -r rm
                ;;
        esac

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

Summary of changes:
 tests/buildbot/lxc-wrapper | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 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