1
0
Fork 0
mirror of https://github.com/imjasonh/kontain.me synced 2026-07-08 00:55:14 +00:00

add deploy.sh scripts

This commit is contained in:
Jason Hall 2021-08-14 14:40:25 -04:00
parent 12fdb61463
commit a8c70f6e02
10 changed files with 139 additions and 0 deletions

14
cmd/wait/deploy.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euxo pipefail
gcloud run deploy wait \
--project=kontaindotme \
--region=us-central1 \
--allow-unauthenticated \
--set-env-vars=BUCKET=kontaindotme \
--image=$(KO_DOCKER_REPO=gcr.io/kontaindotme ko publish -P ./cmd/wait) \
--memory=1Gi \
--cpu=1 \
--concurrency=80 \
--timeout=60 # 1m