From 9d5087e22dc1c4e3b39451d04cf19b9c5848aabb Mon Sep 17 00:00:00 2001 From: Simon Dudley Date: Mon, 22 Apr 2024 08:39:31 +1000 Subject: [PATCH] Speed up git clone by skipping recursive and history (#52) Signed-off-by: Simon Dudley --- tasks/compile.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/compile.yml b/tasks/compile.yml index 9fe5646..59bb677 100644 --- a/tasks/compile.yml +++ b/tasks/compile.yml @@ -21,6 +21,8 @@ repo: "{{ besu_git_repo }}" dest: '/tmp/besu' version: "{{ besu_git_commit }}" + recursive: false + depth: 1 - name: Build Besu shell: "JAVA_HOME=$(update-java-alternatives --list | grep 17 | tail -n 1 | awk '{print $3}') ./gradlew --no-daemon --parallel clean assemble"