mirror of
https://github.com/imjasonh/kontain.me
synced 2026-07-21 22:48:19 +00:00
add deploy.sh scripts
This commit is contained in:
parent
12fdb61463
commit
a8c70f6e02
10 changed files with 139 additions and 0 deletions
14
cmd/random/deploy.sh
Executable file
14
cmd/random/deploy.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
gcloud run deploy random \
|
||||
--project=kontaindotme \
|
||||
--region=us-central1 \
|
||||
--allow-unauthenticated \
|
||||
--set-env-vars=BUCKET=kontaindotme \
|
||||
--image=$(KO_DOCKER_REPO=gcr.io/kontaindotme ko publish -P ./cmd/random) \
|
||||
--memory=1Gi \
|
||||
--cpu=1 \
|
||||
--concurrency=80 \
|
||||
--timeout=60 # 1m
|
||||
Loading…
Add table
Add a link
Reference in a new issue