e909289454
TLDR with many modules the versions included in each diverged quite a bit. Attempting to use Go Workspaces produces a bunch of errors. This commit: 1. Fixes envoy-library-references.sh to work again 2. Ensures we are pulling in go-control-plane@v0.11.0 everywhere (previously it was at that version in some modules and others were much older) 3. Remove one usage of golang/protobuf that caused us to have a direct dependency on it. 4. Remove deprecated usage of the Endpoint field in the grpc resolver.Target struct. The current version of grpc (v1.55.0) has removed that field and recommended replacement with URL.Opaque and calls to the Endpoint() func when needing to consume the previous field. 4. `go work init <all the paths to go.mod files>` && `go work sync`. This syncrhonized versions of dependencies from the main workspace/root module to all submodules 5. Updated .gitignore to ignore the go.work and go.work.sum files. This seems to be standard practice at the moment. 6. Update doc comments in protoc-gen-consul-rate-limit to be go fmt compatible 7. Upgraded makefile infra to perform linting, testing and go mod tidy on all modules in a flexible manner. 8. Updated linter rules to prevent usage of golang/protobuf 9. Updated a leader peering test to account for an extra colon in a grpc error message.
71 lines
1.2 KiB
Plaintext
71 lines
1.2 KiB
Plaintext
*.attr
|
|
*.exe
|
|
*.log
|
|
*.old
|
|
*.swp
|
|
*.test
|
|
.envrc
|
|
.gotools
|
|
.protobuf
|
|
.vagrant/
|
|
/pkg
|
|
bin/
|
|
changelog.tmp
|
|
exit-code
|
|
Thumbs.db
|
|
.idea
|
|
.vscode
|
|
__debug_bin
|
|
coverage.out
|
|
*.tmp
|
|
|
|
# MacOS
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
.fseventsd
|
|
|
|
# Web artifacts
|
|
website/.bundle
|
|
website/build/
|
|
website/npm-debug.log
|
|
website/vendor
|
|
|
|
### Terraform gitignore ###
|
|
# Local .terraform directories
|
|
**/.terraform/*
|
|
|
|
# .tfstate files
|
|
*.tfstate
|
|
*.tfstate.*
|
|
|
|
# Crash log files
|
|
crash.log
|
|
|
|
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
|
|
# password, private keys, and other secrets. These should not be part of version
|
|
# control as they are data points which are potentially sensitive and subject
|
|
# to change depending on the environment.
|
|
#
|
|
*.tfvars
|
|
|
|
# Ignore override files as they are usually used to override resources locally and so
|
|
# are not checked in
|
|
override.tf
|
|
override.tf.json
|
|
*_override.tf
|
|
*_override.tf.json
|
|
|
|
# Include override files you do wish to add to version control using negated pattern
|
|
#
|
|
# !example_override.tf
|
|
|
|
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
|
|
# example: *tfplan*
|
|
|
|
# Ignore CLI configuration files
|
|
.terraformrc
|
|
terraform.rc
|
|
/go.work
|
|
/go.work.sum
|