Class: Shipitron::Server::UpdateDeployRef

Inherits:
Object
  • Object
show all
Includes:
Metaractor, ConsulKeys
Defined in:
lib/shipitron/server/update_deploy_ref.rb

Instance Method Summary collapse

Methods included from ConsulKeys

#configure_consul_client!, #fetch_key, #fetch_key!, #set_key, #set_key!

Instance Method Details

#callObject



17
18
19
20
# File 'lib/shipitron/server/update_deploy_ref.rb', line 17

def call
  Logger.info "Updating deploy ref to #{docker_image.tag}"
  set_key!(key: deploy_ref_key, value: docker_image.tag)
end