internal/gaby: increase Cloud Run RAM
To support go review dashboard sync.
Updates golang/oscar#40
Change-Id: Iabc1e6f9dca3bff82d13ddb4522044db85c1d413
Reviewed-on: https://go-review.googlesource.com/c/oscar/+/620255
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/internal/gaby/cloudbuild.yaml b/internal/gaby/cloudbuild.yaml
index ffbdba3..454ed17 100644
--- a/internal/gaby/cloudbuild.yaml
+++ b/internal/gaby/cloudbuild.yaml
@@ -79,7 +79,7 @@
echo "deploying service $service from image $image"
gcloud run deploy --project $PROJECT_ID $service --image $image --region us-central1 \
- --memory 2G
+ --memory 5G
# If there was a rollback, `gcloud run deploy` will create a revision
# but not point traffic to it. The following command ensures that the
diff --git a/internal/gaby/deploy-cloud-run.sh b/internal/gaby/deploy-cloud-run.sh
index 7ef9cef..6dcd67b 100755
--- a/internal/gaby/deploy-cloud-run.sh
+++ b/internal/gaby/deploy-cloud-run.sh
@@ -40,6 +40,6 @@
docker push $image
-gcloud run deploy gaby-devel --image $image --region $region --memory 2G --quiet
+gcloud run deploy gaby-devel --image $image --region $region --memory 5G --quiet
gcloud run services update-traffic gaby-devel --to-latest --region $region