You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The VM is created in the same zone as the buckets to test rapid storage features.
@@ -15,7 +32,7 @@ steps:
15
32
- "compute"
16
33
- "instances"
17
34
- "create"
18
-
- "gcsfs-test-vm-${_SHORT_BUILD_ID}"
35
+
- "${_VM_NAME}"
19
36
- "--project=${PROJECT_ID}"
20
37
- "--zone=${_ZONE}"
21
38
- "--machine-type=e2-medium"
@@ -38,33 +55,46 @@ steps:
38
55
set -e
39
56
# Wait for the VM to be fully initialized and SSH to be ready.
40
57
for i in {1..10}; do
41
-
if gcloud compute ssh gcsfs-test-vm-${_SHORT_BUILD_ID} --zone=${_ZONE} --internal-ip --command="echo VM is ready"; then
58
+
if gcloud compute ssh ${_VM_NAME} --zone=${_ZONE} --internal-ip --ssh-key-file=/workspace/.ssh/google_compute_engine --command="echo VM is ready"; then
42
59
break
43
60
fi
44
61
echo "Waiting for VM to become available... (attempt $i/10)"
0 commit comments