-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Sam Heilbron <[email protected]>
- Loading branch information
1 parent
1baf6de
commit f03f859
Showing
29 changed files
with
495 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,17 +67,46 @@ update-all: mod-download update-deps update-code-generator | |
mod-download: | ||
go mod download all | ||
|
||
.PHONY: install-tools | ||
install-tools: update-deps install-protoc | ||
|
||
.PHONY: update-deps | ||
update-deps: | ||
mkdir -p $(DEPSGOBIN) | ||
go install github.com/solo-io/protoc-gen-ext | ||
go install github.com/solo-io/protoc-gen-ext@v0.0.18 | ||
go install github.com/solo-io/[email protected] | ||
go install golang.org/x/tools/cmd/goimports | ||
go install github.com/golang/protobuf/protoc-gen-go | ||
go install github.com/envoyproxy/protoc-gen-validate | ||
go install github.com/golang/protobuf/protoc-gen-go@v1.5.4 | ||
go install github.com/envoyproxy/protoc-gen-validate@v1.0.4 | ||
go install github.com/golang/mock/gomock | ||
go install github.com/golang/mock/mockgen | ||
|
||
# proto compiler installation | ||
# no explicit arm build, but x86_64 build works on arm macs | ||
PROTOC_VERSION:=3.6.1 | ||
PROTOC_URL:=https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION} | ||
.PHONY: install-protoc | ||
install-protoc: | ||
mkdir -p $(DEPSGOBIN) | ||
if [ $(shell ${DEPSGOBIN}/protoc --version | grep -c ${PROTOC_VERSION}) -ne 0 ]; then \ | ||
echo expected protoc version ${PROTOC_VERSION} already installed ;\ | ||
else \ | ||
if [ "$(shell uname)" == "Darwin" ]; then \ | ||
echo "downloading protoc for osx" ;\ | ||
wget $(PROTOC_URL)-osx-x86_64.zip -O $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ | ||
elif [ "$(shell uname -m)" == "aarch64" ]; then \ | ||
echo "downloading protoc for linux aarch64" ;\ | ||
wget $(PROTOC_URL)-linux-aarch_64.zip -O $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ | ||
else \ | ||
echo "downloading protoc for linux x86-64" ;\ | ||
wget $(PROTOC_URL)-linux-x86_64.zip -O $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ | ||
fi ;\ | ||
unzip $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip -d $(DEPSGOBIN)/protoc-${PROTOC_VERSION} ;\ | ||
mv $(DEPSGOBIN)/protoc-${PROTOC_VERSION}/bin/protoc $(DEPSGOBIN)/protoc ;\ | ||
chmod +x $(DEPSGOBIN)/protoc ;\ | ||
rm -rf $(DEPSGOBIN)/protoc-${PROTOC_VERSION} $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ | ||
fi | ||
|
||
.PHONY: update-code-generator | ||
update-code-generator: | ||
chmod +x $(shell go list -f '{{ .Dir }}' -m k8s.io/code-generator)/generate-groups.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
changelog: | ||
- type: BREAKING_CHANGE | ||
description: > | ||
Bump dependencies to support Kubernetes 1.31 | ||
issueLink: https://github.com/solo-io/gloo/issues/9683 | ||
resolvesIssue: false | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: envoyproxy | ||
dependencyRepo: go-control-plane | ||
dependencyTag: v0.12.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: envoyproxy | ||
dependencyRepo: protoc-gen-validate | ||
dependencyTag: v1.0.4 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: golang | ||
dependencyRepo: protobuf | ||
dependencyTag: v1.5.4 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: iancoleman | ||
dependencyRepo: strcase | ||
dependencyTag: v0.3.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: onsi | ||
dependencyRepo: ginkgo | ||
dependencyTag: v2.19.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: onsi | ||
dependencyRepo: gomega | ||
dependencyTag: v1.33.1 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: solo-io | ||
dependencyRepo: go-utils | ||
dependencyTag: v0.26.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: solo-io | ||
dependencyRepo: k8s-utils | ||
dependencyTag: v0.8.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: golang | ||
dependencyRepo: x/sync | ||
dependencyTag: v0.8.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: google | ||
dependencyRepo: genproto/googleapis/apis | ||
dependencyTag: v0.0.0-20240528184218-531527333157 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: google | ||
dependencyRepo: genproto/googleapis/rpc | ||
dependencyTag: v0.0.0-20240701130421-f6361c86f094 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: google | ||
dependencyRepo: genproto/googleapis/rpc | ||
dependencyTag: v0.0.0-20240701130421-f6361c86f094 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: google | ||
dependencyRepo: grpc | ||
dependencyTag: v1.65.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: google | ||
dependencyRepo: protobuf | ||
dependencyTag: v1.34.2 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: api | ||
dependencyTag: v0.31.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: apiextensions-apiserver | ||
dependencyTag: v0.31.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: apimachinery | ||
dependencyTag: v0.31.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: client-go | ||
dependencyTag: v0.31.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: code-generator | ||
dependencyTag: v0.31.0 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: k8s.io | ||
dependencyRepo: utils | ||
dependencyTag: v0.0.0-20240711033017-18e509b52bc8 | ||
- type: DEPENDENCY_BUMP | ||
dependencyOwner: solo-io | ||
dependencyRepo: cloud-builders | ||
dependencyTag: v0.10.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.