GitHub
Only organization Admins can create, edit and delete integrations.
Link your model objects to reality, such as code repos, branches, folders and files. When those links move, change names or get deleted, weโll notify you that the object may need to be updated in your IcePanel landscape.
Learn more here: Linking to reality
Using GitHub
Setting up GitHub
From your landscape homepage, click on the organization dropdown at the top of the navigation bar
Click on the
Manage
link for the organization you want to setupGo to the
Integrations
tabClick on the
New integration button
and selectGitHub
Log in to GitHub and install IcePanel as an app (you may need a GitHub admin to approve the app installation)
Select the repos or branches you wish to give access to
Accept to install
You should now see your code repos in the
Links
section of an object
Unlinking your GitHub
You can unlink the integration from IcePanel or GitHub.
Log into GitHub from an account that has access to the linked repo
Go to your
Settings
Go to the
Applications
tab on the leftMake sure you are on the
Installed GitHub Apps
tabClick
Configure
on IcePanel in that listClick
Uninstall
in the Danger zone.
Whitelist the IcePanel repo scanner
You may find that no code repos show if your organization has enabled IP filtering or whitelisting in your BitBucket Server instance. To resolve this whitelist the IcePanel repo scanner IP address:
34.168.47.236
Using self-hosted GitHub
IcePanel uses access tokens to authenticate with self-hosted GitHub instances.
Create one of the following GitHub access tokens with repo scopes.
Navigate to
API keys
in IcePanel by clickingManage
in the organization dropdownCreate an API key with admin permissions
Run the IcePanel CLI docker image in github-sync mode with the following parameters
Or with environment variables.
Once the synchronization is complete you should see your code repos in the IcePanel reality tab.
CLI command reference
Self-signed certificates
To use a self signed the certificates NODE_TLS_REJECT_UNAUTHORIZED=0
must be specified as an environment variable to the CLI container.
Last updated