From 28269d99cc1686b363e6294eb361ad5c6e5a8394 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 22 Jan 2024 15:53:18 -0800 Subject: [PATCH 1/2] Adds circleci cache --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3cd37256146..d5667fba83d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -157,6 +157,10 @@ jobs: steps: - command_build_and_test: jobId: "testJava17ClientSamples" + - save_cache: + key: javaClientMavenCache + paths: + - ~/.m2 workflows: version: 2 build: From 135b7d7e1ae355820dd8b11a63397faf23860639 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Mon, 22 Jan 2024 16:02:41 -0800 Subject: [PATCH 2/2] Updates java build cache --- .circleci/config.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d5667fba83d..881ce6539ea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,34 +33,14 @@ commands: # a reusable command with parameters paths: # This is a broad list of cache paths to include many possible development environments # You can probably delete some of these entries - - vendor/bundle - - ~/.pyenv - - ~/virtualenvs - ~/.m2 - - ~/.ivy2 - - ~/.sbt - - ~/.bundle - - ~/.gradle - - ~/.cache/bower - - ".git" - - ~/.stack # save "default" cache using the key "source-v2-" - save_cache: key: source-v2- paths: # This is a broad list of cache paths to include many possible development environments # You can probably delete some of these entries - - vendor/bundle - - ~/.pyenv - - ~/virtualenvs - ~/.m2 - - ~/.ivy2 - - ~/.sbt - - ~/.bundle - - ~/.gradle - - ~/.cache/bower - - ".git" - - ~/.stack # Teardown # If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each # Save test results @@ -155,6 +135,9 @@ jobs: CIRCLE_ARTIFACTS: /tmp/circleci-artifacts CIRCLE_TEST_REPORTS: /tmp/circleci-test-results steps: + - restore_cache: + keys: + - javaClientMavenCache - command_build_and_test: jobId: "testJava17ClientSamples" - save_cache: