Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Pull latest changes from main to Gapic update #1620

Merged
merged 103 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
39839ca
chore: update sync-repo-settings.yaml (#1417)
kolea2 May 1, 2024
48d7daf
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot May 2, 2024
5a5dfdf
deps: update dependency com.google.guava:guava-testlib to v33.2.0-jre…
renovate-bot May 2, 2024
ac3a1c1
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot May 3, 2024
b265fb3
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
gcf-owl-bot[bot] May 3, 2024
da51c88
chore(main): release 2.19.2 (#1414)
release-please[bot] May 6, 2024
beb8d0d
chore(main): release 2.19.3-SNAPSHOT (#1432)
release-please[bot] May 6, 2024
f93c60f
build(deps): update dependency org.apache.maven.plugins:maven-deploy-…
renovate-bot May 6, 2024
063a81e
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 6, 2024
b6f1c89
chore: autogen updates (#1434)
gcf-owl-bot[bot] May 8, 2024
d6c295e
chore: update dependency versions in java templates (#1964) (#1435)
gcf-owl-bot[bot] May 9, 2024
24f8780
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot May 13, 2024
b9cece7
build: update actions/setup-java action to v4 (#1391)
renovate-bot May 13, 2024
80dbca1
deps: update actions/checkout action to v4 (#1390)
renovate-bot May 14, 2024
79f6c46
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot May 16, 2024
b3836a4
chore(main): release 2.19.3 (#1438)
release-please[bot] May 16, 2024
13d9af1
chore(main): release 2.19.4-SNAPSHOT (#1444)
release-please[bot] May 16, 2024
4191938
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 17, 2024
29aea34
test(deps): update dependency org.graalvm.buildtools:native-maven-plu…
renovate-bot May 20, 2024
6caf603
build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…
renovate-bot May 20, 2024
15365eb
chore: [java] allow passing libraries_bom_version from env (#1967) (#…
gcf-owl-bot[bot] May 20, 2024
15148f1
test(deps): update dependency org.graalvm.buildtools:junit-platform-n…
renovate-bot May 20, 2024
c3c1317
fix: Migrate off TextPrinter's deprecated methods (#1452)
lqiu96 May 20, 2024
ff5e397
feat: New PropertyMask field which allows partial commits, lookups, a…
gcf-owl-bot[bot] May 20, 2024
992815d
fix: set the correct database id on the key parent when calling Key#g…
nzhenry May 27, 2024
2d380e5
chore(main): release 2.20.0 (#1454)
release-please[bot] May 28, 2024
55c5a63
chore(main): release 2.20.1-SNAPSHOT (#1461)
release-please[bot] May 28, 2024
5058efb
test: add integration test for incomplete key (#1460)
kolea2 May 28, 2024
85b90a2
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot May 28, 2024
bb1b403
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot May 29, 2024
42c643d
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Jun 4, 2024
614e930
deps: update dependency com.google.guava:guava-testlib to v33.2.1-jre…
renovate-bot Jun 4, 2024
e3fac2b
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot Jun 4, 2024
e8e1576
build(deps): update dependency org.sonatype.plugins:nexus-staging-mav…
renovate-bot Jun 4, 2024
e7636fd
chore(main): release 2.20.1 (#1476)
release-please[bot] Jun 4, 2024
9d61e9b
Doc: Add gRPC datastore gapic upgrade user guide (#1489)
cindy-peng Jun 25, 2024
44080bc
chore(main): release 2.20.2-SNAPSHOT (#1479)
release-please[bot] Jun 27, 2024
d940c93
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Jun 28, 2024
9293051
chore(main): release 2.20.2 (#1503)
release-please[bot] Jun 28, 2024
d142d9c
feat: enable hermetic library generation (#1462)
diegomarquezp Jun 30, 2024
b55ec32
ci: [java] automatic kokoro label in and /gcbrun comment (#1965) (#1481)
gcf-owl-bot[bot] Jul 1, 2024
43b00f3
test(deps): update dependency com.google.truth:truth to v1.4.3 (#1501)
renovate-bot Jul 1, 2024
515331e
chore: correct hermetic library generation script path (#1506)
diegomarquezp Jul 2, 2024
c146cab
chore: skip hermetic generation on fork PRs (#1510)
diegomarquezp Jul 2, 2024
250f86b
chore: make the owlbot postprocessor check non-required (#1512)
diegomarquezp Jul 3, 2024
d9dff92
chore: disable the Owl Bot post-processor (#1511)
diegomarquezp Jul 3, 2024
b244b8f
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Jul 9, 2024
6a6e925
chore(main): release 2.20.3-SNAPSHOT (#1504)
release-please[bot] Jul 10, 2024
d478009
chore: setup 2.19.x lts branch (#1535)
zhumin8 Jul 31, 2024
21d8cad
chore(main): release 2.21.0 (#1517)
release-please[bot] Aug 5, 2024
9e52395
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Aug 6, 2024
2e39265
chore(main): release 2.21.1-SNAPSHOT (#1538)
release-please[bot] Aug 6, 2024
7bc796e
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Aug 6, 2024
a9e90f3
chore(main): release 2.21.1 (#1540)
release-please[bot] Aug 6, 2024
af6831d
chore(main): release 2.21.2-SNAPSHOT (#1541)
release-please[bot] Aug 20, 2024
642e12f
chore: secure hermetic_library_generation workflow (#1552)
diegomarquezp Aug 20, 2024
8c5f595
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Aug 22, 2024
e368dc5
chore(main): release 2.21.2 (#1553)
release-please[bot] Aug 23, 2024
f209ad4
chore: remove datastore native image sample in favor of sample hosted…
mpeddada1 Aug 27, 2024
da52932
chore: remove unused image tag in .OwlBot-hermetic.yaml (#1559)
diegomarquezp Sep 5, 2024
a9e8a67
chore(main): release 2.21.3-SNAPSHOT (#1554)
release-please[bot] Sep 9, 2024
99e9d17
chore: Update generation configuration at Tue Sep 10 17:00:48 UTC 202…
cloud-java-bot Sep 10, 2024
27e6063
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 10, 2024
5a79fd8
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 10, 2024
18ba37f
deps: update dependency com.google.guava:guava-testlib to v33.3.0-jre…
renovate-bot Sep 10, 2024
8d3af32
deps: update dependency com.google.errorprone:error_prone_core to v2.…
renovate-bot Sep 10, 2024
90811b6
chore: change if condition in workflow (#1567)
JoeWang1127 Sep 11, 2024
4ce3082
chore: Update generation configuration at Wed Sep 11 15:40:41 UTC 202…
cloud-java-bot Sep 11, 2024
266f703
build(deps): update dependency org.apache.maven.plugins:maven-deploy-…
renovate-bot Sep 11, 2024
0478c55
test(deps): update dependency com.google.truth:truth to v1.4.4 (#1520)
renovate-bot Sep 11, 2024
ee788a1
deps: update dependency org.easymock:easymock to v5.4.0 (#1482)
renovate-bot Sep 11, 2024
37a4f58
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 11, 2024
7e7a030
chore(main): release 2.21.3 (#1565)
release-please[bot] Sep 11, 2024
3e33c4c
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 11, 2024
e95d878
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 12, 2024
3e9bf50
chore: Add Clirr exemptions for Protobuf 4.27.4+ runtime (#1575)
lqiu96 Sep 13, 2024
224b137
chore: Update generation configuration at Thu Sep 19 02:21:53 UTC 202…
cloud-java-bot Sep 19, 2024
5440c22
feat: Introducing Tracing with OpenTelemetry API #1537 (#1576)
jimit-j-shah Sep 19, 2024
63218dc
chore(main): release 2.21.4-SNAPSHOT (#1571)
release-please[bot] Sep 20, 2024
b43a5c3
chore: Update generation configuration at Sat Sep 21 02:20:09 UTC 202…
cloud-java-bot Sep 23, 2024
9d719e8
fix: Update opentelemetry-sdk dependency to be test-only (#1595)
jimit-j-shah Sep 24, 2024
23c5c26
fix: Update opentelemetry.version to 1.42.1 to match the BOM version …
jimit-j-shah Sep 24, 2024
2db9e43
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 24, 2024
d2a214c
chore: Update generation configuration at Tue Sep 24 02:23:54 UTC 202…
cloud-java-bot Sep 24, 2024
fae3b74
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.43…
renovate-bot Sep 25, 2024
5d078a4
deps: update dependency com.google.guava:guava-testlib to v33.3.1-jre…
renovate-bot Sep 25, 2024
1286792
feat: add sample code for multiple inequalities indexing consideratio…
cindy-peng Sep 25, 2024
9e9786e
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot Sep 26, 2024
e1b7d4b
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot Sep 26, 2024
8f74a49
deps: update dependency com.google.testparameterinjector:test-paramet…
renovate-bot Sep 26, 2024
df9705b
chore(main): release 2.22.0 (#1589)
release-please[bot] Sep 30, 2024
678eee2
chore: Update generation configuration at Sat Sep 28 02:22:38 UTC 202…
cloud-java-bot Sep 30, 2024
0da1219
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot Sep 30, 2024
742d059
chore: use composite action (#1610)
JoeWang1127 Oct 2, 2024
b299266
chore: Update generation configuration at Wed Oct 9 02:23:35 UTC 202…
cloud-java-bot Oct 9, 2024
0d59482
refactor: Merging from main
cindy-peng Oct 10, 2024
a97b7c2
add repo settings for grpc-experimental
cindy-peng Oct 11, 2024
1d84430
Update datastore grpc version
cindy-peng Oct 11, 2024
8290c23
update grpc datastore admin version
cindy-peng Oct 11, 2024
3a09f72
Add create function for gRPC
cindy-peng Oct 11, 2024
ea51804
mvn formatting
cindy-peng Oct 14, 2024
7627e38
Resolve merge errors
cindy-peng Oct 15, 2024
405c7ba
Resolve merging transport option error
cindy-peng Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/.OwlBot.yaml → .github/.OwlBot-hermetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

docker:
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"
deep-remove-regex:
- "/proto-google-.*/src"

Expand Down
17 changes: 0 additions & 17 deletions .github/.OwlBot.lock.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ branches:
handleGHRelease: true
releaseType: java-backport
branch: 2.17.x
- bumpMinorPreMajor: true
handleGHRelease: true
releaseType: java-backport
branch: 2.19.x
121 changes: 121 additions & 0 deletions .github/scripts/update_generation_config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
#!/bin/bash
set -e
# This script should be run at the root of the repository.
# This script is used to update googleapis_commitish, gapic_generator_version,
# and libraries_bom_version in generation configuration at the time of running
# and create a pull request.

# The following commands need to be installed before running the script:
# 1. git
# 2. gh
# 3. jq

# Utility functions
# Get the latest released version of a Maven artifact.
function get_latest_released_version() {
local group_id=$1
local artifact_id=$2
latest=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json" | jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' | sort -V | tail -n 1)
echo "${latest}"
}

# Update a key to a new value in the generation config.
function update_config() {
local key_word=$1
local new_value=$2
local file=$3
echo "Update ${key_word} to ${new_value} in ${file}"
sed -i -e "s/^${key_word}.*$/${key_word}: ${new_value}/" "${file}"
}

# The parameters of this script is:
# 1. base_branch, the base branch of the result pull request.
# 2. repo, organization/repo-name, e.g., googleapis/google-cloud-java
# 3. [optional] generation_config, the path to the generation configuration,
# the default value is generation_config.yaml in the repository root.
while [[ $# -gt 0 ]]; do
key="$1"
case "${key}" in
--base_branch)
base_branch="$2"
shift
;;
--repo)
repo="$2"
shift
;;
--generation_config)
generation_config="$2"
shift
;;
*)
echo "Invalid option: [$1]"
exit 1
;;
esac
shift
done

if [ -z "${base_branch}" ]; then
echo "missing required argument --base_branch"
exit 1
fi

if [ -z "${repo}" ]; then
echo "missing required argument --repo"
exit 1
fi

if [ -z "${generation_config}" ]; then
generation_config="generation_config.yaml"
echo "Use default generation config: ${generation_config}"
fi

current_branch="generate-libraries-${base_branch}"
title="chore: Update generation configuration at $(date)"

# try to find a open pull request associated with the branch
pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[] | .number")
# create a branch if there's no open pull request associated with the
# branch; otherwise checkout the pull request.
if [ -z "${pr_num}" ]; then
git checkout -b "${current_branch}"
else
gh pr checkout "${pr_num}"
fi

mkdir tmp-googleapis
# use partial clone because only commit history is needed.
git clone --filter=blob:none https://github.com/googleapis/googleapis.git tmp-googleapis
pushd tmp-googleapis
git pull
latest_commit=$(git rev-parse HEAD)
popd
rm -rf tmp-googleapis
update_config "googleapis_commitish" "${latest_commit}" "${generation_config}"

# update gapic-generator-java version to the latest
latest_version=$(get_latest_released_version "com.google.api" "gapic-generator-java")
update_config "gapic_generator_version" "${latest_version}" "${generation_config}"

# update libraries-bom version to the latest
latest_version=$(get_latest_released_version "com.google.cloud" "libraries-bom")
update_config "libraries_bom_version" "${latest_version}" "${generation_config}"

git add "${generation_config}"
changed_files=$(git diff --cached --name-only)
if [[ "${changed_files}" == "" ]]; then
echo "The latest generation config is not changed."
echo "Skip committing to the pull request."
exit 0
fi
git commit -m "${title}"
if [ -z "${pr_num}" ]; then
git remote add remote_repo https://cloud-java-bot:"${GH_TOKEN}@github.com/${repo}.git"
git fetch -q --unshallow remote_repo
git push -f remote_repo "${current_branch}"
gh pr create --title "${title}" --head "${current_branch}" --body "${title}" --base "${base_branch}"
else
git push
gh pr edit "${pr_num}" --title "${title}" --body "${title}"
fi
55 changes: 48 additions & 7 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Expand Down Expand Up @@ -62,7 +61,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- pattern: 2.2.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
Expand All @@ -77,7 +75,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- pattern: 2.12.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
Expand All @@ -92,7 +89,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: multi-db
Expand All @@ -109,7 +105,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: V3-experimental
Expand All @@ -125,7 +120,6 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
Expand All @@ -142,10 +136,57 @@ branchProtectionRules:
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- OwlBot Post Processor
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- pattern: 2.17.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: grpc-experimental
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: 2.19.x
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
requiresStrictStatusChecks: false
requiredStatusCheckContexts:
- dependencies (17)
- lint
- clirr
- units (8)
- units (11)
- 'Kokoro - Test: Integration'
- cla/google
- 'Kokoro - Test: Java GraalVM Native Image'
- 'Kokoro - Test: Java 17 GraalVM Native Image'
- javadoc
- pattern: grpc-experimental
isAdminEnforced: true
requiredApprovingReviewCount: 1
requiresCodeOwnerReviews: true
Expand Down
6 changes: 6 additions & 0 deletions .github/trusted-contribution.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
trustedContributors:
- renovate-bot
- gcf-owl-bot[bot]

annotations:
- type: comment
text: "/gcbrun"
- type: label
text: "kokoro:force-run"
45 changes: 45 additions & 0 deletions .github/workflows/hermetic_library_generation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# GitHub action job to test core java library features on
# downstream client libraries before they are released.
name: Hermetic library generation upon generation config change through pull requests
on:
pull_request:

env:
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
GITHUB_REPOSITORY: ${{ github.repository }}
jobs:
library_generation:
runs-on: ubuntu-latest
steps:
- name: Determine whether the pull request comes from a fork
run: |
if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
echo "This PR comes from a fork. Skip library generation."
echo "SHOULD_RUN=false" >> $GITHUB_ENV
else
echo "SHOULD_RUN=true" >> $GITHUB_ENV
fi
- uses: actions/checkout@v4
if: env.SHOULD_RUN == 'true'
with:
fetch-depth: 0
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
- uses: googleapis/sdk-platform-java/.github/[email protected]
if: env.SHOULD_RUN == 'true'
with:
base_ref: ${{ github.base_ref }}
head_ref: ${{ github.head_ref }}
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unmanaged_dependency_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
shell: bash
run: .kokoro/build.sh
- name: Unmanaged dependency check
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.30.1
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.36.1
with:
bom-path: google-cloud-datastore-bom/pom.xml
42 changes: 42 additions & 0 deletions .github/workflows/update_generation_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# GitHub action job to test core java library features on
# downstream client libraries before they are released.
name: Update generation configuration
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:

jobs:
update-generation-config:
runs-on: ubuntu-22.04
env:
# the branch into which the pull request is merged
base_branch: main
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
- name: Update params in generation config to latest
shell: bash
run: |
set -x
[ -z "$(git config user.email)" ] && git config --global user.email "[email protected]"
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
bash .github/scripts/update_generation_config.sh \
--base_branch "${base_branch}"\
--repo ${{ github.repository }}
env:
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-17.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.30.1"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.36.1"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.30.1"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.36.1"
}

env_vars: {
Expand Down
Loading
Loading