diff options
author | Alexander Costas <alexander.costas@mongodb.com> | 2020-01-13 20:10:40 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-13 20:10:40 +0000 |
commit | 92f2eb0263feb59adea80eb8115614623a2e213a (patch) | |
tree | 3d8c46dfdc2da278196929b1416967353bf3d511 /buildscripts | |
parent | b106fe7d7eb36a8cc98e2b1afdb18704d3b3c503 (diff) | |
download | mongo-92f2eb0263feb59adea80eb8115614623a2e213a.tar.gz |
SERVER-45488: detect_outliers doesn't appear to be running
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/signal_processing_setup.sh | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/buildscripts/signal_processing_setup.sh b/buildscripts/signal_processing_setup.sh index 66ffbef281b..e52083117c1 100755 --- a/buildscripts/signal_processing_setup.sh +++ b/buildscripts/signal_processing_setup.sh @@ -1,15 +1,23 @@ #!/usr/bin/env bash -if [[ -d "signal_processing_venv" ]]; then - source ./signal_processing_venv/bin/activate - exit 0 -fi +rm -rf ./signal_processing_venv +rm -f ./analysis.yml +rm -f ./.evergreen.yml # Configure signal processing cat > ./analysis.yml << EOF -mongo_uri: mongodb+srv://\${analysis_user}:\${analysis_password}@performancedata-g6tsc.mongodb.net/perf +mongo_uri: mongodb+srv://${analysis_user}:${analysis_password}@performancedata-g6tsc.mongodb.net/perf is_patch: ${is_patch} task_id: ${task_id} EOF + +# Create the Evergreen API credentials +cat > .evergreen.yml <<END_OF_CREDS +api_server_host: https://evergreen.mongodb.com/api +api_key: "${evergreen_api_key}" +user: "${evergreen_api_user}" +END_OF_CREDS + +# need to create virtualenv here to configure it below virtualenv -p /opt/mongodbtoolchain/v3/bin/python3 signal_processing_venv # Setup pip to use our internal PyPI @@ -19,15 +27,5 @@ index-url = https://pypi.org/simple extra-index-url = https://${perf_jira_user}:${perf_jira_pw}@artifactory.corp.mongodb.com/artifactory/api/pypi/mongodb-dag-local/simple EOF -# Create the Evergreen API credentials -cat > .evergreen.yml <<END_OF_CREDS -api_server_host: https://evergreen.mongodb.com/api -api_key: "${evergreen_api_key}" -user: "${evergreen_api_user}" -END_OF_CREDS - source ./signal_processing_venv/bin/activate pip install dag-signal-processing~=1.0.14 - -export analysis_user="${dsi_analysis_atlas_user}" -export analysis_password="${dsi_analysis_atlas_pw}"
\ No newline at end of file |