From 994672abb526325b806656a534e828cb224a47e2 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 17:30:32 +0000 Subject: [PATCH 1/2] chore(main): release 2.0.0-preview.3 --- CHANGELOG.md | 22 ++++++++++++++++++++++ cmd/version.txt | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afeefe883..fc9b7f8c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [2.0.0-preview.3](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.0.0-preview.2...v2.0.0-preview.3) (2022-11-15) + + +### Features + +* add quiet flag ([#1515](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1515)) ([93d9a40](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/93d9a40cf8736bfce2d3cc6bc20b2defafa0413f)), closes [#1452](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1452) +* add support for min ready instances ([#1496](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1496)) ([73e2999](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/73e2999f3f3da32a63149a2d0cc08750038f721f)) +* configure the proxy with environment variables ([#1514](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1514)) ([2a9d9a2](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/2a9d9a2cd93804818a5659ee554c56336969d861)) + + +### Bug Fixes + +* correct bullseye Dockerfile ([#1504](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1504)) ([15a97e7](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/15a97e7f8287098232719cfae2a2ad6242a7a92a)) +* correct error check in check connections ([#1505](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1505)) ([776a86b](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/776a86b15f14d1c0846f9813845829ffb9642bb8)) +* impersonated user uses downscoped token ([#1520](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1520)) ([b08c71d](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/b08c71d02ea7c33c587a0a75c30e06242029028b)) +* return correct exit code on SIGTERM ([#1530](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1530)) ([7bb15aa](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/7bb15aa482c2278f6e49a3a0f4a7baf4a2f4b511)) + + +### Miscellaneous Chores + +* release 2.0.0-preview.3 ([#1548](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1548)) ([024963b](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/024963b9b8b38fbb8b2d7043be5a5658a77689c0)) + ## [2.0.0-preview.2](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.0.0-preview.1...v2.0.0-preview.2) (2022-10-25) diff --git a/cmd/version.txt b/cmd/version.txt index cb61aa2e4..4df14bf46 100644 --- a/cmd/version.txt +++ b/cmd/version.txt @@ -1 +1 @@ -2.0.0-preview.3-dev +2.0.0-preview.3 From 2da117a224c2f1d629413096fd1aa68c923916c7 Mon Sep 17 00:00:00 2001 From: Eno Compton Date: Tue, 15 Nov 2022 10:33:31 -0700 Subject: [PATCH 2/2] Update README to latest preview version --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1e7d67725..cd4caed5a 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ following instructions for your OS and CPU architecture. ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.linux.amd64" -O cloud-sql-proxy @@ -68,7 +68,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.linux.386" -O cloud-sql-proxy @@ -82,7 +82,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.linux.arm64" -O cloud-sql-proxy @@ -96,7 +96,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.linux.arm" -O cloud-sql-proxy @@ -110,7 +110,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.darwin.amd64" -O cloud-sql-proxy @@ -124,7 +124,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3" wget "$URL/cloud-sql-proxy.darwin.arm64" -O cloud-sql-proxy @@ -138,7 +138,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -wget https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2/cloud-sql-proxy-x64.exe -O cloud-sql-proxy.exe +wget https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3/cloud-sql-proxy-x64.exe -O cloud-sql-proxy.exe ``` @@ -148,7 +148,7 @@ wget https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0- ```sh # see Releases for other versions -wget https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.2/cloud-sql-proxy-x86.exe -O cloud-sql-proxy.exe +wget https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.0.0-preview.3/cloud-sql-proxy-x86.exe -O cloud-sql-proxy.exe ``` @@ -353,13 +353,13 @@ currently supported: - `$VERSION-bullseye` The `$VERSION` is the proxy version without the leading "v" (e.g., -`2.0.0-preview.1`). +`2.0.0-preview.3`). For example, to pull a particular version, use a command like: ``` shell -# $VERSION is 2.0.0-preview.1 -docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.0.0-preview.1 +# $VERSION is 2.0.0-preview.3 +docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.0.0-preview.3 ``` We recommend pinning to a specific version tag and using automation with a CI pipeline