Skip to content

Commit

Permalink
Merge pull request #1897 from Logflare/fix/test-cluster-machine-types
Browse files Browse the repository at this point in the history
fix: test cluster machine types, disk size
  • Loading branch information
Ziinc authored Dec 19, 2023
2 parents d7ac23e + 4847ae3 commit ab0ecaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ deploy.staging.versioned:

gcloud builds submit . \
--config=./cloudbuild/staging/deploy.yaml \
--substitutions=_IMAGE_TAG=$(VERSION),_NORMALIZED_IMAGE_TAG=$(NORMALIZED_VERSION),_INSTANCE_TYPE=c2d-standard-2,_CLUSTER=versioned \
--substitutions=_IMAGE_TAG=$(VERSION),_NORMALIZED_IMAGE_TAG=$(NORMALIZED_VERSION),_CLUSTER=versioned \
--region=us-west1 \
--gcs-log-dir="gs://logflare-staging_cloudbuild-logs/logs"

Expand Down
4 changes: 2 additions & 2 deletions cloudbuild/staging/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
- --container-privileged
- --container-restart-policy=always
- --container-env=LOGFLARE_GRPC_PORT=4001,LOGFLARE_MIN_CLUSTER_SIZE=1,OVERRIDE_MAGIC_COOKIE=${_COOKIE}
- --create-disk=auto-delete=yes,device-name=logflare-staging-cluster-privileged-e2-cos-89-shutdown-12,image=projects/cos-cloud/global/images/cos-stable-105-17412-156-59,mode=rw,size=100,type=pd-ssd
- --create-disk=auto-delete=yes,device-name=logflare-staging-cluster-privileged-e2-cos-89-shutdown-12,image=projects/cos-cloud/global/images/cos-stable-105-17412-156-59,mode=rw,size=25,type=pd-ssd
- --no-shielded-secure-boot
- --shielded-vtpm
- --shielded-integrity-monitoring
Expand Down Expand Up @@ -49,7 +49,7 @@ substitutions:
_CLUSTER: main
_COOKIE: default-${_CLUSTER}
_NORMALIZED_IMAGE_TAG: ${_IMAGE_TAG}
_INSTANCE_TYPE: e2-standard-4
_INSTANCE_TYPE: c2d-standard-2
_INSTANCE_GROUP: instance-group-staging-${_CLUSTER}
_IMAGE_TAG: $SHORT_SHA
_TEMPLATE_NAME: logflare-staging-${_CLUSTER}-cluster-${_NORMALIZED_IMAGE_TAG}
Expand Down

0 comments on commit ab0ecaa

Please sign in to comment.