summaryrefslogtreecommitdiff
path: root/app/models/concerns/ci/processable.rb
blob: 8edffb14a300fff11c901d3095ef1586cc9f0632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# frozen_string_literal: true

module Ci
  ##
  # This module implements methods that need to be implemented by CI/CD
  # entities that are supposed to go through pipeline processing
  # services.
  #
  #
  module Processable
    def schedulable?
      raise NotImplementedError
    end

    def action?
      raise NotImplementedError
    end

    def artifacts?
      raise NotImplementedError
    end

    def expanded_environment_name
      raise NotImplementedError
    end
  end
end