Commit 9a61782 1 parent 22a7abc commit 9a61782 Copy full SHA for 9a61782
File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 95
95
gcloud compute instances update-container ${full_name} \
96
96
--container-image us-central1-docker.pkg.dev/$PROJECT_ID/qi-agents/${full_name}:${version} \
97
97
--container-env AGENTS_BUCKET_NAME=${bucket_name},CHARACTER_FILE=${_CHARACTER_FILE} \
98
+ --scopes=cloud-platform \
98
99
--zone $_ZONE || { echo "Instance update failed"; exit 1; }
99
100
echo "Instance update completed"
100
101
else
@@ -108,6 +109,7 @@ steps:
108
109
--no-address \
109
110
--boot-disk-size $_DISK_SIZE \
110
111
--container-env AGENTS_BUCKET_NAME=${bucket_name},CHARACTER_FILE=${_CHARACTER_FILE} \
112
+ --scopes=cloud-platform \
111
113
--metadata-from-file startup-script=startup.sh || { echo "Instance creation failed"; exit 1; }
112
114
echo "Instance creation completed"
113
115
fi
You can’t perform that action at this time.
0 commit comments