Redeploying to a stopped environment does not transition the environment back to active
Summary
I discovered when I accidentally deleted the BETA environment for our project. Our BETA environment doesn't have any stop actions, so nothing was affected in the actual BETA environment. However, now the BETA environment shows in the UI in the stopped list.
I wanted to get BETA back on the active environment list... So, I successfully completed a new BETA deployment, which I figured would restore it as an active environment. Nope. Didn't work.
Steps to reproduce
- Stop an environment
- Find it in the stopped environments list
- Redeploy it
- Verify the job completed successfully
What is the current bug behavior?
Despite redeployment, the environment still shows as stopped.
What is the expected correct behavior?
When a deployment occurs, it could be spinning up hardware resources, etc. Therefore, the environment should show as active.
Affects Version
We are running GitLab on prem, version 12.4.2-ee.