summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim OLeary <jim.oleary@gmail.com>2018-10-02 16:43:24 +0100
committerJim OLeary <jim.oleary@gmail.com>2018-10-15 15:52:29 -0400
commitf143314e5d5b1021ed11ab2a2c57d0e6ada24926 (patch)
tree99b65a0cdc12540250fae864ee916cd1e54c279f
parentc1693a4b0c7a54189ee9a95fc18f1b95084bfc3f (diff)
downloadmongo-f143314e5d5b1021ed11ab2a2c57d0e6ada24926.tar.gz
SERVER-35109: Enable signal processing in perf.yml
(cherry picked from commit 4d84289d1745fa9e5cdb14ae753e1eaa493abdaf)
-rw-r--r--etc/perf.yml45
1 files changed, 42 insertions, 3 deletions
diff --git a/etc/perf.yml b/etc/perf.yml
index e1998afa798..aea466ab848 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}