29
29
#
30
30
# Make sure to remove the changes from 1 and 2 before merging!
31
31
32
-
33
32
exec_timeout_secs : 3600
34
33
35
34
functions :
@@ -158,8 +157,42 @@ functions:
158
157
args :
159
158
- .evergreen/release-sign.sh
160
159
160
+ # Note for debugging: the links generated by Evergreen for these files will
161
+ # return a "permission denied" error; this is expected and a consequence of
162
+ # s3 configuration. The files can be viewed/downloaded by replacing the host
163
+ # portion of the URL with `downloads.mongodb.org`.
161
164
" save signature " :
162
- command : s3.push
165
+ - command : s3.put
166
+ params :
167
+ aws_key : ${S3_UPLOAD_AWS_KEY}
168
+ aws_secret : ${S3_UPLOAD_AWS_SECRET}
169
+ local_files_include_filter :
170
+ - src/mongodb-${CRATE_VERSION}.sig
171
+ - src/mongodb-internal-macros-${CRATE_VERSION}.sig
172
+ remote_file : rust-driver/${TEST_PREFIX}
173
+ bucket : cdn-origin-rust-driver
174
+ permissions : private
175
+ content_type : text/plain
176
+ display_name : signature-
177
+
178
+ " create and upload SSDLC compliance report " :
179
+ - command : subprocess.exec
180
+ params :
181
+ working_dir : " src"
182
+ include_expansions_in_env :
183
+ - CRATE_VERSION
184
+ binary : bash
185
+ args :
186
+ - .evergreen/create-ssdlc-compliance-report.sh
187
+ - command : s3.put
188
+ params :
189
+ aws_key : ${S3_UPLOAD_AWS_KEY}
190
+ aws_secret : ${S3_UPLOAD_AWS_SECRET}
191
+ local_file : src/.evergreen/${CRATE_VERSION}-ssdlc-compliance-report.md
192
+ remote_file : rust-driver/${TEST_PREFIX}${CRATE_VERSION}-ssdlc-compliance-report.md
193
+ bucket : cdn-origin-rust-driver
194
+ permissions : private
195
+ content_type : text/markdown
163
196
164
197
tasks :
165
198
- name : " publish-release"
@@ -172,6 +205,7 @@ tasks:
172
205
- func : " publish papertrail"
173
206
- func : " sign release"
174
207
- func : " save signature"
208
+ - func : " create and upload SSDLC compliance report"
175
209
176
210
axes :
177
211
- id : " os"
0 commit comments