Modify auto_deploy status command to check deploy status of an MR
The goal of this MR is to give people unfamiliar with our deployment process a way to easily check which environments an MR has been deployed to. It also handles the situation where we cherry-pick an MR into an auto deploy branch to speed up deployment.
- This allows the auto_deploy status command to take an MR URL as argument. Example:
chatops run auto_deploy mr_status <MR_URL>
. - It checks which environments the MR merge commit has been deployed to.
- It uses the project search API to search for cherry-picked commits of the given MR. It then checks which environments the cherry-picked commit has been deployed to.
- The combination of the above two lists of environments, is the environments that the MR has been deployed to.
Edited by Reuben Pereira