Integrations
Github
Follow this step to enable GitHub integrations
Creating the Github App
To enable GitHub integrations, you need to create a Github app. Follow these steps to create the Github app and integrate it with truefoundry:
You need to have the admin access to create a Github app
- In the upper-right corner of any page on GitHub, click your profile photo.
- Navigate to your account settings.
- For an app owned by a personal account, click Settings.
- For an app owned by an organization:
- Click Your organizations.
- To the right of the organization, click Settings.
- In the left sidebar, click Developer settings.
- In the left sidebar, click GitHub Apps
- Now click on New GitHub App
- Fill in the details as follows:
- App name: TrueFoundry
- Homepage URL: https://control-plane-url For example https://control-plane.truefoundry.com
- Callback URL: https://control-plane-url/api/svc/v1/vcs/github/callback
- Setup URL: https://control-plane-url/api/svc/v1/vcs/github/callback
- Webhook URL: https://control-plane-url/api/svc/v1/vcs/github/webhook-callback
- Select the
Enable SSL Verification
checkbox
- Select the
- Now in the permissions section, Give the read only access to contents in the Repository permissions
- Now in the
Where can this GitHub App be installed?
section, SelectAny Account
- Now generate a new client secret and copy it
- Now generate a new private key(section present at the bottom) and copy it
- Now provide AppId, AppName, AppURL, Private Key(base64 encode) as env to servicefoundry-server