Reducing the circleci footprint

* Removed the parallelism as it was running the same tests 3 times
* Removed caching as the time to cache/restore is about the same
  as without caching

Signed-off-by: Matt Farina <matt@mattfarina.com>
pull/5498/head
Matt Farina 5 years ago
parent e3137d106a
commit f18c078618
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -4,7 +4,6 @@ version: 2
jobs:
build:
working_directory: ~/helm.sh/helm
parallelism: 3
docker:
- image: circleci/golang:1.13
@ -13,27 +12,12 @@ jobs:
steps:
- checkout
- restore_cache:
keys:
- gomod-{{ checksum "go.mod" }}
- gomod-
- restore_cache:
keys:
- build-cache-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }}
- run:
name: test style
command: make test-style
- run:
name: test
command: make test-coverage
- save_cache:
key: gomod-{{ checksum "go.mod" }}
paths:
- /go/pkg/mod
- save_cache:
key: build-cache-{{ .Environment.CIRCLE_BUILD_NUM }}
paths:
- /tmp/go/cache
- deploy:
name: deploy
command: .circleci/deploy.sh

Loading…
Cancel
Save