Skip to content

Include templates

Kamil Trzciński requested to merge include-templates into master

What does this MR do?

This MR allows to include bundled templates.

This introduces a syntax:

include:
  template: Auto-DevOps.gitlab-ci.yml

OR

include:
  - template: Auto-DevOps.gitlab-ci.yml

It also adds additional syntax for all existing includes:

include:
  remote: http://my-remote/file

OR

include:
  - remote: http://my-remote/file
include:
  local: /local/file.yml

OR

include:
  - local: /local/file.yml

What are the relevant issue numbers?

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/53445.

Does this MR meet the acceptance criteria?

Edited by Kamil Trzciński

Merge request reports