Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
Signed-off-by: James Peach <james.peach@konghq.com>
  • Loading branch information
jpeach committed Nov 15, 2021
1 parent 3240240 commit c4ff1b3
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,7 @@ jobs:
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
go mod download
# since execution of go commands might change contents of "go.sum",
# we have to save cache immediately
Expand Down Expand Up @@ -517,8 +516,7 @@ jobs:
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
go mod download
# since execution of go commands might change contents of "go.sum",
# we have to save cache immediately
Expand Down Expand Up @@ -668,8 +666,7 @@ jobs:
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
go mod download
# since execution of go commands might change contents of "go.sum", we have to save cache immediately
- save_cache:
key: go.mod-{{ .Branch }}-{{ checksum "go.sum" }}
Expand All @@ -682,10 +679,10 @@ jobs:
resource_class: large
steps:
- checkout
- restore_cache:
keys:
# prefer the exact match
- go.mod-{{ .Branch }}-{{ checksum "go.sum" }}
- restore_cache:
keys:
# prefer the exact match
- go.mod-{{ .Branch }}-{{ checksum "go.sum" }}
- run:
name: "Install pre-requirements"
# `unzip` is necessary to install `protoc`
Expand Down Expand Up @@ -735,8 +732,7 @@ jobs:
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
go mod download
# since execution of go commands might change contents of "go.sum", we have to save cache immediately
- save_cache:
key: vm-executor-go.mod-{{ .Branch }}-{{ checksum "go.sum" }}
Expand Down Expand Up @@ -797,8 +793,7 @@ jobs:
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
go mod download
# since execution of go commands might change contents of "go.sum", we have to save cache immediately
- save_cache:
key: vm-executor-go.mod-{{ .Branch }}-{{ checksum "go.sum" }}
Expand Down Expand Up @@ -1062,9 +1057,7 @@ jobs:
- checkout
- run:
name: "Download Go modules"
command: |
go mod download -x
go mod download -x sigs.k8s.io/controller-tools
command: go mod download
- run:
name: Build Packages
command: |
Expand Down

0 comments on commit c4ff1b3

Please sign in to comment.