@@ -786,92 +786,6 @@ functions:
786
786
args :
787
787
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
788
788
789
- " build release " :
790
- - command : shell.exec
791
- type : test
792
- params :
793
- working_dir : " src"
794
- script : |
795
- ${PREPARE_SHELL}
796
- set -o xtrace
797
- VERSION=${VERSION} ENSURE_UNIVERSAL2=${ENSURE_UNIVERSAL2} .evergreen/release.sh
798
-
799
- " upload release " :
800
- - command : ec2.assume_role
801
- params :
802
- role_arn : ${assume_role_arn}
803
- - command : archive.targz_pack
804
- params :
805
- target : " release-files.tgz"
806
- source_dir : " src/dist"
807
- include :
808
- - " *"
809
- - command : s3.put
810
- params :
811
- aws_key : ${AWS_ACCESS_KEY_ID}
812
- aws_secret : ${AWS_SECRET_ACCESS_KEY}
813
- aws_session_token : ${AWS_SESSION_TOKEN}
814
- local_file : release-files.tgz
815
- remote_file : release/${revision}/${task_id}-${execution}-release-files.tar.gz
816
- bucket : ${bucket_name}
817
- permissions : public-read
818
- content_type : ${content_type|application/gzip}
819
- display_name : Release files
820
-
821
- " download and merge releases " :
822
- - command : ec2.assume_role
823
- params :
824
- role_arn : ${assume_role_arn}
825
- - command : shell.exec
826
- params :
827
- silent : true
828
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
829
- script : |
830
- # Download all the task coverage files.
831
- aws s3 cp --recursive s3://${bucket_name}/release/${revision}/ release/
832
- - command : shell.exec
833
- params :
834
- shell : " bash"
835
- script : |
836
- ${PREPARE_SHELL}
837
- set -o xtrace
838
- # Combine releases into one directory.
839
- ls -la release/
840
- mkdir releases
841
- # Copy old manylinux release first since we want the newer manylinux
842
- # wheels to override them.
843
- mkdir old_manylinux
844
- if mv release/*old_manylinux* old_manylinux; then
845
- for REL in old_manylinux/*; do
846
- tar zxvf $REL -C releases/
847
- done
848
- fi
849
- for REL in release/*; do
850
- tar zxvf $REL -C releases/
851
- done
852
- # Build source distribution.
853
- cd src/
854
- /opt/python/3.8/bin/python3 -m pip install build
855
- /opt/python/3.8/bin/python3 -m build --sdist .
856
- cp dist/* ../releases
857
- - command : archive.targz_pack
858
- params :
859
- target : " release-files-all.tgz"
860
- source_dir : " releases/"
861
- include :
862
- - " *"
863
- - command : s3.put
864
- params :
865
- aws_key : ${AWS_ACCESS_KEY_ID}
866
- aws_secret : ${AWS_SECRET_ACCESS_KEY}
867
- aws_session_token : ${AWS_SESSION_TOKEN}
868
- local_file : release-files-all.tgz
869
- remote_file : release-all/${revision}/${task_id}-${execution}-release-files-all.tar.gz
870
- bucket : ${bucket_name}
871
- permissions : public-read
872
- content_type : ${content_type|application/gzip}
873
- display_name : Release files all
874
-
875
789
" run perf tests " :
876
790
- command : shell.exec
877
791
type : test
@@ -1116,72 +1030,6 @@ tasks:
1116
1030
genhtml --version || true
1117
1031
valgrind --version || true
1118
1032
1119
- - name : " release-mac"
1120
- tags : ["release_tag"]
1121
- run_on : macos-11
1122
- commands :
1123
- - func : " build release"
1124
- vars :
1125
- VERSION : " 3.12"
1126
- ENSURE_UNIVERSAL2 : " 1"
1127
- - func : " build release"
1128
- vars :
1129
- VERSION : " 3.11"
1130
- ENSURE_UNIVERSAL2 : " 1"
1131
- - func : " build release"
1132
- vars :
1133
- VERSION : " 3.10"
1134
- ENSURE_UNIVERSAL2 : " 1"
1135
- - func : " build release"
1136
- vars :
1137
- VERSION : " 3.9"
1138
- ENSURE_UNIVERSAL2 : " 1"
1139
- - func : " upload release"
1140
- - func : " build release"
1141
- vars :
1142
- VERSION : " 3.8"
1143
- - func : " upload release"
1144
-
1145
- - name : " release-windows"
1146
- tags : ["release_tag"]
1147
- run_on : windows-64-vsMulti-small
1148
- commands :
1149
- - func : " build release"
1150
- - func : " upload release"
1151
-
1152
- - name : " release-manylinux"
1153
- tags : ["release_tag"]
1154
- run_on : ubuntu2204-large
1155
- exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
1156
- commands :
1157
- - func : " build release"
1158
- - func : " upload release"
1159
-
1160
- - name : " release-old-manylinux"
1161
- tags : ["release_tag"]
1162
- run_on : ubuntu2204-large
1163
- exec_timeout_secs : 216000 # 60 minutes (manylinux task is slow).
1164
- commands :
1165
- - command : shell.exec
1166
- type : test
1167
- params :
1168
- working_dir : " src"
1169
- script : |
1170
- ${PREPARE_SHELL}
1171
- set -o xtrace
1172
- .evergreen/build-manylinux.sh BUILD_WITH_TAG
1173
- - func : " upload release"
1174
-
1175
- - name : " release-combine"
1176
- tags : ["release_tag"]
1177
- run_on : rhel84-small
1178
- depends_on :
1179
- - name : " *"
1180
- variant : " .release_tag"
1181
- patch_optional : true
1182
- commands :
1183
- - func : " download and merge releases"
1184
-
1185
1033
# Standard test tasks {{{
1186
1034
1187
1035
- name : " mockupdb"
@@ -3177,13 +3025,6 @@ buildvariants:
3177
3025
tasks :
3178
3026
- name : " check-import-time"
3179
3027
3180
- - name : Release
3181
- display_name : Release
3182
- batchtime : 20160 # 14 days
3183
- tags : ["release_tag"]
3184
- tasks :
3185
- - " .release_tag"
3186
-
3187
3028
- name : " perf-tests"
3188
3029
display_name : " Performance Benchmark Tests"
3189
3030
batchtime : 10080 # 7 days
0 commit comments