diff options
author | Jim OLeary <jim.oleary@gmail.com> | 2018-10-02 16:43:24 +0100 |
---|---|---|
committer | Jim OLeary <jim.oleary@gmail.com> | 2018-10-15 15:53:31 -0400 |
commit | 16fd97940c6500906e5daf0765f479e0204a8250 (patch) | |
tree | 57db2fe174cb9d2f803bb308a3ea9a7f2edff812 /etc | |
parent | aa09a2c17d4bbeaaf1d2f63d3a57ec483dc695a9 (diff) | |
download | mongo-16fd97940c6500906e5daf0765f479e0204a8250.tar.gz |
SERVER-35109: Enable signal processing in perf.yml
(cherry picked from commit 4d84289d1745fa9e5cdb14ae753e1eaa493abdaf)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/perf.yml | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/etc/perf.yml b/etc/perf.yml index 1a8423489ca..d5ced959722 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -58,6 +58,11 @@ functions: rm -rf ./dsi mkdir -p ./src git clone git@github.com:10gen/dsi.git + # get the mongo source, note the s3.get calls put the + # exe files in their respective make locations. + - command: git.get_project + params: + directory: src "start server": - command: shell.exec params: @@ -135,9 +140,43 @@ functions: script: | set -e set -v - virtualenv ./venv - source ./venv/bin/activate - pip install -r ../dsi/requirements/analysis.txt + ../dsi/run-dsi setup + - 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 + script: | + set -v + ../dsi/run-dsi detect-changes - command: json.get_history params: task: ${task_name} |