Atlantis: Add "Unlock All" button to the UI

Created on 6 Mar 2019  路  3Comments  路  Source: runatlantis/atlantis

Currently when we upgrade Atlantis, existing plans are lost (immutable infrastructure). To make this a bit less disruptive to people with open PRs, I have been going in and manually releasing the locks on each one through the UI. Atlantis adds a comment on each PR stating that plan will need to be re-run.

It would be nice if either:

1) there was the option to "release all locks" through the UI and/or terminal
2) there was an option to have Atlantis automatically do this when it is being shut down

(This is a stop gap measure until a persistent storage mechanism is in place so that restarting/recreating the Atlantis server doesn't result in data loss.)

feature help wanted

Most helpful comment

I don't like the idea of automatically unlocking them on shutdown because if you're persisting the disk then you don't need that to happen.

I think an "unlock all" button on the UI would be the best approach.

All 3 comments

Are you just unlocking them so they get the comment on the pull request that they need to re-plan and aren't confused why an apply fails later?

Are you just unlocking them so they get the comment on the pull request that they need to re-plan and aren't confused why an apply fails later?

Yes.

I don't like the idea of automatically unlocking them on shutdown because if you're persisting the disk then you don't need that to happen.

I think an "unlock all" button on the UI would be the best approach.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

richstokes picture richstokes  路  3Comments

atlantisbot picture atlantisbot  路  4Comments

ojacobson picture ojacobson  路  5Comments

natalysheinin picture natalysheinin  路  3Comments

sstarcher picture sstarcher  路  4Comments