cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [1/3] git commit: updated refs/heads/master to f72412a
Date Wed, 01 Jul 2015 07:12:54 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 02c3d14f6 -> f72412a80


Cleanup stale files in /tmp which is filling up during some runs
Output status of disk and memory on build host


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c980003c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c980003c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c980003c

Branch: refs/heads/master
Commit: c980003c37602e2402225bddea9edcc8539a6e11
Parents: c0bf00c
Author: Rafael da Fonseca <rsafonseca@gmail.com>
Authored: Thu Jun 25 23:12:17 2015 +0200
Committer: Rafael da Fonseca <rsafonseca@gmail.com>
Committed: Fri Jun 26 00:54:25 2015 +0200

----------------------------------------------------------------------
 tools/travis/before_install.sh | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c980003c/tools/travis/before_install.sh
----------------------------------------------------------------------
diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh
index 7231ecb..f875971 100755
--- a/tools/travis/before_install.sh
+++ b/tools/travis/before_install.sh
@@ -49,9 +49,18 @@ javac -version
 echo -e "\nMaven Version: "
 mvn -v
 
+echo -e "\nDisk Status: "
+df
+
+echo -e "\nMemory Status: "
+free
+
 echo -e "\nCheck Git status"
 git status
 
+echo -e "\nCleaning up stale files in /tmp: "
+sudo find /tmp -type f -mtime +2 | grep -v "`sudo lsof | grep /tmp |awk '{print $9}'|sed
-e '1 d' |sort |uniq | tr \\n \|`" | xargs sudo rm -vf
+
 echo -e "\nUpdating the system: "
 sudo apt-get -q -y update > /dev/null
 


Mime
View raw message