Skip to content

Commit 9116199

Browse files
committed
chore: use s3
1 parent d68cfd5 commit 9116199

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.evergreen/config.in.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,18 @@ functions:
109109
- .evergreen/run-tests.sh
110110

111111
"perf send":
112-
- command: attach.artifacts
112+
- command: s3.put
113113
params:
114-
working_dir: src
115-
files:
116-
- ./test/benchmarks/driver_bench/results.json
114+
aws_key: ${aws_key}
115+
aws_secret: ${aws_secret}
116+
local_file: src/test/benchmarks/driver_bench/results.json
117+
optional: true
118+
# TODO NODE-4707 - change upload directory to ${UPLOAD_BUCKET}
119+
remote_file: mongo-node-driver/${revision}/${version_id}/results.${task_name}.json
120+
bucket: mciuploads
121+
permissions: public-read
122+
content_type: application/json
123+
display_name: "Performance Results"
117124
- command: subprocess.exec
118125
params:
119126
working_dir: src

.evergreen/config.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,17 @@ functions:
8181
args:
8282
- .evergreen/run-tests.sh
8383
perf send:
84-
- command: attach.artifacts
84+
- command: s3.put
8585
params:
86-
working_dir: src
87-
files:
88-
- ./test/benchmarks/driver_bench/results.json
86+
aws_key: ${aws_key}
87+
aws_secret: ${aws_secret}
88+
local_file: src/test/benchmarks/driver_bench/results.json
89+
optional: true
90+
remote_file: mongo-node-driver/${revision}/${version_id}/results.${task_name}.json
91+
bucket: mciuploads
92+
permissions: public-read
93+
content_type: application/json
94+
display_name: Performance Results
8995
- command: subprocess.exec
9096
params:
9197
working_dir: src

0 commit comments

Comments
 (0)