2018-08-10 06:45:01 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-18 00:01:56 +00:00
|
|
|
class MockDeploymentService < Service
|
|
|
|
default_value_for :category, 'deployment'
|
|
|
|
|
2017-04-05 11:04:34 +00:00
|
|
|
def title
|
|
|
|
'Mock deployment'
|
|
|
|
end
|
|
|
|
|
|
|
|
def description
|
|
|
|
'Mock deployment service'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.to_param
|
|
|
|
'mock_deployment'
|
|
|
|
end
|
|
|
|
|
|
|
|
# No terminals support
|
|
|
|
def terminals(environment)
|
|
|
|
[]
|
|
|
|
end
|
2019-06-18 00:01:56 +00:00
|
|
|
|
|
|
|
def self.supported_events
|
|
|
|
%w()
|
|
|
|
end
|
|
|
|
|
|
|
|
def predefined_variables(project:)
|
|
|
|
[]
|
|
|
|
end
|
|
|
|
|
|
|
|
def can_test?
|
|
|
|
false
|
|
|
|
end
|
2017-04-05 11:04:34 +00:00
|
|
|
end
|