diff options
author | Henrik Ingo <henrik.ingo@mongodb.com> | 2020-02-13 11:31:43 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-02-13 11:31:43 +0000 |
commit | e594e572c3d1b30948058523b629185c1ef94f14 (patch) | |
tree | d877afb6711fee67cb5b290dbc743a12b7cd30d0 /etc/perf.yml | |
parent | 0e32ca7d6137ffde4cd7fbdf6084b47396461a2f (diff) | |
download | mongo-e594e572c3d1b30948058523b629185c1ef94f14.tar.gz |
SERVER-46082 Use bin/analysis.py for performance projects
fix
Diffstat (limited to 'etc/perf.yml')
-rw-r--r-- | etc/perf.yml | 68 |
1 files changed, 29 insertions, 39 deletions
diff --git a/etc/perf.yml b/etc/perf.yml index d2c2eac72eb..d3dd6ea4c75 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -130,36 +130,6 @@ functions: - command: shell.exec params: working_dir: src - script: | - cat > bootstrap.yml <<EOF - infrastructure_provisioning: ${cluster} - platform: ${platform} - mongodb_setup: ${setup} - storageEngine: ${storageEngine} - test_control: ${test} - production: true - EOF - - cat > runtime.yml <<EOF - # evergreen default expansions - is_patch: ${is_patch} - task_id: ${task_id} - EOF - - cp ./dsi/configurations/analysis/analysis.common.yml analysis.yml - - command: shell.exec - params: - working_dir: src - silent: true - script: | - cat > runtime_secret.yml <<EOF - dsi_analysis_atlas_user: "${dsi_analysis_atlas_user}" - dsi_analysis_atlas_pw: "${dsi_analysis_atlas_pw}" - EOF - chmod 400 runtime_secret.yml - - command: shell.exec - params: - working_dir: src silent: true script: | set -o errexit @@ -180,6 +150,34 @@ functions: source ./signal_processing_venv/bin/activate detect-changes --evergreen-api-config .evergreen.yml - command: shell.exec + params: + working_dir: src + script: | + set -o errexit + set -o verbose + cat > overrides.yml <<EOF + bootstrap: + production: true + test_control: + reports_dir_basename: .. + runtime: + # evergreen default expansions + is_patch: ${is_patch} + task_id: ${task_id} + EOF + + cp ./dsi/configurations/analysis/analysis.microbenchmarks.yml analysis.yml + - command: shell.exec + params: + working_dir: src + silent: true + script: | + cat > runtime_secret.yml <<EOF + dsi_analysis_atlas_user: "${dsi_analysis_atlas_user}" + dsi_analysis_atlas_pw: "${dsi_analysis_atlas_pw}" + EOF + chmod 400 runtime_secret.yml + - command: shell.exec type: test params: working_dir: src @@ -188,15 +186,7 @@ functions: set -o verbose ./dsi/run-dsi setup source ./dsi/dsi_venv/bin/activate - - # Any tasks that want the analysis scripts to analyze mongod.log files should pass in - # `reports_analysis: true` as a var to this function. The following line will select the - # appropriate flags if it's `true`. - reports_analysis_flags="--reports-analysis . --perf-file perf/perf.json" - cmd_flags=$([ "${reports_analysis}" = "true" ] && echo "$reports_analysis_flags" || echo "") - REFTAG="3.6.5-Baseline" - OVERRIDE="./dsi/analysis/${branch_name}/perf_override.json" - python ./dsi/analysis/perf_regression_check.py $cmd_flags --rev ${revision} --refTag $REFTAG --overrideFile $OVERRIDE --variant ${build_variant} --task ${task_name} --threshold 0.075 --threadThreshold 0.12 + ./dsi/bin/analysis.py # Params: # workload: the path relative to genny/src/workloads to run e.g. |