From 08f89248d741663ba26d20541fdc6d5656141b9f Mon Sep 17 00:00:00 2001 From: gbg3 Date: Fri, 10 Jun 2022 16:44:01 -0400 Subject: [PATCH] Create README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c26ff38 --- /dev/null +++ b/README.md @@ -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