Shared config across projects in an org

Customer request:

Does circle have the ability to share snippets of code/jobs/workflows across multiple repos? As our organization grows its going to be harder and harder to maintain all build configs across multiple repos. Wondering if there is functionality to share templates across repos. Like a master circle file that all repos can inherit? Is there a feature request for that?

  • Joseph Becher
  • Sep 22 2017
  • Shipped
  • Attach files
  • Travis Beauvais commented
    March 13, 2018 22:15

    This would be really great to have, Would be nice if we could define multiple configurations and save them in the CircleCI UI. Then in config.yml just reference which config we want to use or even make that a setting on the project.

  • Piotr Kowalczuk commented
    May 04, 2018 09:07

    Lack of this feature is important point in many conversations I had regarding moving from Jenkins to CIasS. 

    As a developer I love what circleci allow to do, but I completely understand any OP that refuse to migrate.

  • Admin
    Rishi Kumar commented
    May 04, 2018 11:50

    We are actively working on this feature!

  • Luciano Fantone commented
    October 09, 2018 18:52

    It will be nice if the config could be hosted in CircleCI or even fetch from a custom place such as an S3 bucket.

  • Steven Nemetz commented
    October 12, 2018 20:46

    Reusable shared code is a new feature in v2.1 called orb

  • Nathan Dintenfass commented
    November 07, 2018 20:31

    We launched Orbs, which should address this need in most cases:

  • Nathan Dintenfass commented
    November 07, 2018 20:33

    Also, for those who need private sharing be sure to vote for this idea: