Skip to content

Commit 80d7490

Browse files
[GR-67991] Fix espresso standalone deployment.
PullRequest: graal/21613
2 parents 4d67665 + efb66f6 commit 80d7490

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vm/ci/ci_common/common-runspec.jsonnet

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ local evaluate_late(key, object) = task_spec(run_spec.evaluate_late({key:object}
195195
},
196196
} else {})),
197197

198-
local deploy_graalvm_espresso(with_g1=false) = svm_common + common_os_deploy + espresso_name + task_spec({
198+
local deploy_graalvm_espresso(major_version, with_g1=false) = svm_common + common_os_deploy + espresso_name + task_spec({
199199
notify_groups:: ['deploy'],
200200
}) + build_base_graalvm_image(with_profiles=false) + task_spec({
201-
espresso_standalone_dist:: (if vm.edition == 'ce' then 'GRAALVM_ESPRESSO_COMMUNITY_JAVA21' else 'GRAALVM_ESPRESSO_JAVA21') +
201+
espresso_standalone_dist:: (if vm.edition == 'ce' then 'GRAALVM_ESPRESSO_COMMUNITY_JAVA' + major_version else 'GRAALVM_ESPRESSO_JAVA' + major_version) +
202202
(if with_g1 then '_G1' else ''),
203203
mx_vm_espresso:: vm.mx_cmd_base_no_env + ['--env', self.mx_env_espresso] + self.mx_vm_cmd_suffix,
204204
run +: (if with_g1 then [['set-export', 'ESPRESSO_DELIVERABLE_VARIANT', 'G1']] else []) + [
@@ -216,7 +216,7 @@ local evaluate_late(key, object) = task_spec(run_spec.evaluate_late({key:object}
216216
# Deploy it to the artifact server
217217
self.mx_vm_espresso + deploy_artifacts(self.os, suite='espresso', tags=['standalone']),
218218
],
219-
}) + timelimit('1:45:00'),
219+
}) + timelimit('1:45:00') + notify_emails('[email protected]'),
220220

221221
local deploy_vm_base_task_dict = {
222222
#
@@ -236,15 +236,15 @@ local evaluate_late(key, object) = task_spec(run_spec.evaluate_late({key:object}
236236
#
237237
# Deploy the GraalVM Espresso standalones
238238
#
239-
"vm-espresso": mx_env + deploy_graalvm_espresso() + espresso_java_home(25) + default_os_arch_jdk_mixin + platform_spec(no_jobs) + (
239+
"vm-espresso": mx_env + deploy_graalvm_espresso(25) + espresso_java_home(25) + default_os_arch_jdk_mixin + platform_spec(no_jobs) + (
240240
if vm.deploy_espress_standalone then platform_spec({
241241
"linux:amd64:jdk-latest": daily,
242242
"linux:aarch64:jdk-latest": weekly,
243243
"darwin:amd64:jdk-latest": weekly + capabilities('darwin_bigsur'),
244244
"darwin:aarch64:jdk-latest": weekly + capabilities('darwin_bigsur'),
245245
"windows:amd64:jdk-latest": weekly,
246246
}) else {}),
247-
"vm-espresso-g1": mx_env + deploy_graalvm_espresso(with_g1=true) + espresso_java_home(25) + default_os_arch_jdk_mixin + platform_spec(no_jobs) + (
247+
"vm-espresso-g1": mx_env + deploy_graalvm_espresso(25, with_g1=true) + espresso_java_home(25) + default_os_arch_jdk_mixin + platform_spec(no_jobs) + (
248248
if vm.deploy_espress_standalone && vm.edition == 'ee' then platform_spec({
249249
"linux:amd64:jdk-latest": daily,
250250
"linux:aarch64:jdk-latest": weekly,

0 commit comments

Comments
 (0)