mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
25 lines
453 B
Ruby
25 lines
453 B
Ruby
# 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
|
|
|
|
# Bridge.yaml_for_downstream injects an `include`
|
|
def internal_include_prepended?
|
|
true
|
|
end
|
|
|
|
def source
|
|
:bridge_source
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|