Propagate project environment state
Overview
The GitLab Environments API exposes the states
field.
However it's not passed when creating/updating environments.
This may result in non-active environments migrating as active
.
To align the state one may use an additional POST request to stop and environment.
Tasks
-
Update docs if needed (workflow, runbooks, README, migration metrics, etc.)
Acceptance Criteria
-
Existing UTs pass locally -
100% code coverage on new code
@gitlab-org/professional-services-automation/tools/migration