summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJim O'Leary <jim.oleary@mongodb.com>2019-11-06 11:50:58 +0000
committerevergreen <evergreen@mongodb.com>2019-11-06 11:50:58 +0000
commit767458c7660a7487b3913f52fb266568a8ffd838 (patch)
tree595839af5d64fafb409230380cbc5ba69e07b804 /etc
parentb37a2dd6d573e126a07cf97c7c3bc295cfb679e5 (diff)
downloadmongo-767458c7660a7487b3913f52fb266568a8ffd838.tar.gz
SERVER-44009 pip freeze and persist
(cherry picked from commit 13e2014cc467433770ff2c7ad470a0ddb363c07c)
Diffstat (limited to 'etc')
-rw-r--r--etc/perf.yml13
-rw-r--r--etc/system_perf.yml13
2 files changed, 26 insertions, 0 deletions
diff --git a/etc/perf.yml b/etc/perf.yml
index 2f59b634d84..36a51e72e78 100644
--- a/etc/perf.yml
+++ b/etc/perf.yml
@@ -40,6 +40,7 @@ post:
if [ -d "${scons_cache_path}" ]; then
${python|/opt/mongodbtoolchain/v2/bin/python2} buildscripts/scons_cache_prune.py --cache-dir ${scons_cache_path} --cache-size ${scons_cache_size|200} --prune-ratio ${scons_prune_ratio|0.8}
fi
+ - func: "upload pip requirements"
modules:
@@ -233,6 +234,18 @@ functions:
name: "perf"
file: "src/perf/perf.json"
+ "upload pip requirements":
+ command: s3.put
+ params:
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ local_file: pip-requirements.txt
+ remote_file: ${project}/${build_variant}/${revision}/pip-requirements-${task_id}-${execution}.txt
+ bucket: mciuploads
+ permissions: public-read
+ content_type: atext-plain
+ display_name: Pip Requirements
+
tasks:
- name: compile
commands:
diff --git a/etc/system_perf.yml b/etc/system_perf.yml
index bede8662e3d..e25ba697449 100644
--- a/etc/system_perf.yml
+++ b/etc/system_perf.yml
@@ -46,6 +46,7 @@ post:
mark_idle.sh
fi
+ - func: "upload pip requirements"
- command: shell.exec
params:
working_dir: src
@@ -330,6 +331,18 @@ functions:
OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/system_perf_override.json"
python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file perf.json --rev ${revision} --refTag $TAG --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name}
+ "upload pip requirements":
+ command: s3.put
+ params:
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ local_file: pip-requirements.txt
+ remote_file: ${project}/${build_variant}/${revision}/pip-requirements-${task_id}-${execution}.txt
+ bucket: mciuploads
+ permissions: public-read
+ content_type: atext-plain
+ display_name: Pip Requirements
+
#######################################
# Tasks #
#######################################