Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Kion-WebHook-Sample

gcloud tasks queues create testing

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