Revert caching go builds (#631)
It turns out that using gocache on circleci like this makes it so that builds are not properly invalidated, and breaks a whole load of things.
This commit is contained in:
committed by
Brian Goff
parent
7dd49516d8
commit
d0c0d90451
@@ -58,7 +58,6 @@ jobs:
|
|||||||
MINIKUBE_WANTUPDATENOTIFICATION: false
|
MINIKUBE_WANTUPDATENOTIFICATION: false
|
||||||
MINIKUBE_WANTREPORTERRORPROMPT: false
|
MINIKUBE_WANTREPORTERRORPROMPT: false
|
||||||
SKAFFOLD_VERSION: v0.18.0
|
SKAFFOLD_VERSION: v0.18.0
|
||||||
GOCACHE: /home/circleci/.cache/go
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@@ -100,28 +99,10 @@ jobs:
|
|||||||
name: Watch nodes
|
name: Watch nodes
|
||||||
command: kubectl get nodes -o json --watch
|
command: kubectl get nodes -o json --watch
|
||||||
background: true
|
background: true
|
||||||
|
|
||||||
- restore_cache:
|
|
||||||
keys:
|
|
||||||
- pkg-cache-{{ .Branch }}
|
|
||||||
- go-cache-{{ .Branch }}
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Run the end-to-end test suite
|
name: Run the end-to-end test suite
|
||||||
command: |
|
command: |
|
||||||
make e2e
|
make e2e
|
||||||
|
|
||||||
- save_cache:
|
|
||||||
key: pkg-cache-{{ .Branch }}
|
|
||||||
paths:
|
|
||||||
- "/go/pkg"
|
|
||||||
- "/home/circleci/go/"
|
|
||||||
|
|
||||||
- save_cache:
|
|
||||||
key: go-cache-{{ .Branch }}
|
|
||||||
paths:
|
|
||||||
- "/home/circleci/.cache/go"
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Collect logs on failure from vkubelet-mock-0
|
name: Collect logs on failure from vkubelet-mock-0
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user