Skip to content

Commit

Permalink
Merge pull request #7438 from hashicorp/dnephin/remove-restore-cache
Browse files Browse the repository at this point in the history
ci: Remove consul-modcache-v1 from ci config
  • Loading branch information
dnephin authored Mar 13, 2020
2 parents c9cb5b5 + 3cfe1c1 commit 6a29a2b
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,8 @@ jobs:
- image: *GOLANG_IMAGE
steps:
- checkout
- restore_cache:
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- run:
command: go mod download
- save_cache:
key: consul-modcache-v1-{{ checksum "go.mod" }}
paths:
- /go/pkg/mod
- run:
name: check go fmt
command: |
Expand All @@ -73,15 +66,8 @@ jobs:
<<: *ENVIRONMENT
steps:
- checkout
- restore_cache:
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- run:
command: make update-vendor
- save_cache:
key: consul-modcache-v1-{{ checksum "go.mod" }}
paths:
- /go/pkg/mod
- run: |
if ! git diff --exit-code; then
echo "Git directory has vendor changes"
Expand All @@ -99,9 +85,6 @@ jobs:
GOMAXPROCS: 2 # medium (default) boxes are 2 vCPUs, 4GB RAM https://circleci.com/docs/2.0/configuration-reference/#docker-executor
steps:
- checkout
- restore_cache: # restore cache from earlier job
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- attach_workspace:
at: /go/bin
- run: mkdir -p $TEST_RESULTS_DIR
Expand Down Expand Up @@ -133,9 +116,6 @@ jobs:
GOTAGS: "" # No tags for OSS but there are for enterprise
steps:
- checkout
- restore_cache: # restore cache from dev-build job
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- attach_workspace:
at: /go/bin
- run: mkdir -p $TEST_RESULTS_DIR
Expand Down Expand Up @@ -165,9 +145,6 @@ jobs:
GOTAGS: "" # No tags for OSS but there are for enterprise
steps:
- checkout
- restore_cache: # restore cache from dev-build job
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- attach_workspace:
at: /go/bin
- run: mkdir -p $TEST_RESULTS_DIR
Expand Down Expand Up @@ -219,9 +196,6 @@ jobs:
<<: *ENVIRONMENT
steps:
- checkout
- restore_cache: # restore cache from dev-build job
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- run: ./build-support/scripts/build-local.sh

# save dev build to CircleCI
Expand Down Expand Up @@ -283,15 +257,8 @@ jobs:
<<: *ENVIRONMENT
steps:
- checkout
- restore_cache:
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
- run:
command: make dev
- save_cache:
key: consul-modcache-v1-{{ checksum "go.mod" }}
paths:
- /go/pkg/mod

# save dev build to pass to downstream jobs
- persist_to_workspace:
Expand Down Expand Up @@ -618,9 +585,6 @@ jobs:
- run: mkdir -p $TEST_RESULTS_DIR
# Gather deps to run go tests
- checkout
- restore_cache:
keys:
- consul-modcache-v1-{{ checksum "go.mod" }}
# Run go tests
- run: make test-vault-ca-provider
- store_test_results:
Expand Down

0 comments on commit 6a29a2b

Please sign in to comment.