How run above project i donot have Hook url and webhook token give step by step process
- User
How run above project i donot have Hook url and webhook token give step by step process
Assistant
- User
gcloud functions describe webhook-handler
Assistant
- User
As of Cloud SDK 492.0.0 release, new functions will be deployed as 2nd gen functions by default. This is equivalent to currently deploying new with the --gen2 flag. Existing 1st gen functions will not be impacted and will continue to deploy as 1st gen functions. You can disable this behavior by explicitly specifying the --no-gen2 flag or by setting the functions/gen2 config property to 'off'. To learn more about the differences between 1st gen and 2nd gen functions, visit: https://cloud.google.com/functions/docs/concepts/version-comparison ERROR: (gcloud.functions.deploy) Invalid value for [--source]: Provided source directory does not have file [main.py] which is required for [python39]. Did you specify the right source? manojkasula6@cloudshell:~/gitlab-ai-reviewer (git-ai-reviewer)$ gcloud functions describe webhook-handler ERROR: (gcloud.functions.describe) ResponseError: status=[404], code=[Ok], message=[Resource 'projects/git-ai-reviewer/locations/us-central1/functions/webhook-handler' was not found]
Assistant
- User
As of Cloud SDK 492.0.0 release, new functions will be deployed as 2nd gen functions by default. This is equivalent to currently deploying new with the --gen2 flag. Existing 1st gen functions will not be impacted and will continue to deploy as 1st gen functions. You can disable this behavior by explicitly specifying the --no-gen2 flag or by setting the functions/gen2 config property to 'off'. To learn more about the differences between 1st gen and 2nd gen functions, visit: https://cloud.google.com/functions/docs/concepts/version-comparison ERROR: (gcloud.functions.deploy) Invalid value for [--source]: Provided source directory does not have file [main.py] which is required for [python39]. Did you specify the right source? manojkasula6@cloudshell:~/gitlab-ai-reviewer (git-ai-reviewer)$ gcloud functions describe webhook-handler ERROR: (gcloud.functions.describe) ResponseError: status=[404], code=[Ok], message=[Resource 'projects/git-ai-reviewer/locations/us-central1/functions/webhook-handler' was not found]
Assistant