Atlantis: UI should allow creating a lock for maintenance/upgrade purposes

Created on 31 Oct 2018  路  3Comments  路  Source: runatlantis/atlantis

It would be nice if say when you are doing an update/upgrade of atlantis to create a lock so that anyone trying to submit pull requests will be notified of it, While you could open a PR or the api to do this it feels like it would be a more natural process to perform through the UI.

feature help wanted

Most helpful comment

I was just about to file a task on this exact issue.

Ideally, when you enable it existing plans/applies would continue until finished but no new ones would be accepted until maintenance mode is turned back off. This would allow for a graceful shutdown when you need to kill or restart the underlying pod/VM/server/coffee pot that you're running Atlantis on.

In a perfect world, this would be exposed via some RESTful API so it could be scripted :)

All 3 comments

This lock would be for all of Atlantis right? We could call it "maintenance mode".

I was just about to file a task on this exact issue.

Ideally, when you enable it existing plans/applies would continue until finished but no new ones would be accepted until maintenance mode is turned back off. This would allow for a graceful shutdown when you need to kill or restart the underlying pod/VM/server/coffee pot that you're running Atlantis on.

In a perfect world, this would be exposed via some RESTful API so it could be scripted :)

I think this would help with our upgrade process that I described here: https://github.com/runatlantis/atlantis/issues/320#issuecomment-524968835

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rverma-jm picture rverma-jm  路  3Comments

ojacobson picture ojacobson  路  5Comments

ldormoy picture ldormoy  路  6Comments

natalysheinin picture natalysheinin  路  3Comments

kipkoan picture kipkoan  路  3Comments