Extract deployer logic into a module
What does this MR do?
Deployer logic was extracted into a module that can be shared across multiple classes. Two methods need to be implemented:
-
#trigger_ref
: Indicates deployer branch -
#deploy_environment
: Indicates the environment to deploy to
Currently, only one class uses this module
(ReleaseTools::Tasks::AutoDeploy::Deploy
), which triggers a deployment
to all environments. Later on, different classes will be added to
trigger individual deployments to staging, canary and prod.
First step of gitlab-com/gl-infra/delivery#1578 (closed),