Skip to content

Commit

Permalink
chore: bump instance type for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Dec 10, 2024
1 parent 589b08f commit 6b597f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ deploy.staging.main:

gcloud builds submit . \
--config=./cloudbuild/staging/deploy.yaml \
--substitutions=_IMAGE_TAG=$(SHA_IMAGE_TAG) \
--substitutions=_IMAGE_TAG=$(SHA_IMAGE_TAG),_INSTANCE_TYPE=c2d-highcpu-16 \
--region=us-central1 \
--gcs-log-dir="gs://logflare-staging_cloudbuild-logs/logs"

gcloud builds submit . \
--config=./cloudbuild/staging/deploy.yaml \
--substitutions=_IMAGE_TAG=$(SHA_IMAGE_TAG),_INSTANCE_GROUP=instance-group-staging-main-saturated \
--substitutions=_IMAGE_TAG=$(SHA_IMAGE_TAG),_INSTANCE_GROUP=instance-group-staging-main-saturated,_INSTANCE_TYPE=c2d-highcpu-16 \
--region=us-central1 \
--gcs-log-dir="gs://logflare-staging_cloudbuild-logs/logs"

Expand Down
1 change: 1 addition & 0 deletions cloudbuild/staging/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ substitutions:
_CLUSTER: main
_COOKIE: default-${_CLUSTER}
_NORMALIZED_IMAGE_TAG: ${_IMAGE_TAG}
# test clusters (main) override instance type in makefile
_INSTANCE_TYPE: c2d-highcpu-4
_INSTANCE_GROUP: instance-group-staging-${_CLUSTER}
_IMAGE_TAG: $SHORT_SHA
Expand Down

0 comments on commit 6b597f3

Please sign in to comment.