@@ -384,11 +384,25 @@ local devkits = common_json.devkits;
384384 svm_common_darwin_aarch64: { environment+: graal_common.svm_deps.common.environment, logs+: graal_common.svm_deps.common.logs} + graal_common.svm_deps.darwin_aarch64,
385385 svm_common_windows_amd64(jdk): { environment+: graal_common.svm_deps.common.environment, logs+: graal_common.svm_deps.common.logs} + graal_common.svm_deps.windows + common_json.devkits["windows-jdk" + jdk],
386386
387- maven_deploy_sdk: ['--suite' , 'sdk' , 'maven-deploy' , '--validate' , 'none' , '--all-distribution-types' , '--with-suite-revisions-metadata' ],
388- maven_deploy_sdk_base: self .maven_deploy_sdk + ['--tags' , 'graalvm' , vm.binaries_repository],
389- maven_deploy_sdk_base_dry_run: self .maven_deploy_sdk + ['--tags' , 'graalvm' , '--dry-run' , vm.binaries_repository],
390- maven_deploy_sdk_components: self .maven_deploy_sdk + ['--tags' , 'installable,standalone' , vm.binaries_repository],
391- maven_deploy_sdk_components_dry_run: self .maven_deploy_sdk + ['--tags' , 'installable,standalone' , '--dry-run' , vm.binaries_repository],
387+ maven_deploy_sdk: ['--suite' , 'sdk' , 'maven-deploy' , '--validate' , 'none' , '--all-distribution-types' , '--with-suite-revisions-metadata' ],
388+ 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' ],
389+
390+ maven_deploy_sdk_base: self .maven_deploy_sdk + ['--tags' , 'graalvm' , vm.binaries_repository],
391+ artifact_deploy_sdk_base(os, base_dist_name): self .deploy_artifacts_sdk(os, base_dist_name) + ['--tags' , 'graalvm' ],
392+ 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)],
393+
394+ maven_deploy_sdk_base_dry_run: self .maven_deploy_sdk + ['--tags' , 'graalvm' , '--dry-run' , vm.binaries_repository],
395+ artifact_deploy_sdk_base_dry_run(os, base_dist_name): self .deploy_artifacts_sdk(os, base_dist_name) + ['--tags' , 'graalvm' , '--dry-run' ],
396+ 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)],
397+
398+ maven_deploy_sdk_components: self .maven_deploy_sdk + ['--tags' , 'installable,standalone' , vm.binaries_repository],
399+ artifact_deploy_sdk_components(os): self .deploy_artifacts_sdk(os) + ['--tags' , 'installable,standalone' , ],
400+ deploy_sdk_components(os): [$.mx_vm_installables + self .maven_deploy_sdk_components, $.mx_vm_installables + self .artifact_deploy_sdk_components(os)],
401+
402+ maven_deploy_sdk_components_dry_run: self .maven_deploy_sdk + ['--tags' , 'installable,standalone' , '--dry-run' , vm.binaries_repository],
403+ artifact_deploy_sdk_components_dry_run(os): self .deploy_artifacts_sdk(os) + ['--tags' , 'installable,standalone' , '--dry-run' ],
404+ deploy_sdk_components_dry_run(os): [$.mx_vm_installables + self .maven_deploy_sdk_components_dry_run, $.mx_vm_installables + self .artifact_deploy_sdk_components_dry_run(os)],
405+
392406
393407 svm_vm_build_ol6_amd64: self .svm_common_linux_amd64 + vm.custom_vm_linux,
394408
@@ -412,13 +426,17 @@ local devkits = common_json.devkits;
412426 },
413427 },
414428
415- linux_deploy: {
429+ deploy_build: {
430+ deploysArtifacts: true
431+ },
432+
433+ linux_deploy: self .deploy_build + {
416434 packages+: {
417435 maven: '>=3.3.9' ,
418436 },
419437 },
420438
421- darwin_deploy: self .maven_download_unix + {
439+ darwin_deploy: self .deploy_build + self . maven_download_unix + {
422440 environment+: {
423441 PATH: '$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH:/usr/local/bin' ,
424442 },
@@ -500,13 +518,13 @@ local devkits = common_json.devkits;
500518 run: $.patch_env('linux' , 'amd64' , java_version) + [
501519 $.mx_vm_installables + ['graalvm-show' ],
502520 $.mx_vm_installables + ['build' ],
503- $.mx_vm_installables + $.maven_deploy_sdk_components,
521+ ] + $.deploy_sdk_components( self .os) + [
504522 $.mx_vm_installables + $.record_file_sizes,
505523 $.upload_file_sizes,
506524 ] + vm.collect_profiles() + $.build_base_graalvm_image + [
507525 $.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
508526 $.upload_file_sizes,
509- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
527+ ] + $.deploy_sdk_base( self .os) + [
510528 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_common + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
511529 ] + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("linux" , "amd64" , java_version) + [
512530 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
@@ -519,15 +537,13 @@ local devkits = common_json.devkits;
519537 run: $.patch_env('linux' , 'aarch64' , java_version) + [
520538 $.mx_vm_installables + ['graalvm-show' ],
521539 $.mx_vm_installables + ['build' ],
522- ] + [
523- $.mx_vm_installables + $.maven_deploy_sdk_components,
540+ ] + $.deploy_sdk_components(self .os) + [
524541 $.mx_vm_installables + $.record_file_sizes,
525542 $.upload_file_sizes,
526543 ] + vm.collect_profiles() + $.build_base_graalvm_image + [
527544 $.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
528545 $.upload_file_sizes,
529- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
530- ] + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("linux" , "aarch64" , java_version) + [
546+ ] + $.deploy_sdk_base(self .os) + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("linux" , "aarch64" , java_version) + [
531547 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
532548 ] + vm.check_graalvm_complete_build($.mx_vm_installables, "linux" , "aarch64" , java_version),
533549 notify_groups:: ['deploy' ],
@@ -537,9 +553,8 @@ local devkits = common_json.devkits;
537553 deploy_graalvm_base_darwin_amd64(java_version): vm.check_structure + {
538554 run: $.patch_env('darwin' , 'amd64' , java_version) + vm.collect_profiles() + $.build_base_graalvm_image + [
539555 $.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
540- $.upload_file_sizes,
541- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
542- ] + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("darwin" , "amd64" , java_version),
556+ $.upload_file_sizes
557+ ] + $.deploy_sdk_base(self .os) + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("darwin" , "amd64" , java_version),
543558 notify_groups:: ['deploy' ],
544559 timelimit: '1:45:00' ,
545560 },
@@ -549,7 +564,7 @@ local devkits = common_json.devkits;
549564 $.mx_vm_installables + ['graalvm-show' ],
550565 $.mx_vm_installables + ['build' ],
551566 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
552- $.mx_vm_installables + $.maven_deploy_sdk_components,
567+ ] + $.deploy_sdk_components( self .os) + [
553568 $.mx_vm_installables + $.record_file_sizes,
554569 $.upload_file_sizes,
555570 ] + $.create_releaser_notifier_artifact + vm.check_graalvm_complete_build($.mx_vm_installables, "darwin" , "amd64" , java_version),
@@ -561,8 +576,7 @@ local devkits = common_json.devkits;
561576 run: $.patch_env('darwin' , 'aarch64' , java_version) + vm.collect_profiles() + $.build_base_graalvm_image + [
562577 $.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
563578 $.upload_file_sizes,
564- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
565- ] + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("darwin" , "aarch64" , java_version),
579+ ] + $.deploy_sdk_base(self .os) + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("darwin" , "aarch64" , java_version),
566580567581 timelimit: '1:45:00' ,
568582 },
@@ -572,7 +586,7 @@ local devkits = common_json.devkits;
572586 $.mx_vm_installables + ['graalvm-show' ],
573587 $.mx_vm_installables + ['build' ],
574588 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
575- $.mx_vm_installables + $.maven_deploy_sdk_components,
589+ ] + $.deploy_sdk_components( self .os) + [
576590 $.mx_vm_installables + $.record_file_sizes,
577591 $.upload_file_sizes,
578592 ] + $.create_releaser_notifier_artifact + vm.check_graalvm_complete_build($.mx_vm_installables, "darwin" , "aarch64" , java_version),
@@ -584,8 +598,7 @@ local devkits = common_json.devkits;
584598 run: $.patch_env('windows' , 'amd64' , java_version) + vm.collect_profiles() + $.build_base_graalvm_image + [
585599 $.mx_vm_common + vm.vm_profiles + $.record_file_sizes,
586600 $.upload_file_sizes,
587- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
588- ] + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("windows" , "amd64" , java_version),
601+ ] + $.deploy_sdk_base(self .os) + $.create_releaser_notifier_artifact + $.check_base_graalvm_image("windows" , "amd64" , java_version),
589602 notify_groups:: ['deploy' ],
590603 timelimit: '1:30:00' ,
591604 },
@@ -595,7 +608,7 @@ local devkits = common_json.devkits;
595608 $.mx_vm_installables + ['graalvm-show' ],
596609 $.mx_vm_installables + ['build' ],
597610 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_installables + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
598- $.mx_vm_installables + $.maven_deploy_sdk_components,
611+ ] + $.deploy_sdk_components( self .os) + [
599612 $.mx_vm_installables + $.record_file_sizes,
600613 $.upload_file_sizes,
601614 ] + $.create_releaser_notifier_artifact + vm.check_graalvm_complete_build($.mx_vm_installables, "windows" , "amd64" , java_version),
@@ -606,8 +619,7 @@ local devkits = common_json.devkits;
606619 deploy_graalvm_ruby(os, arch, java_version): {
607620 run: vm.collect_profiles() + [
608621 ['set-export' , 'VM_ENV' , "${VM_ENV}-ruby" ],
609- ] + $.build_base_graalvm_image + [
610- $.mx_vm_common + vm.vm_profiles + $.maven_deploy_sdk_base,
622+ ] + $.build_base_graalvm_image + $.deploy_sdk_base(os, 'ruby' ) + [
611623 ['set-export' , 'GRAALVM_HOME' , $.mx_vm_common + ['--quiet' , '--no-warning' , 'graalvm-home' ]],
612624 ] + $.create_releaser_notifier_artifact,
613625 notify_groups:: ['deploy' , 'ruby' ],
@@ -640,10 +652,10 @@ local devkits = common_json.devkits;
640652 deploy_vm_installable_java19_darwin_aarch64: vm.vm_java_19 + self .full_vm_build_darwin_aarch64 + self .darwin_deploy + self .deploy_daily_vm_darwin_aarch64 + self .deploy_graalvm_installables_darwin_aarch64("java19" ) + {name: 'daily-deploy-vm-installable-java19-darwin-aarch64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ]},
641653
642654 # Windows/AMD64
643- deploy_vm_base_java17_windows_amd64: vm.vm_java_17 + self .svm_common_windows_amd64("17" ) + self .js_windows_jdk17 + self .deploy_daily_vm_windows_jdk17 + self .deploy_graalvm_base_windows_amd64("java17" ) + {name: 'daily-deploy-vm-base-java17-windows-amd64' , notify_groups:: ["deploy" ]},
644- deploy_vm_installable_java17_windows_amd64: vm.vm_java_17 + self .svm_common_windows_amd64("17" ) + self .js_windows_jdk17 + self .sulong_windows + self .deploy_daily_vm_windows_jdk17 + self .deploy_graalvm_installables_windows_amd64("java17" ) + {name: 'daily-deploy-vm-installable-java17-windows-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ]},
645- deploy_vm_base_java19_windows_amd64: vm.vm_java_19 + self .svm_common_windows_amd64("19" ) + self .js_windows_jdk19 + self .deploy_daily_vm_windows_jdk19 + self .deploy_graalvm_base_windows_amd64("java19" ) + {name: 'daily-deploy-vm-base-java19-windows-amd64' , notify_groups:: ["deploy" ]},
646- deploy_vm_installable_java19_windows_amd64: vm.vm_java_19 + self .svm_common_windows_amd64("19" ) + self .js_windows_jdk19 + self .sulong_windows + self .deploy_daily_vm_windows_jdk19 + self .deploy_graalvm_installables_windows_amd64("java19" ) + {name: 'daily-deploy-vm-installable-java19-windows-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ]},
655+ deploy_vm_base_java17_windows_amd64: vm.vm_java_17 + self .svm_common_windows_amd64("17" ) + self .js_windows_jdk17 + self .deploy_daily_vm_windows_jdk17 + self .deploy_graalvm_base_windows_amd64("java17" ) + self .deploy_build + {name: 'daily-deploy-vm-base-java17-windows-amd64' , notify_groups:: ["deploy" ]},
656+ deploy_vm_installable_java17_windows_amd64: vm.vm_java_17 + self .svm_common_windows_amd64("17" ) + self .js_windows_jdk17 + self .sulong_windows + self .deploy_daily_vm_windows_jdk17 + self .deploy_graalvm_installables_windows_amd64("java17" ) + self .deploy_build + {name: 'daily-deploy-vm-installable-java17-windows-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ]},
657+ deploy_vm_base_java19_windows_amd64: vm.vm_java_19 + self .svm_common_windows_amd64("19" ) + self .js_windows_jdk19 + self .deploy_daily_vm_windows_jdk19 + self .deploy_graalvm_base_windows_amd64("java19" ) + self .deploy_build + {name: 'daily-deploy-vm-base-java19-windows-amd64' , notify_groups:: ["deploy" ]},
658+ deploy_vm_installable_java19_windows_amd64: vm.vm_java_19 + self .svm_common_windows_amd64("19" ) + self .js_windows_jdk19 + self .sulong_windows + self .deploy_daily_vm_windows_jdk19 + self .deploy_graalvm_installables_windows_amd64("java19" ) + self .deploy_build + {name: 'daily-deploy-vm-installable-java19-windows-amd64' , diskspace_required: "31GB" , notify_groups:: ["deploy" ]},
647659
648660 #
649661 # Deploy the GraalVM Ruby image (GraalVM Base + ruby - js)
0 commit comments