From b25e55dd4b2a6261438373ca7deeb16a6ad1f5a0 Mon Sep 17 00:00:00 2001 From: Tyler Benson Date: Wed, 20 May 2020 12:48:47 -0400 Subject: [PATCH] Disable CI cache for muzzle It gets very big (5+ GB) and causes the job to take a long time just restoring and resaving the cache. --- .circleci/config.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 445bc463404..549b205fb02 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -214,21 +214,13 @@ jobs: steps: - checkout - - restore_cache: - keys: - # Rev the version when the cache gets too big - - dd-trace-java-muzzle-v1-{{ .Branch }}-{{ .Revision }} - - dd-trace-java-muzzle-v1-{{ .Branch }} - # - dd-trace-java-muzzle-v1- + # We are not running with a cache here because it gets very big and ends up taking more time + # restoring/saving than the actual increase in time it takes just downloading the artifacts each time. - run: name: Verify Muzzle command: SKIP_BUILDSCAN="true" GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx4G -Xms64M' -Ddatadog.forkedMaxHeapSize=4G -Ddatadog.forkedMinHeapSize=64M" ./gradlew muzzle --parallel --stacktrace --no-daemon --max-workers=16 - - save_cache: - key: dd-trace-java-muzzle-v1-{{ .Branch }}-{{ .Revision }} - paths: ~/.gradle - workflows: version: 2 build_test_deploy: