Skip to content

Commit 15810ba

Browse files
committed
debug
1 parent ab6d2b2 commit 15810ba

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.evergreen/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,26 @@ functions:
127127
include:
128128
- "./**.core"
129129
- "./**.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"
130150
- command: s3.put
131151
params:
132152
aws_key: ${AWS_ACCESS_KEY_ID}

.evergreen/run-tests.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ PIP_QUIET=0 uv run ${UV_ARGS} --with pip pip list
4040
# Start the test runner.
4141
uv run ${UV_ARGS} .evergreen/scripts/run_tests.py
4242

43-
echo "HERE I AM!: $?"
44-
4543
popd

0 commit comments

Comments
 (0)