Add chatops command for search migrations which fit criteria
Proposal
- Modify existing search migrations API to support the commands below.
- adding parameters to the existing
get all
endpoint to support getting pending or halted migrations - add a resume endpoint that takes a migration name or version. it should return an error if the migration is not halted
- determine if a new endpoint is needed to support getting the current migration, return a message if no migrations are running stating that
- adding parameters to the existing
- Create chatops commands to allow users to
-
chatops search migrations current
: get the current running migration -
chatops search migrations pending
: get a list of pending migrations -
chatops search migrations halted
: get any halted migrations -
chatops search migrations resume
: resume a halted migration
-
- Add an environment output to each chatops command. The feature flag command has
Host: gitlab.com
for production for example
Consider removing list
command since it will grow forever and has no ability to handle paging
Edited by Terri Chu