2018-08-10 02:45:01 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-17 20:01:56 -04:00
|
|
|
class MockDeploymentService < Service
|
|
|
|
default_value_for :category, 'deployment'
|
|
|
|
|
2017-04-05 07:04:34 -04: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-17 20:01:56 -04:00
|
|
|
|
|
|
|
def self.supported_events
|
|
|
|
%w()
|
|
|
|
end
|
|
|
|
|
|
|
|
def predefined_variables(project:)
|
|
|
|
[]
|
|
|
|
end
|
|
|
|
|
|
|
|
def can_test?
|
|
|
|
false
|
|
|
|
end
|
2017-04-05 07:04:34 -04:00
|
|
|
end
|