2929#
3030# Make sure to remove the changes from 1 and 2 before merging!
3131
32-
3332exec_timeout_secs : 3600
3433
3534functions :
@@ -158,8 +157,42 @@ functions:
158157 args :
159158 - .evergreen/release-sign.sh
160159
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`.
161164 " 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
163196
164197tasks :
165198 - name : " publish-release"
@@ -172,6 +205,7 @@ tasks:
172205 - func : " publish papertrail"
173206 - func : " sign release"
174207 - func : " save signature"
208+ - func : " create and upload SSDLC compliance report"
175209
176210axes :
177211 - id : " os"
0 commit comments