Add optional environment flags to the auto_deploy status chatops command
Problem statement
Now that we have two additional staging environments (gstg-cny and Staging-ref) the auto_deploy status output is getting very long and often contains information that isn't needed.
Proposal
I suggest we maintain the current output but also add optional flags to allow the requester to select a specific environment. Output should show the current status and any ongoing deployments to the selected environment.
For example:
- </chatops run auto_deploy status> returns the full output as shown below
- </chatops run auto_deploy status --gprd> returns only the current and any ongoing deployments gprd
Add support for:
-
gprd -
gprd-cny -
gstg -
gstg-cny -
staging-ref
As a later iteration, we could also combine flags to request the status of several environments.
Current output
Edited by Amy Phillips