blob: 4a49f729ee4b807dea344ea20ebd89c7404b0674 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env bash
rm -rf ./signal_processing_venv
rm -f ./.signal-processing.yml
# Configure signal processing
cat > .signal-processing.yml << EOF
task_id: ${task_id}
is_patch: ${is_patch}
mongo_uri: mongodb+srv://${analysis_user}:${analysis_password}@performancedata-g6tsc.mongodb.net/perf
evergreen:
api_key: "${evergreen_api_key}"
user: "${evergreen_api_user}"
api_server_host: https://evergreen.mongodb.com
EOF
# need to create virtualenv here to configure it below
virtualenv -p /opt/mongodbtoolchain/v3/bin/python3 signal_processing_venv
source ./signal_processing_venv/bin/activate
pip install --upgrade pip
pip install ../src/signal_processing/signal-processing
|