Commit graph

11 commits

Author SHA1 Message Date
GitLab Bot
2ed368929a Add latest changes from gitlab-org/gitlab@master 2019-09-24 18:06:05 +00:00
Stan Hu
bf50573710 Fix 500 error in CI lint when included templates are an array
Previously the following syntax would fail in the linter with an
error 500:

```
include:
  template:
    - License-Management.gitlab-ci.yml
    - Dependency-Scanning.gitlab-ci.yml
    - SAST.gitlab-ci.yml
```

Now the error will call out specifically that the value
is not a string.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66605
2019-08-31 04:38:12 -07:00
Kamil Trzciński
c78861bc42 Allow to recursively expand includes
This change introduces a support for nesting the includes,
allowing to evaluate them in context of the target,
by properly respecting the relative inclusions and user permissions
of another projects, or templates.
2019-03-01 15:55:53 +01:00
Kamil Trzciński
c4d615c9dc Allow to include files from another projects
This adds `project:, file:, ref:` specification support.
2019-01-07 09:38:05 +01:00
Kamil Trzciński
a8c5096026 Allow to include templates
This rewrites a syntax to allow include of templates.
This also normalises the syntax used by include: feature
2019-01-04 15:22:41 +01:00
Kamil Trzciński
64b1044e7a ci/config: generalize Config validation into Gitlab::Config:: module
This decouples Ci::Config to provide a common interface for handling
user configuration files.
2018-11-29 16:09:18 +01:00
Grzegorz Bizon
380f63bf8d Improve remote CI/CD config file extension validation 2018-10-19 16:38:09 +02:00
Grzegorz Bizon
7977a20bb4 Extend error message in case of HTTP errors in include 2018-10-19 16:16:30 +02:00
Grzegorz Bizon
39dac14e9c Refactor include code and improve error reporting 2018-10-18 14:13:26 +02:00
Grzegorz Bizon
5f502c3a82 Move external CI config class into proper namespace 2018-10-16 15:11:50 +02:00
Grzegorz Bizon
7acc6340c1 Move external CI config files into Ci class context 2018-10-16 15:04:32 +02:00
Renamed from lib/gitlab/ci/external/file/base.rb (Browse further)