Github integration

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.

Ensure you have either Github login or Google login configured and set yourself as administrator.

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.

Configure Estafette

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

Register App

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.

Viewing integrations

As an Estafette administrator go to the Admin > Integrations page to see all configured integrations.