Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Support Google Cloud Function #33

Open
suzuki-shunsuke opened this issue Aug 30, 2022 · 2 comments
Open

Support Google Cloud Function #33

suzuki-shunsuke opened this issue Aug 30, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Aug 30, 2022

  • Terraform
  • Run Function asynchronously
  • Secrets Manager
  • How to manage configuration
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Aug 30, 2022
@suzuki-shunsuke
Copy link
Member Author

suzuki-shunsuke commented Sep 25, 2022

Run Function asynchronously

gha-trigger receives GitHub Webhook and run GitHub Actions Workflow.
GitHub Webhook has a timeout (10 seconds), so gha-trigger has to respond a request soon and handle the request asynchronously.
Google Cloud Function's HTTP Trigger works synchronously, so we have to consider how to run Google Cloud Function asynchronously.

One idea is to combine two Google Cloud Functions.

gha-trigger-google-cloud-function drawio

But this is a bit complicated, so ideally I'd like to implement with one function.

In AWS, I've implemented this with Amazon API Gateway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant