Customer Portal

Get Involved. Join the Conversation.

Topic

    Simon Kay
    Automating Staging/Promoting API maybe?
    Topic posted March 9, 2018 by Simon KayBronze Medal: 1,250+ Points, last edited March 9, 2018 
    85 Views, 3 Comments
    Title:
    Automating Staging/Promoting API maybe?
    Content:

    Hey Peoples,

    A while ago I inherited the management of our CP from forgotten engineers who have disappeared eons ago and with them a lot of knowledge was lost. I remember we managed the Promotion and Staging of the CP from external scripts and would like to figure out how this was done. Is there an API to poke, maybe some documentation? Any assistance would be greatly appreciated!

    Thanks,

    Simon

    Version:
    CP 3.6

    Comment

     

    • Rajan Davis

      Theoretically, this is possible; however, in my opinion, this seems like a nightmare to figure out and maintain.

      I am all for automation and enabling developers, but I think for how the portal works today, it's probably better to use the admin panel/agent console and visually confirm what you are promoting.

      I think where this idea falls flat is in cases where promoting fails. 

      This is already a fairly annoying task to get through within the admin panel/agent console, I would hate to troubleshoot in a terminal session...

      If you have existing scripts, I would be more than happy to take a look, but I would strongly recommend using the admin panel/agent console for these purposes.

    • Luuk

      I agree with Rajan,

      It's better to do this by hand so you maintain more control over the process!

    • Simon Kay
      Rajan Davis said:

      Theoretically, this is possible; however, in my opinion, this seems like a nightmare to figure out and maintain.

      I am all for automation and enabling developers, but I think for how the portal works today, it's probably better to use the admin panel/agent console and visually confirm what you are promoting.

      I think where this idea falls flat is in cases where promoting fails. 

      This is already a fairly annoying task to get through within the admin panel/agent console, I would hate to troubleshoot in a terminal session...

      If you have existing scripts, I would be more than happy to take a look, but I would strongly recommend using the admin panel/agent console for these purposes.

      View original

      See we have like 10 interfaces on each of our Test, Dev and Production environments. I'd like to push a button and have code pulled from out Git down to our test and dev environments then staged and promoted each morning to keep only checked in code being present. The CP Staging and promotion system is pretty barebones, slow and just pain to use. I would far prefer to troubleshoot the rare promotion failure than to sitting with 10 tabs open slowly clicking through a staging process.