Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bridge.rb « content « config « chain « pipeline « ci « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 39ffa2d4e257f35cc10f2555212afc75ccc88e21 (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
# frozen_string_literal: true

module Gitlab
  module Ci
    module Pipeline
      module Chain
        module Config
          class Content
            class Bridge < Source
              def content
                return unless @command.bridge

                @command.bridge.yaml_for_downstream
              end

              def source
                :bridge_source
              end
            end
          end
        end
      end
    end
  end
end