File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,29 @@ functions:
116
116
content_type : text/html
117
117
display_name : " Coverage Report HTML"
118
118
119
+ " upload core dumps " :
120
+ - command : ec2.assume_role
121
+ params :
122
+ role_arn : ${assume_role_arn}
123
+ - command : archive.targz_pack
124
+ params :
125
+ target : " mongo-coredumps.tgz"
126
+ source_dir : ${PROJECT_DIRECTORY}/
127
+ include :
128
+ - " ./**.core"
129
+ - " ./**.mdmp" # Windows: minidumps
130
+ - command : s3.put
131
+ params :
132
+ aws_key : ${AWS_ACCESS_KEY_ID}
133
+ aws_secret : ${AWS_SECRET_ACCESS_KEY}
134
+ aws_session_token : ${AWS_SESSION_TOKEN}
135
+ local_file : mongo-coredumps.tgz
136
+ remote_file : ${build_variant}/${revision}/${version_id}/${build_id}/coredumps/${task_id}-${execution}-mongodb-coredumps.tar.gz
137
+ bucket : ${bucket_name}
138
+ permissions : public-read
139
+ content_type : ${content_type|application/gzip}
140
+ display_name : Core Dumps - Execution
141
+ optional : true
119
142
120
143
" upload mo artifacts " :
121
144
- command : ec2.assume_role
@@ -645,6 +668,7 @@ post:
645
668
- func : " teardown system"
646
669
- func : " upload coverage"
647
670
- func : " upload mo artifacts"
671
+ - func : " upload core dumps"
648
672
- func : " upload test results"
649
673
- func : " stop mongo-orchestration"
650
674
- func : " cleanup"
You can’t perform that action at this time.
0 commit comments