Skip to content

Commit

Permalink
Update gae_deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhigh committed Apr 26, 2024
1 parent 5a11548 commit ad696e3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tools/gae_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,17 @@ if ! gcloud app describe >/dev/null 2>&1; then
fi

if python ./kindleear/tools/update_req.py gae; then
gcloud services enable firestore.googleapis.com datastore.googleapis.com \
cloudtasks.googleapis.com cloudscheduler.googleapis.com appenginereporting.googleapis.com \
artifactregistry.googleapis.com cloudbuild.googleapis.com cloudtrace.googleapis.com \
containerregistry.googleapis.com firebaserules.googleapis.com logging.googleapis.com \
pubsub.googleapis.com storage-api.googleapis.com

gcloud beta app deploy --version=1 ./kindleear/app.yaml
gcloud beta app deploy --quiet --version=1 ./kindleear/worker.yaml
gcloud beta app deploy --version=1 ./kindleear/cron.yaml
gcloud beta app deploy --version=1 ./kindleear/queue.yaml
gcloud beta app deploy --version=1 ./kindleear/dispatch.yaml
gcloud beta app deploy --quiet --version=1 ./kindleear/cron.yaml
gcloud beta app deploy --quiet --version=1 ./kindleear/queue.yaml
gcloud beta app deploy --quiet --version=1 ./kindleear/dispatch.yaml
echo -e "The deployment is completed."
echo -e "The access address is: https://$GOOGLE_CLOUD_PROJECT.appspot.com"
else
Expand Down

0 comments on commit ad696e3

Please sign in to comment.