Search code examples
devopsoracle-cloud-infrastructuregithub-enterprise

Mirror Github Enterprise repository in Oracle Cloud Infrastructure DevOps repository


Is there a way to Mirror a repository hosted in Github Enterprise in an Oracle Cloud Infrastructure DevOps project? By default Oracle Cloud Infrastructure allows mirroring from github.com or gitlab


Solution

  • Great question, I am a Product Manager at Oracle Cloud working on DevOps ... we support mirroring (pull from Oracle DevOps) for the cloud versions of GitLab.com and GitHub.com and we're looking to support mirroring from GitHub Enterprise - its in our roadmap

    For now, I'd suggest you setup a mirror of your GitHub Enterprise repo: https://docs.github.com/en/repositories/creating-and-managing-repositories/duplicating-a-repository to a new OCI DevOps code repository using OCI auth (https or ssl)

    then write a cron job to periodically push updates