Skip to content

Commit 13e2014

Browse files
jimmongoevergreen
authored andcommitted
SERVER-44009 pip freeze and persist
1 parent 3654969 commit 13e2014

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

etc/perf.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ post:
4141
if [ -d "${scons_cache_path}" ]; then
4242
/opt/mongodbtoolchain/v3/bin/python3 buildscripts/scons_cache_prune.py --cache-dir ${scons_cache_path} --cache-size ${scons_cache_size|200} --prune-ratio ${scons_prune_ratio|0.8}
4343
fi
44+
- func: "upload pip requirements"
4445

4546

4647
# Be sure to add the module to git.get_project revisions parameter so the revision in the manifest
@@ -244,6 +245,18 @@ functions:
244245
name: "perf"
245246
file: "src/perf/perf.json"
246247

248+
"upload pip requirements":
249+
command: s3.put
250+
params:
251+
aws_key: ${aws_key}
252+
aws_secret: ${aws_secret}
253+
local_file: pip-requirements.txt
254+
remote_file: ${project}/${build_variant}/${revision}/pip-requirements-${task_id}-${execution}.txt
255+
bucket: mciuploads
256+
permissions: public-read
257+
content_type: atext-plain
258+
display_name: Pip Requirements
259+
247260
tasks:
248261

249262
- name: genny_scale_InsertRemove

etc/system_perf.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ post:
4646
mark_idle.sh
4747
fi
4848
49+
- func: "upload pip requirements"
4950
- command: shell.exec
5051
params:
5152
working_dir: src
@@ -363,6 +364,18 @@ functions:
363364
set -o verbose
364365
exit $(cat post_run_check.status)
365366
367+
"upload pip requirements":
368+
command: s3.put
369+
params:
370+
aws_key: ${aws_key}
371+
aws_secret: ${aws_secret}
372+
local_file: pip-requirements.txt
373+
remote_file: ${project}/${build_variant}/${revision}/pip-requirements-${task_id}-${execution}.txt
374+
bucket: mciuploads
375+
permissions: public-read
376+
content_type: atext-plain
377+
display_name: Pip Requirements
378+
366379
#######################################
367380
# Tasks #
368381
#######################################

0 commit comments

Comments
 (0)