Skip to content

Commit

Permalink
set ssh private key before gcloud ssh (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizan authored and qiwzhang committed Dec 14, 2017
1 parent 046df20 commit 82d23ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/jenkins-utilities
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ function set_esp_remote_rollout_info_env() {

case "${target_env}" in
'gce' )
endpoint_status=`gcloud compute ssh "${INSTANCE_NAME}" --command="curl \"$endpoint_status_url\""`;;
set_ssh_private_key
endpoint_status=`${GCLOUD} compute ssh "${INSTANCE_NAME}" --command="curl \"$endpoint_status_url\""`;;
'gke' )
endpoint_status=`curl "$endpoint_status_url"`;;
esac
Expand Down

0 comments on commit 82d23ce

Please sign in to comment.