Skip to content

Commit ab56e4b

Browse files
lqiu96rahul2393sakthivelmanii
authored
chore: Backport grpc-gcp and Spanner fixes to 1.90.x (#14861)
Co-authored-by: rahul2393 <irahul@google.com> Co-authored-by: Sakthivel Subramanian <179120858+sakthivelmanii@users.noreply.github.com>
1 parent 8cbbb56 commit ab56e4b

59 files changed

Lines changed: 9373 additions & 962 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.kokoro/common.sh‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,14 @@ function generate_modified_modules_list() {
244244
# grep returns 1 (error code) and exits the pipeline if there is no match
245245
# If there is no match, it will return true so the rest of the commands can run
246246
git config --global --add safe.directory $(realpath .)
247-
modified_files=$(git diff --name-only "${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH}...${KOKORO_GITHUB_PULL_REQUEST_COMMIT}")
247+
248+
local target_branch="${KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH:-origin/main}"
249+
if ! git rev-parse --verify "${target_branch}" >/dev/null 2>&1; then
250+
target_branch="origin/${target_branch}"
251+
fi
252+
253+
local target_commit="${KOKORO_GITHUB_PULL_REQUEST_COMMIT:-HEAD}"
254+
modified_files=$(git diff --name-only "${target_branch}...${target_commit}")
248255
printf "Modified files:\n%s\n" "${modified_files}"
249256

250257
# Generate the list of valid maven modules

‎grpc-gcp-java/pom.xml‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<groupId>com.google.cloud</groupId>
1919
<artifactId>grpc-gcp</artifactId>
20-
<version>1.14.0</version><!-- {x-version-update:grpc-gcp:current} -->
20+
<version>1.14.1</version><!-- {x-version-update:grpc-gcp:current} -->
2121
<packaging>jar</packaging>
2222

2323
<name>gRPC extension library for Google Cloud Platform</name>
@@ -63,6 +63,7 @@
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6464
<site.installationModule>grpc-gcp</site.installationModule>
6565
<api-common.version>2.67.0</api-common.version><!-- {x-version-update:api-common:current} -->
66+
<awaitility.version>4.3.0</awaitility.version>
6667
<auto-value.version>1.11.0</auto-value.version>
6768
<error-prone-annotations.version>2.48.0</error-prone-annotations.version>
6869
<google-http-client.version>2.2.0</google-http-client.version>
@@ -172,6 +173,12 @@
172173
<version>${junit.version}</version>
173174
<scope>test</scope>
174175
</dependency>
176+
<dependency>
177+
<groupId>org.awaitility</groupId>
178+
<artifactId>awaitility</artifactId>
179+
<version>${awaitility.version}</version>
180+
<scope>test</scope>
181+
</dependency>
175182
<dependency>
176183
<groupId>com.google.truth</groupId>
177184
<artifactId>truth</artifactId>

0 commit comments

Comments
 (0)