Skip to content

Commit

Permalink
MAGICDRAW-1083 - Fix circleci timeouts on long cache updates
Browse files Browse the repository at this point in the history
  • Loading branch information
David Willard committed Feb 26, 2019
1 parent 568458d commit 21b33c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ jobs:
- restore_cache:
keys:
# when lock file changes, use increasingly general patterns to restore cache
- gradle-repo-v5-{{ .Branch }}-{{ checksum "gradle.properties" }}
- gradle-repo-v5-{{ .Branch }}-
- gradle-repo-v5-
- gradle-repo-v185sp3-{{ .Branch }}-{{ checksum "gradle.properties" }}
- gradle-repo-v185sp3-{{ .Branch }}-
- gradle-repo-v185sp3-
- run:
name: Download uncached dependencies
command: ./gradlew dependencies
no_output_timeout: 1h

- save_cache:
paths:
- ~/.gradle
key: gradle-repo-v5-{{ .Branch }}-{{ checksum "gradle.properties" }}
key: gradle-repo-v185sp3-{{ .Branch }}-{{ checksum "gradle.properties" }}

# Compile
- run:
Expand Down

0 comments on commit 21b33c7

Please sign in to comment.