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