@@ -773,23 +773,18 @@ steps:
773773 set -ex
774774 cd /io/repo/hail
775775
776- export MILLOPTS='--no-daemon' HAIL_BUILD_MODE=Release
777- time retry sh mill --no-daemon --version
778-
779776 # We've encountered the following sporadic error in CI between `mill`
780777 # finishing assembling the jar and `Make` copying the jar:
781778 #
782779 # cp -f out/assembly.dest/out.jar python/hail/backend/hail-all-spark.jar
783780 # cp: cannot stat 'out/assembly.dest/out.jar': No such file or directory
784781 #
785- # This was likely from running mill in server mode; mill main exits before
782+ # This was caused by running mill in daemon mode; mill main exits before
786783 # the jar has finished being written.
787- time retry make shadowJar
788- if [ ! -f out/hail/2.12/assembly.dest/out.jar ]; then
789- echo 'no out.jar found after mill assembly returned. going to sleep'
790- sleep 5
791- fi
784+ export MILLOPTS='--no-daemon'
792785
786+ export HAIL_DEPLOY_TARGET=dataproc-2.3.x HAIL_BUILD_MODE=Release
787+ time retry sh mill --no-daemon --version
793788 time retry make DEV_CLARIFIER=hail-ci-build wheel
794789
795790 # Check wheel size is small enough for pypi (< 200 MiB)
@@ -851,12 +846,12 @@ steps:
851846 set -ex
852847 cd /io/repo/hail
853848
854- export MILLOPTS='--no-daemon' HAIL_BUILD_MODE=CI
849+ export HAIL_DEPLOY_TARGET=dataproc-2.3.x HAIL_BUILD_MODE=CI MILLOPTS='--no-daemon'
855850 time retry sh mill --no-daemon --version
856851
857852 # See `build_hail_jar_and_wheel`
858853 time retry make shadowJar
859- if [ ! -f out/hail/2.12 /assembly.dest/out.jar ]; then
854+ if [ ! -f " out/hail/${HAIL_DEPLOY_TARGET} /assembly.dest/out.jar" ]; then
860855 echo 'no out.jar found after mill assembly returned. going to sleep'
861856 sleep 5
862857 fi
@@ -884,12 +879,12 @@ steps:
884879 set -ex
885880 cd /io/repo/hail
886881
887- export MILLOPTS='--no-daemon' HAIL_BUILD_MODE=CI
882+ export HAIL_DEPLOY_TARGET=dataproc-2.3.x MILLOPTS='--no-daemon' HAIL_BUILD_MODE=CI
888883 time retry sh mill --no-daemon --version
889884
890885 # See `build_hail_jar_and_wheel`
891886 time retry make shadowTestJar
892- if [ ! -f out/hail/2.12 /test/assembly.dest/out.jar ]; then
887+ if [ ! -f " out/hail/${HAIL_DEPLOY_TARGET} /test/assembly.dest/out.jar" ]; then
893888 echo 'no out.jar found after mill assembly returned. going to sleep'
894889 sleep 5
895890 fi
@@ -944,16 +939,11 @@ steps:
944939 set -ex
945940 cd /io/repo/hail
946941
947- export SPARK_VERSION="3.0.2" SCALA_VERSION="2.12.13" HAIL_BUILD_MODE=Release MILLOPTS='--no-daemon'
942+ export SPARK_VERSION="3.3.1" SCALA_VERSION="2.12.13"
943+
944+ export MILLOPTS='--no-daemon'
945+ export HAIL_DEPLOY_TARGET=hdinsight-5.1 HAIL_BUILD_MODE=Release
948946 time retry sh mill --no-daemon --version
949-
950- # See `build_hail_jar_and_wheel`
951- time retry make shadowJar
952- if [ ! -f out/hail/2.12/assembly.dest/out.jar ]; then
953- echo 'no out.jar found after mill assembly returned. going to sleep'
954- sleep 5
955- fi
956-
957947 time retry make wheel
958948 inputs :
959949 - from : /repo
@@ -1081,7 +1071,7 @@ steps:
10811071 inputs :
10821072 - from : /resources.tar.gz
10831073 to : /io/resources.tar.gz
1084- - from : /derived/debug/hail/out/hail/2.12 /test/assembly.dest/out.jar
1074+ - from : /derived/debug/hail/out/hail/dataproc-2.3.x /test/assembly.dest/out.jar
10851075 to : /io/hail-test.jar
10861076 - from : /splits.tar.gz
10871077 to : /io/splits.tar.gz
@@ -1691,7 +1681,7 @@ steps:
16911681 - hail_linting_image
16921682 - merge_code
16931683 - kind : runImage
1694- name : compile_hail_213
1684+ name : compile_hail_dataproc_3_0_x
16951685 image :
16961686 valueFrom : base_image.image
16971687 resources :
@@ -1701,8 +1691,8 @@ steps:
17011691 set -ex
17021692 cd /io/repo/hail
17031693
1704- HAIL_BUILD_MODE='CI'
1705- time retry sh mill --no-daemon hail[2.13 ].__.compile
1694+ export HAIL_BUILD_MODE='CI'
1695+ time retry sh mill --no-daemon ' hail[dataproc-3.0.x ].__.compile'
17061696 inputs :
17071697 - from : /repo
17081698 to : /io/repo
@@ -2573,7 +2563,7 @@ steps:
25732563 valueFrom : default_ns.name
25742564 mountPath : /batch-gsa-key
25752565 inputs :
2576- - from : /derived/release/hail/out/hail/2.12 /assembly.dest/out.jar
2566+ - from : /derived/release/hail/out/hail/dataproc-2.3.x /assembly.dest/out.jar
25772567 to : /io/hail.jar
25782568 - from : /repo/hail/env/REVISION
25792569 to : /io/REVISION
@@ -3499,7 +3489,7 @@ steps:
34993489 # #14452 - must build wheel with release `hailtop/hailctl/deploy.yaml`
35003490 # use `-o` to prevent `mill` from rebuilding the "SHADOW_JAR"
35013491 make upload-artifacts HAIL_BUILD_MODE=Release DEPLOY_REMOTE=origin \
3502- -o out/hail/2.12/assembly.dest/out.jar
3492+ -o shadowJar
35033493
35043494 echo Setting arguments and invoking release.sh.
35053495
@@ -3524,8 +3514,8 @@ steps:
35243514 inputs :
35253515 - from : /repo
35263516 to : /io/repo
3527- - from : /derived/release/hail/out/hail/2.12 /assembly.dest/out.jar
3528- to : /io/repo/hail/out/hail/2.12 /assembly.dest/out.jar
3517+ - from : /derived/release/hail/out/hail/dataproc-2.3.x /assembly.dest/out.jar
3518+ to : /io/repo/hail/out/hail/dataproc-2.3.x /assembly.dest/out.jar
35293519 - from : /azure-wheel
35303520 to : /io/azure-wheel
35313521 - from : /www.tar.gz
@@ -3769,7 +3759,7 @@ steps:
37693759 inputs :
37703760 - from : /resources.tar.gz
37713761 to : /io/resources.tar.gz
3772- - from : /derived/debug/hail/out/hail/2.12 /test/assembly.dest/out.jar
3762+ - from : /derived/debug/hail/out/hail/dataproc-2.3.x /test/assembly.dest/out.jar
37733763 to : /io/hail-test.jar
37743764 - from : /repo/hail/testng-fs.xml
37753765 to : /io/testng-fs.xml
@@ -3811,7 +3801,7 @@ steps:
38113801 inputs :
38123802 - from : /resources.tar.gz
38133803 to : /io/resources.tar.gz
3814- - from : /derived/debug/hail/out/hail/2.12 /test/assembly.dest/out.jar
3804+ - from : /derived/debug/hail/out/hail/dataproc-2.3.x /test/assembly.dest/out.jar
38153805 to : /io/hail-test.jar
38163806 - from : /repo/hail/testng-services.xml
38173807 to : /io/testng-services.xml
0 commit comments