Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,26 @@ functions:
# This is specified in this yaml file earlier.
local_file: ./src/tmp/rspec.json
display_name: rspec.json
remote_file: ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/artifacts/${task_id}-${execution}-rspec.json
remote_file: ${UPLOAD_BUCKET}/${version_id}/${build_id}/artifacts/${build_variant}/rspec.json
content_type: application/json
permissions: public-read
bucket: mciuploads
# AWS does not appear to support on-the-fly gzip encoding; compress
# the results manually and upload a compressed file.
# Typical size reduction: 50 MB -> 800 KB
- command: shell.exec
params:
script: |
gzip <src/tmp/rspec.json >src/tmp/rspec.json.gz
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
# src is the relative path to repo checkout,
# This is specified in this yaml file earlier.
local_file: ./src/tmp/rspec.json.gz
display_name: rspec.json.gz
remote_file: ${UPLOAD_BUCKET}/${version_id}/${build_id}/artifacts/${build_variant}/rspec.json.gz
content_type: application/json
permissions: public-read
bucket: mciuploads
Expand Down