diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-go-publisher_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-go-publisher_startup_script.sh index 3103ade9..bf529bc7 100644 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-go-publisher_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-go-publisher_startup_script.sh @@ -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} diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-go-subscriber_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-go-subscriber_startup_script.sh index 70681da0..5fc69dee 100644 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-go-subscriber_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-go-subscriber_startup_script.sh @@ -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} diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-java-publisher_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-java-publisher_startup_script.sh index e3bb99d6..548379eb 100755 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-java-publisher_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-java-publisher_startup_script.sh @@ -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 diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-java-subscriber_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-java-subscriber_startup_script.sh index ceadcd10..0192dd32 100755 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-java-subscriber_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-java-subscriber_startup_script.sh @@ -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 diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-node-publisher_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-node-publisher_startup_script.sh index 3cd4aeab..a4e8f818 100644 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-node-publisher_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-node-publisher_startup_script.sh @@ -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 diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-node-subscriber_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-node-subscriber_startup_script.sh index ed643c3d..d5d0b570 100644 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-node-subscriber_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-node-subscriber_startup_script.sh @@ -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 diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-python-publisher_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-python-publisher_startup_script.sh index cab248ee..3a0231d4 100755 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-python-publisher_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-python-publisher_startup_script.sh @@ -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} diff --git a/load-test-framework/src/main/resources/gce/cps-gcloud-python-subscriber_startup_script.sh b/load-test-framework/src/main/resources/gce/cps-gcloud-python-subscriber_startup_script.sh index dd13085c..822c8791 100755 --- a/load-test-framework/src/main/resources/gce/cps-gcloud-python-subscriber_startup_script.sh +++ b/load-test-framework/src/main/resources/gce/cps-gcloud-python-subscriber_startup_script.sh @@ -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}