@@ -100,29 +100,6 @@ functions:
100
100
fi
101
101
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
102
102
103
- # Upload build artifacts that other tasks may depend on
104
- # Note this URL needs to be totally unique, while predictable for the next task
105
- # so it can automatically download the artifacts
106
- " upload build " :
107
- # Compress and upload the entire build directory
108
- - command : archive.targz_pack
109
- params :
110
- # Example: mongo_c_driver_releng_9dfb7d741efbca16faa7859b9349d7a942273e43_16_11_08_19_29_52.tar.gz
111
- target : " ${build_id}.tar.gz"
112
- source_dir : ${PROJECT_DIRECTORY}/
113
- include :
114
- - " ./**"
115
- - command : s3.put
116
- params :
117
- aws_key : ${aws_key}
118
- aws_secret : ${aws_secret}
119
- local_file : ${build_id}.tar.gz
120
- # Example: /mciuploads/${UPLOAD_BUCKET}/gcc49/9dfb7d741efbca16faa7859b9349d7a942273e43/debug-compile-nosasl-nossl/mongo_c_driver_releng_9dfb7d741efbca16faa7859b9349d7a942273e43_16_11_08_19_29_52.tar.gz
121
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${task_name}/${build_id}.tar.gz
122
- bucket : mciuploads
123
- permissions : public-read
124
- content_type : ${content_type|application/x-gzip}
125
-
126
103
" exec script" :
127
104
- command : shell.exec
128
105
type : test
@@ -161,58 +138,6 @@ functions:
161
138
content_type : ${content_type|text/plain}
162
139
display_name : " orchestration.log"
163
140
164
- " upload working dir logs " :
165
- - command : shell.exec
166
- params :
167
- shell : bash
168
- script : |
169
- ${PREPARE_SHELL}
170
- find ${PROJECT_DIRECTORY} -name \*.log | xargs tar czf working-dir-logs.tar.gz
171
- - command : s3.put
172
- params :
173
- aws_key : ${aws_key}
174
- aws_secret : ${aws_secret}
175
- local_file : working-dir-logs.tar.gz
176
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-working-dir-logs.tar.gz
177
- bucket : mciuploads
178
- permissions : public-read
179
- content_type : ${content_type|application/x-gzip}
180
- display_name : " working-dir-logs.tar.gz"
181
-
182
- " upload working dir " :
183
- - command : archive.targz_pack
184
- params :
185
- target : " working-dir.tar.gz"
186
- source_dir : ${PROJECT_DIRECTORY}/
187
- include :
188
- - " ./**"
189
- - command : s3.put
190
- params :
191
- aws_key : ${aws_key}
192
- aws_secret : ${aws_secret}
193
- local_file : working-dir.tar.gz
194
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/artifacts/${task_id}-${execution}-working-dir.tar.gz
195
- bucket : mciuploads
196
- permissions : public-read
197
- content_type : ${content_type|application/x-gzip}
198
- display_name : " working-dir.tar.gz"
199
- - command : archive.targz_pack
200
- params :
201
- target : " drivers-dir.tar.gz"
202
- source_dir : ${DRIVERS_TOOLS}
203
- include :
204
- - " ./**"
205
- - command : s3.put
206
- params :
207
- aws_key : ${aws_key}
208
- aws_secret : ${aws_secret}
209
- local_file : drivers-dir.tar.gz
210
- remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/artifacts/${task_id}-${execution}-drivers-dir.tar.gz
211
- bucket : mciuploads
212
- permissions : public-read
213
- content_type : ${content_type|application/x-gzip}
214
- display_name : " drivers-dir.tar.gz"
215
-
216
141
" upload test results " :
217
142
- command : attach.xunit_results
218
143
params :
@@ -803,10 +728,7 @@ pre:
803
728
- func : " make files executable"
804
729
805
730
post :
806
- # Removed, causing timeouts
807
- # - func: "upload working dir"
808
731
- func : " upload mo artifacts"
809
- - func : " upload working dir logs"
810
732
- func : " upload test results"
811
733
- func : " stop load-balancer"
812
734
- func : " stop serverless"
@@ -820,7 +742,6 @@ tasks:
820
742
- func : " exec script"
821
743
vars :
822
744
file : " .evergreen/compile.sh"
823
- - func : " upload build"
824
745
825
746
- name : " test"
826
747
commands :
0 commit comments