Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y unzip gcc
/snap/bin/gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

cd ${TMP}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y unzip gcc
/snap/bin/gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

cd ${TMP}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y openjdk-8-jre-headless & PIDAPT=$!
/snap/bin/gsutil cp "gs://${BUCKET}/driver.jar" "${TMP}"
/snap/bin/gcloud storage cp "gs://${BUCKET}/driver.jar" "${TMP}"

wait $PIDAPT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y openjdk-8-jre-headless & PIDAPT=$!
/snap/bin/gsutil cp "gs://${BUCKET}/driver.jar" "${TMP}"
gcloud storage cp "gs://${BUCKET}/driver.jar" "${TMP}"

wait $PIDAPT

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y unzip nodejs
/snap/bin/gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
/snap/bin/gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

cd ${TMP}
unzip cps.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
# Download the loadtest binary to this machine and install Java 8.
/usr/bin/apt-get update
/usr/bin/apt-get install -y unzip nodejs
/snap/bin/gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
/snap/bin/gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

cd ${TMP}
unzip cps.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install python.
apt-get update
apt-get install -y unzip
gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

# set up miniconda environment
cd ${TMP}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ readonly BUCKET=$(metadata instance/attributes/bucket)
# Download the loadtest binary to this machine and install python.
apt-get update
apt-get install -y unzip
gsutil cp "gs://${BUCKET}/cps.zip" "${TMP}"
gcloud storage cp "gs://${BUCKET}/cps.zip" "${TMP}"

# set up miniconda environment
cd ${TMP}
Expand Down