Adds ability to find green masters and trigger builds
- Adds a set of rake tasks with the ability to trigger deploys based on being
able to find a green build
- Contains a defaulted dry run option
be rake green_master:ce
- To execute the build:
be rake green_master:ce[true]
- Provides a namespaced grouping of tasks:
ee
,ce
,all
- Contains a defaulted dry run option
- Brings in a few new items into the gitlab_client allowing me to muck with commits, pipelines, and triggers
- Uses the Commit API as I learned the Pipelines API doesn't necessarily contain the latest green master build for some reason
- Uses a method to monitor the pipeline in order to wait so that we can then trigger a staging deploy afterwards without fear that our package will or will not be available as the
ominibus_gitlab
pipeline takes care of that entire chunk of work
This is the start of addressing: https://gitlab.com/gitlab-org/release/framework/issues/161
Edited by John Skarbek