Repository: aurora Updated Branches: refs/heads/master 45f2a8416 -> f0a3f9c4f
Enable gradle daemon in Vagrant. Testing Done: Sped up Kerberos integration testing. Reviewed at https://reviews.apache.org/r/32554/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/f0a3f9c4 Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/f0a3f9c4 Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/f0a3f9c4 Branch: refs/heads/master Commit: f0a3f9c4f3770903cb9c50e90071eb01eb210c0e Parents: 45f2a84 Author: Kevin Sweeney <[email protected]> Authored: Fri Mar 27 14:07:46 2015 -0700 Committer: Kevin Sweeney <[email protected]> Committed: Fri Mar 27 14:07:46 2015 -0700 ---------------------------------------------------------------------- examples/vagrant/provision-dev-cluster.sh | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/f0a3f9c4/examples/vagrant/provision-dev-cluster.sh ---------------------------------------------------------------------- diff --git a/examples/vagrant/provision-dev-cluster.sh b/examples/vagrant/provision-dev-cluster.sh index ae50043..1f7379d 100755 --- a/examples/vagrant/provision-dev-cluster.sh +++ b/examples/vagrant/provision-dev-cluster.sh @@ -81,6 +81,14 @@ Host $(hostname) EOF } +function enable_gradle_daemon { + install -o vagrant -g vagrant -d -m 0755 /home/vagrant/.gradle + cat > /home/vagrant/.gradle/gradle.properties <<EOF +org.gradle.daemon=true +EOF + chown vagrant:vagrant /home/vagrant/.gradle/gradle.properties +} + function start_services { #Executing true on failure to please bash -e in case services are already running start zookeeper || true @@ -106,4 +114,5 @@ prepare_extras install_cluster_config install_ssh_config start_services +enable_gradle_daemon su vagrant -c "aurorabuild all"
