@@ -149,9 +149,13 @@ local devkits = graal_common.devkits;
149
149
svm_common: graal_common.deps.svm,
150
150
svm_common_windows_amd64(jdk): self .svm_common + graal_common.devkits["windows-jdk" + jdk],
151
151
152
- maven_deploy_sdk: ['--suite' , 'sdk' , 'maven-deploy' , '--validate' , 'none' , '--all-distribution-types' , '--with-suite-revisions-metadata' ],
152
+ maven_deploy_sdk: ['--suite' , 'sdk' , 'maven-deploy' , '--validate' , 'none' , '--all-distribution-types' , '--with-suite-revisions-metadata' ],
153
153
deploy_artifacts_sdk(os, base_dist_name=null): (if base_dist_name != null then ['--base-dist-name=' + base_dist_name] else []) + ['--suite' , 'sdk' , 'deploy-artifacts' , '--uploader' , if os == 'windows' then 'artifact_uploader.cmd' else 'artifact_uploader' ],
154
154
155
+ maven_deploy_all_suites: ['maven-deploy' , '--all-suites' , '--validate' , 'none' , '--all-distribution-types' , '--with-suite-revisions-metadata' ],
156
+ deploy_artifacts_all_suites(os): ['deploy-artifacts' , '--all-suites' , '--uploader' , if os == 'windows' then 'artifact_uploader.cmd' else 'artifact_uploader' ],
157
+
158
+ # All 3 used in vm.jsonnet
155
159
maven_deploy_sdk_base: self .maven_deploy_sdk + ['--tags' , 'graalvm' , vm.binaries_repository],
156
160
artifact_deploy_sdk_base(os, base_dist_name): self .deploy_artifacts_sdk(os, base_dist_name) + ['--tags' , 'graalvm' ],
157
161
deploy_sdk_base(os, base_dist_name=null): [self .mx_vm_common + vm.vm_profiles + self .maven_deploy_sdk_base, self .mx_vm_common + vm.vm_profiles + self .artifact_deploy_sdk_base(os, base_dist_name)],
@@ -160,16 +164,16 @@ local devkits = graal_common.devkits;
160
164
artifact_deploy_sdk_base_dry_run(os, base_dist_name): self .deploy_artifacts_sdk(os, base_dist_name) + ['--tags' , 'graalvm' , '--dry-run' ],
161
165
deploy_sdk_base_dry_run(os, base_dist_name=null): [self .mx_vm_common + vm.vm_profiles + self .maven_deploy_sdk_base_dry_run, self .mx_vm_common + vm.vm_profiles + self .artifact_deploy_sdk_base_dry_run(os, base_dist_name)],
162
166
163
- deploy_sdk_components (os, tags): [
164
- $.mx_vm_complete + self .maven_deploy_sdk + ['--tags' , tags, vm.binaries_repository],
165
- $.mx_vm_complete + self .deploy_artifacts_sdk (os) + ['--tags' , tags]
167
+ deploy_standalones (os, tags): [
168
+ $.mx_vm_complete + self .maven_deploy_all_suites + ['--tags' , tags, vm.binaries_repository],
169
+ $.mx_vm_complete + self .deploy_artifacts_all_suites (os) + ['--tags' , tags]
166
170
],
167
171
168
- maven_deploy_sdk_components_dry_run : self .maven_deploy_sdk + ['--tags' , 'standalone' , '--dry-run' , vm.binaries_repository],
169
- artifact_deploy_sdk_components_dry_run (os): self .deploy_artifacts_sdk (os) + ['--tags' , 'standalone' , '--dry-run' ],
170
- deploy_sdk_components_dry_run (os): [
171
- $.mx_vm_complete + self .maven_deploy_sdk_components_dry_run ,
172
- $.mx_vm_complete + self .artifact_deploy_sdk_components_dry_run (os)
172
+ maven_deploy_standalones_dry_run : self .maven_deploy_all_suites + ['--tags' , 'standalone' , '--dry-run' , vm.binaries_repository],
173
+ artifact_deploy_standalones_dry_run (os): self .deploy_artifacts_all_suites (os) + ['--tags' , 'standalone' , '--dry-run' ],
174
+ deploy_standalones_dry_run (os): [
175
+ $.mx_vm_complete + self .maven_deploy_standalones_dry_run ,
176
+ $.mx_vm_complete + self .artifact_deploy_standalones_dry_run (os)
173
177
],
174
178
175
179
ruby_vm_build: self .svm_common + self .sulong + self .truffleruby + vm.custom_vm,
@@ -528,24 +532,19 @@ local devkits = graal_common.devkits;
528
532
timelimit: "1:00:00"
529
533
},
530
534
531
- deploy_graalvm_components(java_version, standalones, record_file_sizes=false): vm.check_structure + {
532
- build_deps:: std.join (',' , []
533
- + (if (record_file_sizes) then ['GRAALVM' ] else [])
534
- + (if (standalones) then ['GRAALVM_STANDALONES' ] else [])
535
- ),
535
+ deploy_graalvm_standalones(java_version, record_file_sizes=false): vm.check_structure + {
536
+ build_deps:: '{MAVEN_TAG_DISTRIBUTIONS:standalone}' ,
536
537
537
- tags:: std.join (',' , []
538
- + (if (standalones) then ['standalone' ] else [])
539
- ),
538
+ tags:: 'standalone' ,
540
539
541
540
run: $.patch_env(self .os, self .arch, java_version) + [
542
541
$.mx_vm_complete + ['graalvm-show' ],
543
542
$.mx_vm_complete + ['build' , '--dependencies' , self .build_deps],
544
543
]
545
- + $.deploy_sdk_components (self .os, self .tags)
544
+ + $.deploy_standalones (self .os, self .tags)
546
545
+ (
547
546
if (record_file_sizes) then [
548
- $.mx_vm_complete + $.record_file_sizes,
547
+ $.mx_vm_complete + $.record_file_sizes + [ '--' , 'standalones' ] ,
549
548
$.upload_file_sizes,
550
549
] else []
551
550
),
@@ -554,20 +553,21 @@ local devkits = graal_common.devkits;
554
553
},
555
554
556
555
#
557
- # Deploy GraalVM Base and Standalones
556
+ # Deploy Truffle Languages Standalones
557
+ # `Deploy GraalVM Base` is done in common-runspec.jsonnet.
558
558
# NOTE: After adding or removing deploy jobs, please make sure you modify ce-release-artifacts.json accordingly.
559
559
#
560
560
561
561
# Linux/AMD64
562
- deploy_vm_standalones_javaLatest_linux_amd64: vm.vm_java_Latest + self .full_vm_build + self .linux_deploy + self .vm_base('linux' , 'amd64' , 'daily' , deploy=true ) + self .deploy_graalvm_components ('latest' , standalones= true , record_file_sizes=true ) + {name: 'daily-deploy-vm-standalones-java-latest-linux-amd64' , notify_groups:: ["deploy" ]},
562
+ deploy_vm_standalones_javaLatest_linux_amd64: vm.vm_java_Latest + self .full_vm_build + self .linux_deploy + self .vm_base('linux' , 'amd64' , 'daily' , deploy=true ) + self .deploy_graalvm_standalones ('latest' , record_file_sizes=true ) + {name: 'daily-deploy-vm-standalones-java-latest-linux-amd64' , notify_groups:: ["deploy" ]},
563
563
# Linux/AARCH64
564
- deploy_vm_standalones_javaLatest_linux_aarch64: vm.vm_java_Latest + self .full_vm_build + self .linux_deploy + self .vm_base('linux' , 'aarch64' , 'daily' , deploy=true ) + self .deploy_graalvm_components ('latest' , standalones= true ) + {name: 'daily-deploy-vm-standalones-java-latest-linux-aarch64' , notify_groups:: ["deploy" ], capabilities+: ["!xgene3" ]},
564
+ deploy_vm_standalones_javaLatest_linux_aarch64: vm.vm_java_Latest + self .full_vm_build + self .linux_deploy + self .vm_base('linux' , 'aarch64' , 'daily' , deploy=true ) + self .deploy_graalvm_standalones ('latest' ) + {name: 'daily-deploy-vm-standalones-java-latest-linux-aarch64' , notify_groups:: ["deploy" ], capabilities+: ["!xgene3" ]},
565
565
# Darwin/AMD64
566
- deploy_vm_standalones_javaLatest_darwin_amd64: vm.vm_java_Latest + self .full_vm_build + self .darwin_deploy + self .vm_base('darwin' , 'amd64' , 'daily' , deploy=true , jdk_hint='Latest' ) + self .deploy_graalvm_components ('latest' , standalones= true ) + {name: 'daily-deploy-vm-standalones-java-latest-darwin-amd64' , capabilities+: ["!macmini_late_2014" ], notify_groups:: ["deploy" ], timelimit: '3:00:00' },
566
+ deploy_vm_standalones_javaLatest_darwin_amd64: vm.vm_java_Latest + self .full_vm_build + self .darwin_deploy + self .vm_base('darwin' , 'amd64' , 'daily' , deploy=true , jdk_hint='Latest' ) + self .deploy_graalvm_standalones ('latest' ) + {name: 'daily-deploy-vm-standalones-java-latest-darwin-amd64' , capabilities+: ["!macmini_late_2014" ], notify_groups:: ["deploy" ], timelimit: '3:00:00' },
567
567
# Darwin/AARCH64
568
- deploy_vm_standalones_javaLatest_darwin_aarch64: vm.vm_java_Latest +
self .full_vm_build +
self .darwin_deploy +
self .vm_base(
'darwin' ,
'aarch64' ,
'daily' , deploy=
true ) +
self .
deploy_graalvm_components (
'latest' , standalones= true ) + {
name: 'daily-deploy-vm-standalones-java-latest-darwin-aarch64' ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
568
+ deploy_vm_standalones_javaLatest_darwin_aarch64: vm.vm_java_Latest +
self .full_vm_build +
self .darwin_deploy +
self .vm_base(
'darwin' ,
'aarch64' ,
'daily' , deploy=
true ) +
self .
deploy_graalvm_standalones (
'latest' ) + {
name: 'daily-deploy-vm-standalones-java-latest-darwin-aarch64' ,
notify_groups:: [
"deploy" ],
notify_emails+: [
"[email protected] " ],
timelimit: '3:00:00' },
569
569
# Windows/AMD64
570
- deploy_vm_standalones_javaLatest_windows_amd64: vm.vm_java_Latest + self .svm_common_windows_amd64('Latest' ) + self .js_windows_common + self .sulong + self .vm_base('windows' , 'amd64' , 'daily' , deploy=true , jdk_hint='Latest' ) + self .deploy_graalvm_components ('latest' , standalones= true ) + self .deploy_build + {name: 'daily-deploy-vm-standalones-java-latest-windows-amd64' , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
570
+ deploy_vm_standalones_javaLatest_windows_amd64: vm.vm_java_Latest + self .svm_common_windows_amd64('Latest' ) + self .js_windows_common + self .sulong + self .vm_base('windows' , 'amd64' , 'daily' , deploy=true , jdk_hint='Latest' ) + self .deploy_graalvm_standalones ('latest' ) + self .deploy_build + {name: 'daily-deploy-vm-standalones-java-latest-windows-amd64' , timelimit: '2:30:00' , notify_groups:: ["deploy" ]},
571
571
572
572
local sulong_vm_tests = self .svm_common + self .sulong + vm.custom_vm + self .vm_base('linux' , 'amd64' , 'gate' ) + {
573
573
run: [
0 commit comments