File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,26 @@ functions:
127
127
include :
128
128
- " ./**.core"
129
129
- " ./**.mdmp" # Windows: minidumps
130
+ - command : shell.exec
131
+ params :
132
+ script : |
133
+ . src/.evergreen/scripts/env.sh
134
+ set -o xtrace
135
+ mkdir out_dir
136
+ find $MONGO_ORCHESTRATION_HOME -name \*.log -exec sh -c 'x="{}"; mv $x $PWD/out_dir/$(basename $(dirname $x))_$(basename $x)' \;
137
+ tar zcvf mongodb-logs.tar.gz -C out_dir/ .
138
+ rm -rf out_dir
139
+ - command : s3.put
140
+ params :
141
+ aws_key : ${AWS_ACCESS_KEY_ID}
142
+ aws_secret : ${AWS_SECRET_ACCESS_KEY}
143
+ aws_session_token : ${AWS_SESSION_TOKEN}
144
+ local_file : mongodb-logs.tar.gz
145
+ remote_file : ${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-logs.tar.gz
146
+ bucket : ${bucket_name}
147
+ permissions : public-read
148
+ content_type : ${content_type|application/x-gzip}
149
+ display_name : " mongodb-logs.tar.gz"
130
150
- command : s3.put
131
151
params :
132
152
aws_key : ${AWS_ACCESS_KEY_ID}
Original file line number Diff line number Diff line change @@ -40,6 +40,4 @@ PIP_QUIET=0 uv run ${UV_ARGS} --with pip pip list
40
40
# Start the test runner.
41
41
uv run ${UV_ARGS} .evergreen/scripts/run_tests.py
42
42
43
- echo " HERE I AM!: $? "
44
-
45
43
popd
You can’t perform that action at this time.
0 commit comments