File tree 2 files changed +12
-4
lines changed
performance-tests/scaling
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
source ./variables.sh
2
+
3
+ set -e # Fail on errors.
4
+ set -x # Show each command.
5
+
2
6
gcloud compute ssh $VM_INSTANCE --zone $VM_ZONE --project $PROJECT_ID -- -o ProxyCommand=' corp-ssh-helper %h %p'
Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ NOHUP_OUT=~/nohup-up.out
16
16
cd $GITS_DIR /fhir-data-pipes
17
17
18
18
# Install Python virtual env.
19
- [[ -d $VENV ]] || python3 -m venv $VENV
20
- source $VENV /bin/activate
21
- # Install dependencies for uploader.
22
- pip install -r ./synthea-hiv/uploader/requirements.txt
19
+ if [[ -d $VENV ]]; then
20
+ source $VENV /bin/activate
21
+ else
22
+ python3 -m venv $VENV
23
+ source $VENV /bin/activate
24
+ # Install dependencies for uploader.
25
+ pip install -r ./synthea-hiv/uploader/requirements.txt
26
+ fi
23
27
24
28
nohup python " $DIR_WITH_THIS_SCRIPT /upload_download.py" >> $NOHUP_OUT 2>&1 &
25
29
tail -F $NOHUP_OUT
You can’t perform that action at this time.
0 commit comments