summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/project_config/bridge.rb
blob: c342ab2c215b2f87fb07b7a13867256c9b06c497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Gitlab
  module Ci
    class ProjectConfig
      class Bridge < Source
        def content
          return unless pipeline_source_bridge

          pipeline_source_bridge.yaml_for_downstream
        end

        def source
          :bridge_source
        end
      end
    end
  end
end