Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gbg3 authored Jun 10, 2022
1 parent bd31797 commit 08f8924
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Kion-WebHook-Sample

gcloud deploy function-2 \
--region=us-central1 \
--runtime=python37 \
--memory=128MB --source=. \
--timeout=60 \
--entry-point=kion_finalize_webhook \
--trigger-http \
--set-env-vars=KION_API_KEY=XXXXXXXXX


gcloud deploy function-1 \
--region=us-central1 \
--runtime=python37 \
--memory=128MB --source=. \
--timeout=60 \
--entry-point=kion_webhook \
--trigger-http \
--allow-unauthenticated \
--set-env-vars=GCP_PROJECT=$PROJECT,FUNCTION_REGION=$REGION,FUNCTION_IDENTITY=$PROJECT@appspot.gserviceaccount.com,KION_FINALZER_FUNCTION=function-2

0 comments on commit 08f8924

Please sign in to comment.