Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .cloudbuild/graalvm/cloudbuild-test-a-downstream-kms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/graalvm/cloudbuild-test-a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.45.2-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/graalvm/cloudbuild-test-b-downstream-kms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
2 changes: 1 addition & 1 deletion .cloudbuild/graalvm/cloudbuild-test-b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.45.2-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
Expand Down
48 changes: 48 additions & 0 deletions .cloudbuild/graalvm/cloudbuild-test-c-downstream-kms.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2025 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.

timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
steps:
- name: gcr.io/cloud-builders/docker
args: [
"build",
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
"--file", "graalvm_c.Dockerfile",
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
"."
]
dir: .cloudbuild/graalvm
id: graalvm-c-build
waitFor: ["-"]

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
waitFor: [ "graalvm-c-build" ]
entrypoint: java
args: [ '-version' ]
id: java-version

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
entrypoint: bash
args: [ './.kokoro/presubmit/downstream-build.sh' ]
waitFor: [ "graalvm-c-build" ]
id: native-java-kms
env:
- 'MODULES_UNDER_TEST=java-kms'
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
48 changes: 48 additions & 0 deletions .cloudbuild/graalvm/cloudbuild-test-c-downstream-kmsinventory.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Copyright 2025 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.

timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.30.1-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
steps:
- name: gcr.io/cloud-builders/docker
args: [
"build",
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
"--file", "graalvm_c.Dockerfile",
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
"."
]
dir: .cloudbuild/graalvm
id: graalvm-c-build
waitFor: ["-"]

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
waitFor: [ "graalvm-c-build" ]
entrypoint: java
args: [ '-version' ]
id: java-version

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
entrypoint: bash
args: [ './.kokoro/presubmit/downstream-build.sh' ]
waitFor: [ "graalvm-c-build" ]
id: native-java-kmsinventory
env:
- 'MODULES_UNDER_TEST=java-kmsinventory'
- 'GOOGLE_CLOUD_PROJECT=java-graalvm-ci-prod'
45 changes: 45 additions & 0 deletions .cloudbuild/graalvm/cloudbuild-test-c.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Copyright 2025 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.

timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.45.2-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
options:
machineType: 'E2_HIGHCPU_8'
logging: CLOUD_LOGGING_ONLY
steps:
- name: gcr.io/cloud-builders/docker
args: [
"build",
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
"--file", "graalvm_c.Dockerfile",
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
"."
]
dir: .cloudbuild/graalvm
id: graalvm-c-build
waitFor: ["-"]

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
waitFor: [ "graalvm-c-build" ]
entrypoint: java
args: [ '-version' ]
id: java-version

- name: gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
entrypoint: bash
args: [ './.kokoro/presubmit/showcase-native.sh' ]
waitFor: [ "graalvm-c-build" ]
id: native-showcase
20 changes: 18 additions & 2 deletions .cloudbuild/graalvm/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_SHARED_DEPENDENCIES_VERSION: '3.45.2-SNAPSHOT' # {x-version-update:google-cloud-shared-dependencies:current}
_JAVA_SHARED_CONFIG_VERSION: '1.15.1'
_JAVA_SHARED_CONFIG_VERSION: '1.15.4'
steps:
# GraalVM A build
- name: gcr.io/cloud-builders/docker
Expand Down Expand Up @@ -45,11 +45,27 @@ steps:
id: graalvm-b-build
waitFor: [ "-" ]

# GraalVM C build
- name: gcr.io/cloud-builders/docker
args: [
"build",
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}",
"-t", "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:infrastructure-public-image-$SHORT_SHA",
"--file", "graalvm_c.Dockerfile",
"--build-arg", "JAVA_SHARED_CONFIG_VERSION=$_JAVA_SHARED_CONFIG_VERSION",
"."
]
dir: .cloudbuild/graalvm
id: graalvm-c-build
waitFor: [ "-" ]

options:
logging: CLOUD_LOGGING_ONLY

images:
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:${_SHARED_DEPENDENCIES_VERSION}
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:${_SHARED_DEPENDENCIES_VERSION}
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:${_SHARED_DEPENDENCIES_VERSION}
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:infrastructure-public-image-$SHORT_SHA
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:infrastructure-public-image-$SHORT_SHA
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:infrastructure-public-image-$SHORT_SHA
- gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:infrastructure-public-image-$SHORT_SHA
18 changes: 18 additions & 0 deletions .cloudbuild/graalvm/graalvm_c.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2025 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.


ARG JAVA_SHARED_CONFIG_VERSION

FROM us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_c:$JAVA_SHARED_CONFIG_VERSION
1 change: 1 addition & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extraFiles:
- .cloudbuild/graalvm/cloudbuild.yaml
- .cloudbuild/graalvm/cloudbuild-test-a.yaml
- .cloudbuild/graalvm/cloudbuild-test-b.yaml
- .cloudbuild/graalvm/cloudbuild-test-c.yaml
- .cloudbuild/library_generation/cloudbuild-library-generation-release.yaml
- generation_config.yaml
branches:
Expand Down
7 changes: 7 additions & 0 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,25 @@ branchProtectionRules:
- compatibility
- graalvm-presubmit-sdk-platform-java-a (java-graalvm-ci-prod)
- graalvm-presubmit-sdk-platform-java-b (java-graalvm-ci-prod)
- graalvm-presubmit-sdk-platform-java-c (java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-a-downstream-kms
(java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-b-downstream-kms
(java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-c-downstream-kms
(java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-a-downstream-kmsinventory
(java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-b-downstream-kmsinventory
(java-graalvm-ci-prod)
- >-
graalvm-presubmit-sdk-platform-java-c-downstream-kmsinventory
(java-graalvm-ci-prod)
- library_generation
- library-generation-integration-test (java-hermetic-build-prod)
- library-generation-lint-python
Expand Down
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
".cloudbuild/graalvm/cloudbuild.yaml",
".cloudbuild/graalvm/cloudbuild-test-a.yaml",
".cloudbuild/graalvm/cloudbuild-test-b.yaml",
".cloudbuild/graalvm/cloudbuild-test-c.yaml",
".cloudbuild/library_generation/cloudbuild-library-generation-push.yaml",
".cloudbuild/library_generation/library_generation.Dockerfile",
".cloudbuild/library_generation/library_generation_airlock.Dockerfile"
Expand Down
Loading