mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-35207 Don't use json.get_history in system_perf.yml
This commit is contained in:
parent
dea326f41f
commit
81f3e81d6b
@ -174,19 +174,7 @@ functions:
|
||||
cat perf.json | egrep "name|ops_per_sec"
|
||||
|
||||
"analyze":
|
||||
- command: json.get_history
|
||||
params:
|
||||
task: ${task_name}
|
||||
file: "work/history.json"
|
||||
name: "perf"
|
||||
- command: json.get_history
|
||||
params:
|
||||
tags: true
|
||||
task: ${task_name}
|
||||
file: "work/tags.json"
|
||||
name: "perf"
|
||||
- command: shell.exec
|
||||
# post_run_check.py and longevity_override.json for DSI tests are part of dsi repo
|
||||
type : test
|
||||
params:
|
||||
working_dir: work
|
||||
@ -196,7 +184,7 @@ functions:
|
||||
TAG="3.2.1-Baseline"
|
||||
PROJECT="mongo-longevity"
|
||||
OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/longevity_override.json"
|
||||
python -u ../src/dsi/dsi/analysis/post_run_check.py ${script_flags} --reports-analysis reports --perf-file perf.json --rev ${revision} -f history.json -t tags.json --refTag $TAG --overrideFile $OVERRIDEFILE --project_id $PROJECT --task_name ${task_name} --variant ${build_variant}
|
||||
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 $PROJECT --task_name ${task_name} --variant ${build_variant}
|
||||
|
||||
tasks:
|
||||
- name: compile
|
||||
|
@ -284,34 +284,6 @@ functions:
|
||||
file: "work/perf.json"
|
||||
|
||||
"analyze":
|
||||
- command: json.get_history
|
||||
params:
|
||||
task: ${task_name}
|
||||
file: "work/history.json"
|
||||
name: "perf"
|
||||
- command: json.get_history
|
||||
params:
|
||||
tags: true
|
||||
task: ${task_name}
|
||||
file: "work/tags.json"
|
||||
name: "perf"
|
||||
- command: shell.exec
|
||||
# generate dashboard data
|
||||
type : test
|
||||
params:
|
||||
working_dir: work
|
||||
silent: true
|
||||
script: |
|
||||
set -o errexit
|
||||
TAGS="3.4.14-Baseline 3.2.17-Baseline 3.6.0-Baseline 3.6.1-Baseline"
|
||||
OVERRIDEFILE="../src/dsi/dsi/analysis/${branch_name}/system_perf_override.json"
|
||||
python -u ../src/dsi/dsi/analysis/dashboard_gen.py --rev ${revision} -f history.json -t tags.json --refTag $TAGS --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name} --jira-user ${perf_jira_user} --jira-password ${perf_jira_pw} || true
|
||||
- command: "json.send"
|
||||
params:
|
||||
name: "dashboard"
|
||||
file: "work/dashboard.json"
|
||||
- command: shell.exec
|
||||
# post_run_check.py and override.json for DSI tests are part of dsi repo
|
||||
type : test
|
||||
params:
|
||||
working_dir: work
|
||||
@ -320,7 +292,7 @@ functions:
|
||||
set -o verbose
|
||||
TAG="3.4.14-Baseline"
|
||||
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} -f history.json -t tags.json --refTag $TAG --overrideFile $OVERRIDEFILE --project_id sys-perf --variant ${build_variant} --task ${task_name}
|
||||
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}
|
||||
|
||||
#######################################
|
||||
# Tasks #
|
||||
|
Loading…
Reference in New Issue
Block a user