Skip to content

Commit d6709ec

Browse files
committed
chore(sdk-platform-java): migrate sdk-platform-java into monorepo
2 parents d8fd05f + 4b3dbe2 commit d6709ec

File tree

4,731 files changed

+1450686
-0
lines changed

Some content is hidden

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

4,731 files changed

+1450686
-0
lines changed

sdk-platform-java/.bazeliskrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# See https://github.com/bazelbuild/bazelisk
2+
# Version required for Java 24 support (https://github.com/bazelbuild/bazel/commit/806a6e82320956b63f1351ebe2b0da8483f36f19).
3+
USE_BAZEL_VERSION=7.7.0

sdk-platform-java/.bazelrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
startup --batch
2+
3+
build --show_timestamps
4+
build --protocopt=--experimental_allow_proto3_optional
5+
6+
build --cxxopt=-std=c++14
7+
build --host_cxxopt=-std=c++14
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_a.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-a-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-a-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-a-build" ]
45+
id: native-java-kms
46+
env:
47+
- 'MODULES_UNDER_TEST=java-kms'
48+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_a.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-a-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-a-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-a-build" ]
45+
id: native-java-kmsinventory
46+
env:
47+
- 'MODULES_UNDER_TEST=java-kmsinventory'
48+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.57.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_a.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-a-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-a-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/showcase-native.sh' ]
44+
waitFor: [ "graalvm-a-build" ]
45+
id: native-showcase
46+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_b.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-b-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-b-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-b-build" ]
45+
env:
46+
- 'MODULES_UNDER_TEST=java-kms'
47+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2024 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_b.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-b-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-b-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-b-build" ]
45+
id: native-java-kmsinventory
46+
env:
47+
- 'MODULES_UNDER_TEST=java-kmsinventory'
48+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.57.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_b.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-b-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-b-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/showcase-native.sh' ]
44+
waitFor: [ "graalvm-b-build" ]
45+
id: native-showcase
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_c.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-c-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-c-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-c-build" ]
45+
id: native-java-kms
46+
env:
47+
- 'MODULES_UNDER_TEST=java-kms'
48+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
timeout: 7200s # 2 hours
16+
substitutions:
17+
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
18+
_JAVA_SHARED_CONFIG_VERSION: '1.17.0'
19+
options:
20+
machineType: 'E2_HIGHCPU_8'
21+
logging: CLOUD_LOGGING_ONLY
22+
steps:
23+
- name: gcr.io/cloud-builders/docker
24+
args: [
25+
"build",
26+
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
27+
"--file", "graalvm_c.Dockerfile",
28+
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
29+
"."
30+
]
31+
dir: .cloudbuild/graalvm
32+
id: graalvm-c-build
33+
waitFor: ["-"]
34+
35+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
36+
waitFor: [ "graalvm-c-build" ]
37+
entrypoint: java
38+
args: [ '-version' ]
39+
id: java-version
40+
41+
- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
42+
entrypoint: bash
43+
args: [ './.kokoro/presubmit/downstream-build.sh' ]
44+
waitFor: [ "graalvm-c-build" ]
45+
id: native-java-kmsinventory
46+
env:
47+
- 'MODULES_UNDER_TEST=java-kmsinventory'
48+
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'

0 commit comments

Comments
 (0)