CircleCI Ideas

Clone and modify Contexts and their variables via API

We've been using Contexts for a bit now, and I'm glad for them, however, managing the creation and updating of them is too manual and error prone. I'd like to be able to clone one, then update it with a simple json type post request. This would save enormous amounts of time. In our use case, I have a generic application intended to be built in several variants, where each variant needs it's own context and set of variables, and these are based on branches. So, same code, same application basically, but deployed, branded and themed differently for each instance. Having to manually create a new context, and then add up to thirty (and counting) different vars for each is a PITA, so I think this would be quite useful. Thanks. 

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Nov 13 2019
  • Duplicate
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    14 Nov, 2019 08:22pm

    I searched and already looked at that suggestion, and I don���t feel it���s a duplicate, aside from a generic ask for api to manage contexts.

    William Hatch
    Software Engineer

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    14 Nov, 2019 07:57pm

    Please vote and add commentary to -- going to close this as a duplicate of that.