Class: Gitlab::Ci::ProjectConfig::Remote
- Defined in:
- lib/gitlab/ci/project_config/remote.rb
Instance Method Summary collapse
Methods inherited from Source
Instance Method Details
#content ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/gitlab/ci/project_config/remote.rb', line 7 def content strong_memoize(:content) do next unless URI::DEFAULT_PARSER.make_regexp(%w[http https]).match?(ci_config_path) YAML.dump('include' => [{ 'remote' => ci_config_path }]) end end |
#internal_include_prepended? ⇒ Boolean
15 16 17 |
# File 'lib/gitlab/ci/project_config/remote.rb', line 15 def internal_include_prepended? true end |
#source ⇒ Object
19 20 21 |
# File 'lib/gitlab/ci/project_config/remote.rb', line 19 def source :remote_source end |