Skip to content

Commit

Permalink
backport of commit 59f14f5
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris S. Kim committed Oct 20, 2022
1 parent 0521420 commit 03e59c0
Show file tree
Hide file tree
Showing 1,720 changed files with 22,238 additions and 48,414 deletions.
4 changes: 2 additions & 2 deletions .changelog/11500.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```release-note:bug
```release-note:bugfix
rpc: Adds a deadline to client RPC calls, so that streams will no longer hang
indefinitely in unstable network conditions. [[GH-8504](https://github.com/hashicorp/consul/issues/8504)]
```
```
3 changes: 0 additions & 3 deletions .changelog/11742.txt

This file was deleted.

2 changes: 1 addition & 1 deletion .changelog/11791.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
ui: Change partitions to expect [] from the listing API
```
2 changes: 1 addition & 1 deletion .changelog/11804.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```release-note:bug
```release-note:bugfix
ui: Don't offer to save an intention with a source/destinatiojn wildcard
partition
```
2 changes: 1 addition & 1 deletion .changelog/11850.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
ui: Fixes an issue with the version footer wandering when scrolling
```
2 changes: 1 addition & 1 deletion .changelog/12279.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
ui: Ensure proxy instance health is taken into account in Service Instance Listings
```
3 changes: 0 additions & 3 deletions .changelog/12890.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/12905.txt

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/13388.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/13493.txt

This file was deleted.

5 changes: 0 additions & 5 deletions .changelog/14162.txt

This file was deleted.

4 changes: 0 additions & 4 deletions .changelog/14178.txt

This file was deleted.

2 changes: 1 addition & 1 deletion .changelog/14233.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
rpc: Adds max jitter to client deadlines to prevent i/o deadline errors on blocking queries
```
4 changes: 2 additions & 2 deletions .changelog/14269.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
connect: Fix issue where `auto_config` and `auto_encrypt` could unintentionally enable TLS for gRPC xDS connections.
```
```
4 changes: 2 additions & 2 deletions .changelog/14290.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
envoy: validate name before deleting proxy default configurations.
```
```
6 changes: 0 additions & 6 deletions .changelog/14294.txt

This file was deleted.

4 changes: 0 additions & 4 deletions .changelog/14343.txt

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/14356.txt

This file was deleted.

4 changes: 2 additions & 2 deletions .changelog/14364.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
```release-note:bugfix
peering: Fix issue preventing deletion and recreation of peerings in TERMINATED state.
```
```
3 changes: 0 additions & 3 deletions .changelog/14373.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14396.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14397.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14433.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14445.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14474.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14475.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14495.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14527.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14556.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14599.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14604.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14616.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14619.txt

This file was deleted.

3 changes: 3 additions & 0 deletions .changelog/14668.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
tls: undo breaking change that prevented setting TLS for gRPC when using config flags available in Consul v1.11.
```
3 changes: 0 additions & 3 deletions .changelog/14679.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14723.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14724.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14747.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14796.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14797.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14811.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14817.txt

This file was deleted.

File renamed without changes.
3 changes: 0 additions & 3 deletions .changelog/14854.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14869.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14873.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14889.txt

This file was deleted.

11 changes: 0 additions & 11 deletions .changelog/14897.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14903.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14916.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14921.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14922.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14924.txt

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/14930.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14933.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14934.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14936.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14947.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14957.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14960.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14962.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14970.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14971.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14981.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/14986.txt

This file was deleted.

28 changes: 3 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,26 +263,6 @@ jobs:
name: "Protobuf Lint"
command: make proto-lint

check-generated-deep-copy:
docker:
- image: *GOLANG_IMAGE
environment:
<<: *ENVIRONMENT
# tput complains if this isn't set to something.
TERM: ansi
steps:
- checkout
- run:
name: Install deep-copy
command: make codegen-tools
- run:
command: make --always-make deep-copy
- run: |
if ! git diff --exit-code; then
echo "Generated code was not updated correctly"
exit 1
fi

go-test-arm64:
machine:
image: *UBUNTU_CI_IMAGE
Expand Down Expand Up @@ -836,7 +816,7 @@ jobs:
# Get go binary from workspace
- attach_workspace:
at: .
# Build the consul:local image from the already built binary
# Build the consul-dev image from the already built binary
- run:
command: |
sudo rm -rf /usr/local/go
Expand Down Expand Up @@ -907,8 +887,8 @@ jobs:
- attach_workspace:
at: .
- run: *install-gotestsum
# Build the consul:local image from the already built binary
- run: docker build -t consul:local -f ./build-support/docker/Consul-Dev.dockerfile .
# Build the consul-dev image from the already built binary
- run: docker build -t consul-dev -f ./build-support/docker/Consul-Dev.dockerfile .
- run:
name: Envoy Integration Tests
command: |
Expand All @@ -922,7 +902,6 @@ jobs:
GOTESTSUM_JUNITFILE: /tmp/test-results/results.xml
GOTESTSUM_FORMAT: standard-verbose
COMPOSE_INTERACTIVE_NO_CLI: 1
LAMBDA_TESTS_ENABLED: "true"
# tput complains if this isn't set to something.
TERM: ansi
- store_artifacts:
Expand Down Expand Up @@ -1056,7 +1035,6 @@ workflows:
- /^docs\/.*/
- /^ui\/.*/
- check-generated-protobuf: *filter-ignore-non-go-branches
- check-generated-deep-copy: *filter-ignore-non-go-branches
- lint-enums: *filter-ignore-non-go-branches
- lint-consul-retry: *filter-ignore-non-go-branches
- lint: *filter-ignore-non-go-branches
Expand Down
4 changes: 2 additions & 2 deletions .github/scripts/metrics_checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -uo pipefail
### It is still up to the reviewer to make sure that any tests added are needed and meaningful.

# search for any "new" or modified metric emissions
metrics_modified=$(git --no-pager diff origin/main...HEAD | grep -i "SetGauge\|EmitKey\|IncrCounter\|AddSample\|MeasureSince\|UpdateFilter" | grep "^[+-]")
metrics_modified=$(git --no-pager diff origin/main...HEAD | grep -i "SetGauge\|EmitKey\|IncrCounter\|AddSample\|MeasureSince\|UpdateFilter")
# search for PR body or title metric references
metrics_in_pr_body=$(echo "${PR_BODY-""}" | grep -i "metric")
metrics_in_pr_title=$(echo "${PR_TITLE-""}" | grep -i "metric")
Expand All @@ -15,7 +15,7 @@ metrics_in_pr_title=$(echo "${PR_TITLE-""}" | grep -i "metric")
if [ "$metrics_modified" ] || [ "$metrics_in_pr_body" ] || [ "$metrics_in_pr_title" ]; then
# need to check if there are modifications to metrics_test
test_files_regex="*_test.go"
modified_metrics_test_files=$(git --no-pager diff HEAD "$(git merge-base HEAD "origin/main")" -- "$test_files_regex" | grep -i "metric" | grep "^[+-]")
modified_metrics_test_files=$(git --no-pager diff HEAD "$(git merge-base HEAD "origin/main")" -- "$test_files_regex" | grep -i "metric")
if [ "$modified_metrics_test_files" ]; then
# 1 happy path: metrics_test has been modified bc we modified metrics behavior
echo "PR seems to modify metrics behavior. It seems it may have added tests to the metrics as well."
Expand Down
Loading

0 comments on commit 03e59c0

Please sign in to comment.