Add update_or_create_deployment to GitlabClient
This is foundational work for gitlab-com/gl-infra/delivery#556 (closed).
It will be useful in order to create running
deployments in addition to success
ful deployments like we do now.
b767137f - Update create_deployment signature to use keyword args
83500b20 - Add update_or_create_deployment to GitlabClient
This will allow us to easily update an existing deployment from
running
to success
based on ref and SHA matching.
Updates our implementation of deployments
to use the gem.
8fee38ec - Remove default success
value from deployments
method
With the future addition of tracking running and failed deployments, we should be explicit when we only want to work with successful deployments.