Fetches the pending post migrations artifact
What does this MR do and why?
Fetches the pending post migrations artifact via API by:
- Fetch the pipelines triggered by the
release-tools-bot
on therelease/tools
project - Search for the
build-post-deploy-migrations-artifact
job - Once the job has been found download the artifact.
Previous approach was unreliable given it's not accurate to search a build by name nor to rely on the status of it.
This commit also renames the PostDeployMigrations::List
class to Artifact
to make it more descriptive
Related to gitlab-com/gl-infra/delivery#2362 (closed)
Author Check-list
- [-] Has documentation been updated?
Edited by Mayra Cabrera