Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert "Invalidate sbt caches"
This reverts commit 007741c.
  • Loading branch information
mccheah committed Oct 22, 2019
commit 13e7b6aba500325bcbaaa10e044a3e972eb1a10c
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ step_templates:
restore-home-sbt-cache: &restore-home-sbt-cache
restore_cache:
keys:
- v3-home-sbt-{{ checksum "build/sbt" }}-{{ checksum "project/target/streams/$global/update/$global/streams/update_cache_2.10/inputs" }}
- v2-home-sbt-{{ checksum "build/sbt" }}-{{ checksum "project/target/streams/$global/update/$global/streams/update_cache_2.10/inputs" }}
restore-build-sbt-cache: &restore-build-sbt-cache
restore_cache:
key: v2-build-sbt-{{ .Branch }}-{{ .Revision }}
key: v1-build-sbt-{{ .Branch }}-{{ .Revision }}
link-in-build-sbt-cache: &link-in-build-sbt-cache
run:
name: Hard link cache contents into current build directory
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
path: /tmp/build-apache-spark.log
destination: build-apache-spark.log
- save_cache:
key: v3-home-sbt-{{ checksum "build/sbt" }}-{{ checksum "project/target/streams/$global/update/$global/streams/update_cache_2.10/inputs" }}
key: v2-home-sbt-{{ checksum "build/sbt" }}-{{ checksum "project/target/streams/$global/update/$global/streams/update_cache_2.10/inputs" }}
paths: ~/.sbt
# Also hard link all the things so we can save it as a cache and restore it in future builds
- run:
Expand All @@ -254,7 +254,7 @@ jobs:
--exclude '***/*.jar' --include 'target/***'
--include '**/' --exclude '*' . "$BUILD_SBT_CACHE/"
- save_cache:
key: v2-build-sbt-{{ .Branch }}-{{ .Revision }}
key: v1-build-sbt-{{ .Branch }}-{{ .Revision }}
paths:
- "~/build-sbt-cache"
# Also save all the assembly jars directories to the workspace - need them for spark submitting
Expand Down