Skip to content

How to deploy flakybot? #5840

@aanm

Description

@aanm

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

Metadata

Metadata

Assignees

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions