Search code examples
amazon-web-servicesgithubaws-codepipelinegithub-enterprise

Integrating Github Enterprise with AWS Codepipeline


I have a repository in a [company hosted] GitHub enterprise site that I need to integrate within a CI/CD pipeline in AWS using the CodePipeline service. The CodePipeline service then will connect with a Jenkins Service running in an EC2 instance. I am following this AWS documentation to do this.

Note that this is an enterprise GitHub repo and not hosted on GitHub.com.

I am unable to connect to the GitHub Enterprise site in the "Create a pipeline" wizard. Selecting GitHub as a source only lets me connect to GitHub.com, and not to my organization's enterprise site.

How do I connect to the enterprise GitHub site so that I can add the repo as a source for my codepipeline?


Solution

  • The official integration was finally released.

    https://aws.amazon.com/about-aws/whats-new/2020/09/aws-codepipeline-supports-github-enterprise-server

    Here is the documentation:

    https://docs.aws.amazon.com/codepipeline/latest/userguide/connections-ghes.html