summaryrefslogtreecommitdiffstats
path: root/ci/clean.sh
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 12:04:16 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-10-17 14:20:10 -0500
commitd1aaa3704c4bb65a5f45ccfc1cb5d8bf18e6fb32 (patch)
tree1da43dca6fa8df646037348beec3e6bf62c9df2f /ci/clean.sh
parent501abc68e6a974d7e5dd480233bf44a2f20fc0b3 (diff)
modified ocl charm location fetching from git tree.
Change-Id: I3913286114e4a4b402b859ab151e7e0442be4262 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/clean.sh')
-rwxr-xr-xci/clean.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/clean.sh b/ci/clean.sh
index 4b308fd0..0cd20761 100755
--- a/ci/clean.sh
+++ b/ci/clean.sh
@@ -16,6 +16,7 @@ if [[ "$jujuver" > "2" ]]; then
rm -rf precise
rm -rf trusty
rm -rf xenial
+ sudo sysctl -w vm.drop_caches=3
elif [ -d $HOME/.juju/environments ]; then
echo " " > status.txt
juju status &>>status.txt || true
@@ -33,5 +34,6 @@ elif [ -d $HOME/.juju/environments ]; then
rm -rf $HOME/.juju/.deployer-store-cache
rm -rf $HOME/.juju/environments
rm -rf $HOME/.juju/ssh
+ sudo sysctl -w vm.drop_caches=3
fi