Configuring GitHub Enterprise Server in Roadie
Published on October 1st, 2024Introduction
Roadie integrates with both cloud and self-hosted GitHub installations. This guide instructs how to set up self-hosted GitHub Enterprise Server to work with your Roadie instance. With this integration, it is possible to ingest entities and connect and use GitHub plugins.
Steps
Step 1. Create a new GitHub Enterprise Server token
- Start by logging into the GitHub Enterprise server
- Navigate to Developer settings and create a new Access Token. You can find this from URL
https://<your-server-instance>/settings/tokens/new
. - The minimum scope for the token is to at least be able to read repositories and repository contents.
Step 2. Store GitHub Enterprise Server token into Roadie
- Navigate to your Roadie instance URL
https://<your-roadie-tenant>.roadie.so/administration/integrations/github-enterprise
- Input the GHES token from step 1 as a value to secret
GHE_TOKEN
Step 3. Create a new GitHub Enterprise Server OAuth Client
- Create a new OAuth app within GitHub Enterprise Server developer settings
- You can find the possibility to do that the URL
https://<your-server-instance>/settings/applications/new
.
- You can find the possibility to do that the URL
- For
Homepage URL
set a value likehttps://<your-roadie-tenant>.roadie.so
- For
Authorization callback URL
set a value likehttps://<your-roadie-tenant>.roadie.so/api/auth/ghes/handler/frame
- When the app has been created, generate a new secret for it by clicking
Generate a new client secret
button
Step 4. Store id and secret into Roadie
- Navigate to your Roadie instance URL
https://<your-roadie-tenant>.roadie.so/administration/integrations/github-enterprise
- Input the client id from step 3 as a value to secret
GHE_CLIENT_ID
- Input the generated client secret from step 3 as a value to secret
GHE_CLIENT_SECRET
Step 5. Configure GitHub Enterprise Server on Roadie
- Configure you GitHub Enterprise Server URL within
https://<your-roadie-tenant>.roadie.so/administration/integrations/github-enterprise
- The URL should have a value like
https://<your-roadie-tenant>.enginehouse.io
- The URL should have a value like
Next Steps
After setting up these configurations, you should be able to start setting up your catalog.