From 8190dc7826d480f44107456984f7f192358ba8da Mon Sep 17 00:00:00 2001 From: ludamad Date: Thu, 11 Apr 2024 10:01:01 -0400 Subject: [PATCH] fix: less earthly cache (#5690) This was unsafe as during operation it could bump over disk limits it seems --- .github/earthly-ci-config.yml | 4 ++-- barretenberg/cpp/Earthfile | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/earthly-ci-config.yml b/.github/earthly-ci-config.yml index 398a2717c67..47c8813a087 100644 --- a/.github/earthly-ci-config.yml +++ b/.github/earthly-ci-config.yml @@ -1,5 +1,5 @@ global: - cache_size_pct: 90 + cache_size_pct: 75 buildkit_max_parallelism: 50 container_frontend: docker-shell -buildkit_additional_args: ["-e", "BUILDKIT_STEP_LOG_MAX_SIZE=-1"] \ No newline at end of file +buildkit_additional_args: ["-e", "BUILDKIT_STEP_LOG_MAX_SIZE=-1"] diff --git a/barretenberg/cpp/Earthfile b/barretenberg/cpp/Earthfile index c711cf2ff8a..3d1dbc3aece 100644 --- a/barretenberg/cpp/Earthfile +++ b/barretenberg/cpp/Earthfile @@ -80,7 +80,6 @@ source: COPY --dir src/barretenberg src/CMakeLists.txt src # cmake source COPY --dir cmake CMakeLists.txt CMakePresets.json . - RUN touch hey # for debugging rebuilds RUN echo CONTENT HASH $(find . -type f -exec sha256sum {} ';' | sort | sha256sum | awk '{print $1}') | tee .content-hash