diff --git a/.circleci/config.yml b/.circleci/config.yml index dbe08edbb3..2f2f0632ff 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,10 +56,6 @@ jobs: name: Restoring GOPATH/pkg/mod keys: - influxdb-gomod-{{ checksum "go.sum" }} # Just match the go.sum checksum cache. - - restore_cache: - name: Restore npm package cache - keys: - - chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - run: sudo apt-get install -y netcat-openbsd - run: make protoc - run: make build @@ -82,20 +78,7 @@ jobs: working_directory: /go/src/github.com/influxdata/influxdb steps: - checkout - - # Run npm install, using Circle's cache if applicable. - - restore_cache: - name: Restore npm package cache - keys: - # Only cache on exact package-lock.json match, as in Circle's npm example: - - chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - run: make node_modules - - save_cache: - name: Save npm package cache - key: chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - paths: - - ~/.cache/npm - - run: make test-js - run: make chronograf_lint @@ -171,10 +154,6 @@ jobs: name: Restoring GOPATH/pkg/mod keys: - influxdb-gomod-{{ checksum "go.sum" }} # Just match the go.sum checksum cache. - - restore_cache: - name: Restore npm package cache - keys: - - chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - run: make protoc - run: make build - persist_to_workspace: @@ -205,10 +184,6 @@ jobs: name: Restoring GOPATH/pkg/mod keys: - influxdb-gomod-{{ checksum "go.sum" }} # Just match the go.sum checksum cache. - - restore_cache: - name: Restore npm package cache - keys: - - chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - setup_remote_docker - run: name: 'Docker Login' @@ -242,10 +217,6 @@ jobs: name: Restoring GOPATH/pkg/mod keys: - influxdb-gomod-{{ checksum "go.sum" }} # Just match the go.sum checksum cache. - - restore_cache: - name: Restore Yarn package cache - keys: - - chronograf-npm-packages-{{ checksum "ui/package-lock.json" }} - setup_remote_docker - run: name: 'Docker Login'