-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Migrate java datastore #11874
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
Draft
chingor13
wants to merge
1,804
commits into
main
Choose a base branch
from
migrate-java-datastore
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Migrate java datastore #11874
Changes from all commits
Commits
Show all changes
1804 commits
Select commit
Hold shift + click to select a range
2f31c5b
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot fa8cea0
chore: Update generation configuration at Wed Jan 22 02:22:09 UTC 202…
cloud-java-bot a38a741
chore(main): release 2.25.4 (#1718)
release-please[bot] 50f106d
feat: Add firestoreInDatastoreMode for datastore emulator (#1698)
cindy-peng df740b6
chore: Update generation configuration at Thu Jan 23 02:20:40 UTC 202…
cloud-java-bot 1cbaf22
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 999d51a
chore(main): release 2.25.5-SNAPSHOT (#1722)
release-please[bot] bde9254
chore(main): release 2.26.0 (#1727)
release-please[bot] 9594024
chore: Update generation configuration at Wed Jan 29 02:19:56 UTC 202…
cloud-java-bot ffa05a2
chore: Update generation configuration at Fri Jan 31 02:20:29 UTC 202…
cloud-java-bot a690e53
chore(main): release 2.26.1-SNAPSHOT (#1728)
release-please[bot] 89f31a8
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.51…
renovate-bot ebc9bcf
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 6e62989
chore: Update generation configuration at Mon Feb 3 02:21:17 UTC 202…
cloud-java-bot c4d82a3
chore: Update generation configuration at Wed Feb 5 02:21:45 UTC 202…
cloud-java-bot 8b54994
chore(main): release 2.26.1 (#1731)
release-please[bot] bf553db
chore: Update generation configuration at Thu Feb 6 02:21:48 UTC 202…
cloud-java-bot 6ce5039
chore(main): release 2.26.2-SNAPSHOT (#1735)
release-please[bot] 7a7a203
chore: Update generation configuration at Tue Feb 11 02:22:43 UTC 202…
cloud-java-bot b8a7a5d
deps: update googleapis/sdk-platform-java action to v2.53.0 (#1738)
renovate-bot 0e1a2d6
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 5b59a62
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot be0d0cd
chore: Update generation configuration at Wed Feb 12 02:21:54 UTC 202…
cloud-java-bot 7272a41
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 4755aeb
chore(main): release 2.26.2 (#1740)
release-please[bot] de24a2c
chore: Update generation configuration at Thu Feb 13 02:22:31 UTC 202…
cloud-java-bot c4157f8
chore: add grpc-experimental branch rules (#1745)
cindy-peng a42c6df
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot fb2bd58
chore: Update generation configuration at Sat Feb 15 02:21:37 UTC 202…
cloud-java-bot 592072b
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.52…
renovate-bot 26c3db0
chore(main): release 2.26.3-SNAPSHOT (#1742)
release-please[bot] da5d9e5
chore(main): release 2.26.3 (#1758)
release-please[bot] 63468ae
chore(main): release 2.26.4-SNAPSHOT (#1762)
release-please[bot] 5144e7a
chore: Update generation configuration at Fri Feb 21 02:23:23 UTC 202…
cloud-java-bot 65479a2
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot a573815
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 6f7d7c1
chore: Update generation configuration at Tue Feb 25 02:24:23 UTC 202…
cloud-java-bot 28f5d27
build(deps): update dependency org.apache.maven.plugins:maven-compile…
renovate-bot be01b18
chore: Update generation configuration at Wed Feb 26 02:24:15 UTC 202…
cloud-java-bot 7a86509
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot a12b0f3
chore(main): release 2.26.4 (#1772)
release-please[bot] b9b302b
chore: Update generation configuration at Thu Feb 27 02:24:49 UTC 202…
cloud-java-bot d29f47c
feat: next release from main branch is 2.27.0 (#1781)
ldetmer a278ce0
chore(main): release 2.26.5-SNAPSHOT (#1774)
release-please[bot] d5e4e84
chore: Update generation configuration at Fri Feb 28 02:25:01 UTC 202…
cloud-java-bot eda6bf8
chore: Update generation configuration at Wed Mar 5 02:25:11 UTC 202…
cloud-java-bot 126f919
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 0fea1bb
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 8369118
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.53…
renovate-bot e763727
build(deps): update dependency org.apache.maven.plugins:maven-deploy-…
renovate-bot 08f2826
chore(main): release 2.27.0 (#1783)
release-please[bot] b8aa8da
chore(main): release 2.27.1-SNAPSHOT (#1787)
release-please[bot] 1833349
chore: Update generation configuration at Fri Mar 7 02:25:44 UTC 202…
cloud-java-bot ba1ad98
chore: Update generation configuration at Mon Mar 17 02:27:09 UTC 202…
cloud-java-bot ab5ac8e
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot cbf58a5
chore: Update generation configuration at Tue Mar 18 02:26:52 UTC 202…
cloud-java-bot 2a82de0
chore(main): release 2.27.1 (#1794)
release-please[bot] 8ceb62b
chore: Update generation configuration at Thu Mar 27 02:26:48 UTC 202…
cloud-java-bot b8f7a48
chore(main): release 2.27.2-SNAPSHOT (#1804)
release-please[bot] 1e24334
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 5c736fa
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 1210f32
chore: Update generation configuration at Fri Apr 25 02:28:52 UTC 202…
cloud-java-bot 4d2026c
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot e1a8983
chore(main): release 2.27.2 (#1827)
release-please[bot] 2b22096
chore: Update generation configuration at Sun Apr 27 02:30:03 UTC 202…
cloud-java-bot 126cf09
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot c5a5593
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot c71b786
chore(main): release 2.27.3-SNAPSHOT (#1828)
release-please[bot] a296d43
feat: Java datastore gapic upgrade (#1824)
cindy-peng 42188b9
chore: Update generation configuration at Tue Apr 29 02:28:51 UTC 202…
cloud-java-bot be02369
doc: modify installation instructions for gapic public preview (#1833)
cindy-peng 6beb152
chore(main): release 2.28.0 (#1832)
release-please[bot] 6a38446
chore(main): release 2.28.1-SNAPSHOT (#1837)
release-please[bot] ac393e6
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 0745906
deps: update googleapis/sdk-platform-java action to v2.57.0 (#1842)
renovate-bot f9a1432
chore(main): release 2.28.1 (#1843)
release-please[bot] 52741c7
chore(main): release 2.28.2-SNAPSHOT (#1845)
release-please[bot] b8fc73d
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 0808d9a
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 012d513
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 7ed3232
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot eef820d
deps: update googleapis/sdk-platform-java action to v2.58.0 (#1853)
renovate-bot 055effd
chore(main): release 2.28.2 (#1854)
release-please[bot] b9c2c3f
feat: add getNumber to AggregationResult (https://github.com/googleap…
st4sik 1097175
fix: remove 500 char path name limit (#1865)
cindy-peng 47e6b2a
chore(main): release 2.28.3-SNAPSHOT (#1859)
release-please[bot] acc1513
deps: update dependency org.easymock:easymock to v5.6.0 (#1858)
renovate-bot 50ddc66
chore(main): release 2.29.0 (#1866)
release-please[bot] 0eff028
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 9b0db92
chore(main): release 2.29.1-SNAPSHOT (#1868)
release-please[bot] 5f31da8
chore(main): release 2.29.1 (#1870)
release-please[bot] 910a6c2
chore: Update generation configuration at Tue Jun 10 02:31:38 UTC 202…
cloud-java-bot 34faa62
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 3bc1a95
chore: Update generation configuration at Wed Jun 11 02:31:02 UTC 202…
cloud-java-bot 7f9c229
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot fe7f8a0
build: disable errorprone for JDK 24+ (#1876)
diegomarquezp 3b37a5e
chore: Update generation configuration at Thu Jun 12 02:30:37 UTC 202…
cloud-java-bot b08416d
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
renovate-bot 09c7df9
chore: Update generation configuration at Fri Jun 13 02:30:58 UTC 202…
cloud-java-bot b64a35c
chore(main): release 2.29.2-SNAPSHOT (#1871)
release-please[bot] 4b15ffd
chore(main): release 2.29.2 (#1879)
release-please[bot] 5c6eaa5
chore: Update generation configuration at Tue Jun 17 02:31:31 UTC 202…
cloud-java-bot 8df2620
build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…
renovate-bot 4fb9929
deps: update googleapis/sdk-platform-java action to v2.59.1 (#1880)
renovate-bot 599f364
chore(main): release 2.29.3-SNAPSHOT (#1882)
release-please[bot] a9d6155
chore: declare the name element (#1891)
suztomo 97004c8
feat: enable grpc configurator for client-side tracing (#1886)
cindy-peng f1c255a
chore: Update generation configuration at Wed Jun 25 02:32:25 UTC 202…
cloud-java-bot bf2a33c
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.60…
renovate-bot 5a82c11
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 56028d0
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot a8d99cd
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 0921f86
deps: update googleapis/sdk-platform-java action to v2.60.0 (#1898)
renovate-bot 77d5050
chore(main): release 2.30.0 (#1890)
release-please[bot] c8f4c0e
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot beeb125
deps: update dependency com.google.cloud:gapic-libraries-bom to v1.61…
renovate-bot 9045160
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot a74c46b
feat: next release from main branch is 2.31.0 (#1912)
jinseopkim0 b10e0f0
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 29d7fe8
chore(main): release 2.30.1-SNAPSHOT (#1902)
release-please[bot] 0fd4981
chore(main): release 2.31.0 (#1916)
release-please[bot] 481e26d
chore: create LTS branch 2.29.x (#1922)
jinseopkim0 0c5f47c
chore: manual update of update_generation_config.sh (#1925)
diegomarquezp 1ecdf37
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 876e46b
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 20fc6b3
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 06372cd
chore: Update generation configuration at Mon Jul 28 16:10:07 UTC 202…
cloud-java-bot 3826b79
chore(main): release 2.31.1-SNAPSHOT (#1920)
release-please[bot] d478b18
chore(main): release 2.31.1 (#1929)
release-please[bot] 290e8bf
chore(main): release 2.31.2-SNAPSHOT (#1931)
release-please[bot] c7bd68d
chore: Update generation configuration at Thu Aug 7 02:41:40 UTC 202…
cloud-java-bot a25433f
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 9056a73
chore: Update generation configuration at Fri Aug 8 02:42:00 UTC 202…
cloud-java-bot 53f3692
chore(main): release 2.31.2 (#1934)
release-please[bot] 2b7fed8
chore: Update generation configuration at Sat Aug 16 02:30:30 UTC 202…
cloud-java-bot df8bb69
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 30a6e28
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot bc548dc
chore(main): release 2.31.3-SNAPSHOT (#1938)
release-please[bot] 4eeeb4f
chore(main): release 2.31.3 (#1945)
release-please[bot] 90f5526
chore: Update generation configuration at Wed Aug 20 02:29:16 UTC 202…
cloud-java-bot 3121949
chore: Update generation configuration at Thu Aug 21 02:30:12 UTC 202…
cloud-java-bot f261a2a
chore(main): release 2.31.4-SNAPSHOT (#1946)
release-please[bot] f7cf8ac
chore(deps): update dependency com.google.cloud:google-cloud-datastor…
renovate-bot 00516b9
chore: Update generation configuration at Fri Aug 22 02:30:11 UTC 202…
cloud-java-bot 21aee15
chore(main): release 2.31.4 (#1949)
release-please[bot] 57981db
feat: Add sample code for connection pooling (#1947)
cindy-peng 283cfeb
chore: Update generation configuration at Fri Sep 5 02:27:13 UTC 202…
cloud-java-bot 5d1c262
chore(main): release 2.31.5-SNAPSHOT (#1952)
release-please[bot] 833a34a
deps: update dependency com.google.cloud:sdk-platform-java-config to …
blakeli0 a16b249
chore(main): release 2.32.0 (#1962)
release-please[bot] d02c2b1
chore(main): release 2.32.1-SNAPSHOT (#1964)
release-please[bot] 2243471
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 6e99826
chore(main): release 2.32.1 (#1970)
release-please[bot] 141ec94
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 4e52aec
chore(main): release 2.32.2-SNAPSHOT (#1971)
release-please[bot] a74c753
chore(main): release 2.32.2 (#1974)
release-please[bot] c57e76e
chore: add JDK 25 to the CI (#1976)
mpeddada1 1520b7c
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot b9b95cb
chore: Update generation configuration at Sun Oct 19 02:31:07 UTC 202…
cloud-java-bot 2305410
chore(main): release 2.32.3-SNAPSHOT (#1975)
release-please[bot] 40c5120
chore(main): release 2.32.3 (#1986)
release-please[bot] 767a558
feat: enable flag for report generation (#1991)
jinseopkim0 5f6c500
deps: Manage Opentelemetry version from Shared-Deps (#1995)
diegomarquezp 11265fd
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot beb284c
chore: grant write access to yoshi-java (#1996)
diegomarquezp 216e771
chore: Update generation configuration at Thu Nov 13 02:30:31 UTC 202…
cloud-java-bot 8642b8b
chore(main): release 2.32.4-SNAPSHOT (#1987)
release-please[bot] c2cfbe0
chore(main): release 2.33.0 (#1997)
release-please[bot] 4a4b546
chore: add release-please config for protobuf-4.x (#2002)
diegomarquezp c2062e7
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 3ad3168
deps: update googleapis/sdk-platform-java action to v2.64.2 (#2012)
renovate-bot b5f1285
chore: Update generation configuration at Thu Dec 11 02:33:14 UTC 202…
cloud-java-bot d0638ec
chore(main): release 2.33.1-SNAPSHOT (#1998)
release-please[bot] f08c51a
chore(main): release 2.33.1 (#2013)
release-please[bot] 83fb5cf
chore(main): release 2.33.2-SNAPSHOT (#2014)
release-please[bot] 3be8106
chore: Run errorprone for JDK 17+ only (#2023)
lqiu96 786a2ea
chore: cleanup release-please config (#2005)
diegomarquezp 4d7dd5a
chore: Update generation configuration at Tue Jan 13 21:59:16 UTC 202…
cloud-java-bot 6442e10
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot de3236d
deps: update googleapis/sdk-platform-java action to v2.65.1 (#2029)
renovate-bot 5d9bfd2
chore: Update generation configuration at Thu Jan 15 02:36:12 UTC 202…
cloud-java-bot 285e0ec
chore(main): release 2.33.2 (#2028)
release-please[bot] 02ad0d8
chore: update workflow github token (#2034)
diegomarquezp 2e66549
chore(main): release 2.33.3-SNAPSHOT (#2032)
release-please[bot] 62dc19d
deps: update dependency com.google.cloud:sdk-platform-java-config to …
renovate-bot 4668b10
deps: update googleapis/sdk-platform-java action to v2.66.0 (#2036)
renovate-bot 7c94cbb
chore: Update generation configuration at Fri Jan 23 22:02:56 UTC 202…
cloud-java-bot 45a346c
chore(main): release 2.33.3 (#2037)
release-please[bot] a077a41
chore(main): release 2.33.4-SNAPSHOT (#2040)
release-please[bot] 81fe7f5
chore: add monorepo migration script
meltsufin 2e08f3a
chore: fix path
meltsufin bce3be9
chore: refine migration script for atomic commits and isolation
meltsufin 87f9105
chore: remove pom.xml update logic from migration script
meltsufin 39579a7
chore: implement GitHub Actions workflow migration using paths-filter
meltsufin 7186888
chore: skip redundant workflows and update generation_config.yaml
meltsufin 195a721
chore: expand workflow skip list to include samples, release, and more
meltsufin ebb120c
chore: make workflow transformation logic a permanent script and rena…
meltsufin d89a6f9
chore: refine versions.txt consolidation to only append data lines
meltsufin e42ce8f
chore: remove clirr job from workflow transformation
meltsufin f4d37b6
chore: add copyright header fix to migration script
meltsufin 77ca28b
impl: automate reporting removal, build verification, and dynamic par…
meltsufin 1d0d4cc
feat: add CLI binary checks to migrate.sh
chingor13 dac897b
chore: allow setting SOURCE_REPO_URL via environment variable in migr…
chingor13 9733293
feat: add guard for checking if the repository is already migrated
chingor13 982964d
feat: add environment variable for specifying codeowner team to migrate
chingor13 afa909d
feat: insert new module in root pom.xml
chingor13 842b607
chore: exclude common files from source root in migration script
chingor13 dfb9b5c
refactor: extract inline python to a .py file
chingor13 17cebe7
chore: add license headers
chingor13 0d41cab
fix: use 2026 when fixing copyright headers
chingor13 a0d0309
refactor: extract fix copyright inline python into .py file
chingor13 dd6fbdb
feat: update urls in the migrated pom.xml
chingor13 2c0b86c
fix: preserve explicilty declared versions in pom.xml
chingor13 66d7b1c
fix: also preserve explicit google-cloud-x dependency versions
chingor13 efcf08c
feat: prompt for CODEOWNERS value
chingor13 490c1bd
feat: prompt for SOURCE_REPO_URL value
chingor13 ada0b97
feat: merge generator config yaml
chingor13 d8b8d5b
chore: read root CODEOWNER entry from source
chingor13 a226a1a
migrate .OwlBot-hermetic.yaml
chingor13 8616d31
migrate existing owlbot.py file and replace the template excludes
chingor13 bb67452
skip .kokoro folder
chingor13 c3cb968
remove more unnecessary files
chingor13 849a00e
remove only kokoro configs and clean up generation config
chingor13 50a861d
disable java17 profile for split repo's java8 test
chingor13 852dc6c
add git config for longpaths on windows build
chingor13 bc67a4b
fix working directory for longpaths
chingor13 de61f6b
allow running root ci scripts in BUILD_SUBDIR
chingor13 8024b13
modernize the bom pom.xml
chingor13 077747f
allow specifying target branch
chingor13 6032b41
fix s.move
chingor13 2a7ad17
use BUILD_SUBDIR env variable
chingor13 7fa38dd
skip kokoro files
chingor13 3395079
fix windows build file
chingor13 93c958e
optionally squash commits
chingor13 f1894ab
fix CODEOWNERS detection
chingor13 353f926
fix owlbot template excludes
chingor13 162741a
configurable base branch, defaults to main
chingor13 bf1b215
chore(java-datastore): migrate java-datastore into monorepo
chingor13 fd78339
chore(java-datastore): add code owners for java-datastore
chingor13 6296dd3
chore(java-datastore): add module to root pom.xml
chingor13 9a3937b
chore(java-datastore): migrate and adapt GitHub Actions workflows
chingor13 adfcd3c
chore(java-datastore): add library to generation_config.yaml
chingor13 1335251
chore(java-datastore): consolidate versions.txt into root
chingor13 3cb57b4
chore(java-datastore): migrate .OwlBot-hermetic.yaml
chingor13 63a9cac
chore(java-datastore): migrate owlbot.py
chingor13 8eb9705
chore(java-datastore): update copyright headers to 2026 Google LLC
chingor13 2ae9f4e
chore(java-datastore): modernize root pom.xml
chingor13 ae4852c
chore(java-datastore): modernize BOM pom.xml
chingor13 08b5798
chore: generate libraries at Mon Jan 26 22:58:40 UTC 2026
cloud-java-bot 73ffd65
set project id
chingor13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| # Copyright 2022 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. | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| name: java-datastore ci | ||
| env: | ||
| BUILD_SUBDIR: java-datastore | ||
| jobs: | ||
| filter: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| library: ${{ steps.filter.outputs.library }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dorny/paths-filter@v3 | ||
| id: filter | ||
| with: | ||
| filters: | | ||
| library: | ||
| - 'java-datastore/**' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably want to trigger this on Gax changes as well. Do we want to put it there now? Or later when sdk-platform-java is being migrated? |
||
| units: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| java: [11, 17, 21, 25] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: ${{matrix.java}} | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| units-java8: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| # Building using Java 17 and run the tests with Java 8 runtime | ||
| name: "units (8)" | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 8 | ||
| distribution: temurin | ||
| - name: "Set jvm system property environment variable for surefire plugin (unit tests)" | ||
| # Maven surefire plugin (unit tests) allows us to specify JVM to run the tests. | ||
| # https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm | ||
| run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java -P !java17" >> $GITHUB_ENV | ||
| shell: bash | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 17 | ||
| distribution: temurin | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| windows: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| # Building using Java 11 and run the tests with Java 8 runtime | ||
| runs-on: windows-latest | ||
| steps: | ||
| - name: Support longpaths | ||
| run: git config --system core.longpaths true | ||
| - name: Support longpaths | ||
| run: git config --system core.longpaths true | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 8 | ||
| distribution: temurin | ||
| - name: "Set jvm system property environment variable for surefire plugin (unit tests)" | ||
| run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}\bin\java -P !java17" >> $GITHUB_ENV | ||
| shell: bash | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 11 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: test | ||
| dependencies: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| java: [17] | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: ${{matrix.java}} | ||
| - run: java -version | ||
| - run: .kokoro/dependencies.sh | ||
| javadoc: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: javadoc | ||
| lint: | ||
| needs: filter | ||
| if: ${{ needs.filter.outputs.library == 'true' }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - run: java -version | ||
| - run: .kokoro/build.sh | ||
| env: | ||
| JOB_TYPE: lint | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cloud-java-team-teamsynccan be changed to Tomo's new aliascloud-sdk-java-teamnow.