Skip to content
Merged

Dev #123

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
2 changes: 1 addition & 1 deletion script/gce-grpc-test-server
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ echo "Creating a GCE-VM ${INSTANCE}"

function remote() {
echo "Remotely run command: $*"
${GCLOUD} compute ssh "${INSTANCE}" -- "${COMMON_ARGS[@]}" --command="$*" \
${GCLOUD} compute ssh "${INSTANCE}" "${COMMON_ARGS[@]}" --command="$*" \
|| error_exit "Failed to remotely run command: $*"
}

Expand Down
2 changes: 1 addition & 1 deletion script/linux-gae-instance
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function download_nginx_logs() {

retry -n 2 -s 10 \
${GCLOUD} compute ssh --project=${PROJECT} --zone=${vm_zone} ${vm_name} \
"-- sudo tar czf \"${remote_archive}\" /var/log/ ; sudo chmod 777 \"${remote_archive}\"" \
--command="\"sudo tar czf ${remote_archive} /var/log/; sudo chmod 777 ${remote_archive}\"" \
|| error_exit "Cannot tar backend VM logs."

retry -n 2 -s 10 \
Expand Down
2 changes: 1 addition & 1 deletion script/rapture-test-gce-install
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ echo "Copying the script to VM"
|| error_exit "Failed to copy install script to VM."

echo "Run the script in VM"
"${GCLOUD}" compute ssh "${INSTANCE}" -- "${COMMON_ARGS[@]}" \
"${GCLOUD}" compute ssh "${INSTANCE}" "${COMMON_ARGS[@]}" \
--command=./install.sh \
|| error_exit "Failed to install the package in VM."