Skip to content

Commit 4303a2e

Browse files
Merge branch 'googleapis:main' into main
2 parents 9efdac0 + 5987aa8 commit 4303a2e

File tree

2,133 files changed

+329476
-8181
lines changed

Some content is hidden

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

2,133 files changed

+329476
-8181
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ jobs:
6464
lint:
6565
runs-on: ubuntu-latest
6666
steps:
67-
- name: Get current week within the year
68-
id: date
69-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
7067
- uses: actions/checkout@v4
7168
with:
7269
fetch-depth: 0
@@ -75,17 +72,11 @@ jobs:
7572
distribution: temurin
7673
java-version: 17
7774
- run: java -version
78-
- uses: actions/cache@v4
79-
id: mvn-cache
80-
with:
81-
path: ~/.m2/repository
82-
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
83-
- run: java -version
8475
- run: .kokoro/build.sh
8576
env:
8677
JOB_TYPE: lint
87-
HEAD_BRANCH: ${{ github.head_ref }}
88-
BASE_BRANCH: ${{ github.base_ref }}
78+
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
79+
BASE_SHA: ${{ github.event.pull_request.base.sha }}
8980
enforcer:
9081
runs-on: ubuntu-latest
9182
steps:

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
shell: bash
1515
run: mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
1616
- name: Unmanaged dependency check
17-
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.49.0
17+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.50.0
1818
with:
1919
bom-path: gapic-libraries-bom/pom.xml

.kokoro/build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ case ${JOB_TYPE} in
9393
fi
9494
;;
9595
lint)
96-
git checkout "${BASE_BRANCH}"
97-
git checkout "${HEAD_BRANCH}"
98-
changed_file_list="$(git diff --name-only "${BASE_BRANCH}" HEAD)"
96+
changed_file_list=$(git diff --name-only "${BASE_SHA}" "${HEAD_SHA}")
97+
echo "${changed_file_list}"
9998
has_code_change="false"
10099
while IFS= read -r changed_file; do
101100
if [ -n "${changed_file}" ] && [[ "${changed_file}" == *.java ]]; then
102-
has_code_change="true"
103-
break
101+
echo "Matched: ${changed_file}"
102+
has_code_change="true"
103+
break
104104
fi
105105
done <<< "${changed_file_list}"
106106
if [ "${has_code_change}" == "false" ]; then

.kokoro/nightly/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.49.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.0"
77
}
88

99
env_vars: {

.kokoro/nightly/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.49.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.50.0"
77
}
88

99
env_vars: {

.kokoro/nightly/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.49.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.50.0"
77
}
88

99
env_vars: {

.kokoro/nightly/graalvm-sub-jobs/native-a/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env_vars: {
2929

3030
env_vars: {
3131
key: "TRAMPOLINE_IMAGE"
32-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.49.0"
32+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.0"
3333
}
3434

3535
# TODO: remove this after we've migrated all tests and scripts

.kokoro/nightly/graalvm-sub-jobs/native-b/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env_vars: {
2424

2525
env_vars: {
2626
key: "TRAMPOLINE_IMAGE"
27-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.49.0"
27+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.50.0"
2828
}
2929

3030
env_vars: {

.kokoro/nightly/graalvm-sub-jobs/native-c/common.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env_vars: {
2424

2525
env_vars: {
2626
key: "TRAMPOLINE_IMAGE"
27-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.49.0"
27+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.50.0"
2828
}
2929

3030
env_vars: {

.kokoro/presubmit/graalvm-native-a-presubmit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.49.0"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.0"
77
}
88

99
env_vars: {

0 commit comments

Comments
 (0)