It's recommended to use Google Cloud Build to deploy the Flamingo Server application to Cloud Run
For this, you'll need to add 2 Variables to the build configuration: _GIT_ACCESS_TOKEN and URL (see Environment Variables section for more info)
Create a new Cloud Build trigger selecting the option Cloud Build configuration file (yaml or json)
- Create a service account for Flamingo: he's your new DevOps.
- Add this account email to all the projects you want Flamingo to manage:
Cloud Build EditorCloud SQL AdminContainer Registry Service AgentService Account AdminService Account UserProject IAM AdminCloud Run AdminSecret Manager AdminSource Repository AdministratorStorage AdminCloud Datastore AdminPub/Sub Admin
- Enable Firestore using Datastore mode: needed to store Flamingo's data
- Enable Resource Manager: needed to manage app's permissions
- Enable IAM: needed to manage app's service account
- Enable Cloud SQL: needed to manage app's SQL database
- Enable App Engine Admin: needed to fetch project's default location
- Deploy Flamingo as the service account create previously
- FLAMINGO_URL: the public URL of the service to receive build hooks
- GIT_ACCESS_TOKEN: add the personal access token to allow build notification with code diff