File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ functions:
111
111
${PROJECT_DIRECTORY}/${file}
112
112
113
113
" upload mo artifacts " :
114
+ - command : ec2.assume_role
115
+ params :
116
+ role_arn : ${UPLOAD_MO_ARTIFACTS_ROLE_ARN}
114
117
- command : shell.exec
115
118
params :
116
119
shell : bash
@@ -119,8 +122,9 @@ functions:
119
122
find $MONGO_ORCHESTRATION_HOME -name \*.log | xargs tar czf mongodb-logs.tar.gz
120
123
- command : s3.put
121
124
params :
122
- aws_key : ${aws_key}
123
- aws_secret : ${aws_secret}
125
+ aws_key : ${AWS_ACCESS_KEY_ID}
126
+ aws_secret : ${AWS_SECRET_ACCESS_KEY}
127
+ aws_session_token : ${AWS_SESSION_TOKEN}
124
128
local_file : mongodb-logs.tar.gz
125
129
remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-logs.tar.gz
126
130
bucket : mciuploads
@@ -129,8 +133,9 @@ functions:
129
133
display_name : " mongodb-logs.tar.gz"
130
134
- command : s3.put
131
135
params :
132
- aws_key : ${aws_key}
133
- aws_secret : ${aws_secret}
136
+ aws_key : ${AWS_ACCESS_KEY_ID}
137
+ aws_secret : ${AWS_SECRET_ACCESS_KEY}
138
+ aws_session_token : ${AWS_SESSION_TOKEN}
134
139
local_file : drivers-tools/.evergreen/orchestration/server.log
135
140
remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-orchestration.log
136
141
bucket : mciuploads
You can’t perform that action at this time.
0 commit comments