Skip to content

Commit

Permalink
add the update
Browse files Browse the repository at this point in the history
  • Loading branch information
endurance committed Dec 31, 2023
1 parent 25f85cb commit d45a1ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/google-cloudrun-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
# END - Docker auth and build
- name: Deploy to GCE
run: |
gcloud compute instances stop the-bots --zone=us-central1-a
gcloud compute instances start the-bots --zone=us-central1-a
gcloud compute instances stop skelly-bot-testing --zone=us-central1-a
gcloud compute instances start skelly-bot-testing --zone=us-central1-a
# If required, use the Cloud Run url output in later steps
- name: Show Output
Expand Down
19 changes: 19 additions & 0 deletions gcloud/GCE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
gcloud compute instances create-with-container skelly-bot-testing \
--project=mocap-test-project \
--zone=us-central1-a \
--machine-type=e2-micro \
--network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default \
--maintenance-policy=MIGRATE \
--provisioning-model=STANDARD \
--service-account=nest-bot@mocap-test-project.iam.gserviceaccount.com \
--scopes=https://www.googleapis.com/auth/cloud-platform \
--image=projects/cos-cloud/global/images/cos-stable-109-17800-66-43 \
--boot-disk-size=10GB \
--boot-disk-type=pd-standard \
--boot-disk-device-name=skelly-bot-testing \
--container-image=us-east1-docker.pkg.dev/mocap-test-project/jonbot/nestbot:latest \
--container-restart-policy=always \
--no-shielded-secure-boot \
--shielded-vtpm \
--shielded-integrity-monitoring \
--labels=goog-ec-src=vm_add-gcloud,container-vm=cos-stable-109-17800-66-43

0 comments on commit d45a1ac

Please sign in to comment.