In order to receive Github events in your Estafette CI installation you need enable the Github integration in Estafette, then you can create a Github app and install it.
NOTE: Github login and Github integration aren't the same thing. They use different types of Github apps behind the scenes. You can mix and match Github login with other types of integration and vice versa.
In order for Estafette's Github integration to work ensure the Helm installation has the following
values.yaml values file:
api: ... config: files: | config.yaml: | integrations: github: enable: true apiServer: baseURL: 'https://<(private) host for the web gui>' integrationsHost: 'https://<public host to receive webhooks>'
or override the default config with environment variables like:
api: baseHost: '<(private) host for the web gui>' integrationsHost: '<public host to receive webhooks>' deployment: extraEnv: - name: ESCI_INTEGRATIONS_GITHUB_ENABLE value: 'true'
With this in place run
helm upgrade --install estafette-ci estafette/estafette-ci -n estafette-ci --create-namespace --timeout 600s --values values.yaml
As an Estafette administrator go to the Admin > Integrations page and click Register Github App for a personal account. Ensure you rename the app to something unique - the name is global to Github - and meaningful to you.
Installing the App
Registering the app will take you back to the Admin > Integrations page. Click Install Github App to install the app and have events get sent to Estafette.
As an Estafette administrator go to the Admin > Integrations page to see all configured integrations.
The details for the integrations are stored in the
estafette-ci-api.github configmap. They do not get backed up in any way, so after disaster recovery you will have to reconfigure integrations.