I'm trying to fully understand how to use the FlakyBot for a set of repos as a non Googler user. There are some docs on how it works which is nice but it's still difficult to come up with a deployment where it works.
- How do you set up FlakyBot in a Google Cloud project?
- Which Google Cloud components (e.g., Cloud Functions, Pub/Sub, Secret Manager) need to be installed or configured?
- What is the event workflow from GitHub to FlakyBot?
I tried this:
gcloud builds submit --config packages/flakybot/cloudbuild.yaml --substitutions _DIRECTORY=packages/flakybot,_REGION=europe-west1 .
and
gcloud builds submit --config serverless-scheduler-proxy/cloudbuild.yaml --substitutions _REGION=europe-west1 .
Even after configuring a PubSub with the topic passthrough and setting a subscription to serverless-scheduler-proxy, I was unable to have flakybot.ts process the PubSub messages sent by serverless-scheduler-proxy nor the messages sent by flakybot.go.
I would really appreciate some help! Thank you
I'm trying to fully understand how to use the FlakyBot for a set of repos as a non Googler user. There are some docs on how it works which is nice but it's still difficult to come up with a deployment where it works.
I tried this:
and
Even after configuring a PubSub with the topic
passthroughand setting a subscription toserverless-scheduler-proxy, I was unable to have flakybot.ts process the PubSub messages sent by serverless-scheduler-proxy nor the messages sent by flakybot.go.I would really appreciate some help! Thank you