GitLab Bot
806b829e76
Add latest changes from gitlab-org/gitlab@master
2021-05-06 03:10:25 +00:00
GitLab Bot
6a3c4476fa
Add latest changes from gitlab-org/gitlab@master
2021-04-19 15:09:08 +00:00
GitLab Bot
413119517c
Add latest changes from gitlab-org/gitlab@master
2021-04-07 18:09:45 +00:00
GitLab Bot
bac259ea8b
Add latest changes from gitlab-org/gitlab@master
2021-03-10 18:09:32 +00:00
GitLab Bot
4a6e201d83
Add latest changes from gitlab-org/gitlab@master
2021-02-16 03:08:54 +00:00
GitLab Bot
3c53fbc50b
Add latest changes from gitlab-org/gitlab@master
2021-02-09 12:09:48 +00:00
GitLab Bot
990b7413bc
Add latest changes from gitlab-org/gitlab@master
2021-01-11 06:10:29 +00:00
GitLab Bot
94ccc6ad21
Add latest changes from gitlab-org/gitlab@master
2020-12-25 03:10:15 +00:00
GitLab Bot
ed7568cc80
Add latest changes from gitlab-org/gitlab@master
2020-10-16 09:09:06 +00:00
GitLab Bot
304e230182
Add latest changes from gitlab-org/gitlab@master
2020-09-01 18:10:48 +00:00
GitLab Bot
ce34395e91
Add latest changes from gitlab-org/gitlab@master
2020-07-13 12:09:18 +00:00
GitLab Bot
0a319374e7
Add latest changes from gitlab-org/gitlab@master
2020-07-08 06:09:13 +00:00
GitLab Bot
8e129497b2
Add latest changes from gitlab-org/gitlab@master
2020-03-17 15:09:10 +00:00
GitLab Bot
f78257cbdd
Add latest changes from gitlab-org/gitlab@master
2020-03-06 15:08:05 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
8cc5f27909
Add latest changes from gitlab-org/gitlab@master
2019-12-13 12:07:41 +00:00
GitLab Bot
6b75320f52
Add latest changes from gitlab-org/gitlab@master
2019-10-17 12:07:33 +00:00
GitLab Bot
2ed368929a
Add latest changes from gitlab-org/gitlab@master
2019-09-24 18:06:05 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Fabio Pitino
abceda6cc5
Prevent Billion Laughs attack
...
It keeps track of the memory being used when loading the YAML file
as well as the depth of nesting.
Track exception when YAML is too big
2019-07-02 06:23:06 +00:00
Kamil Trzciński
505d71ec88
Introduce default: for gitlab-ci.yml
...
This moves all existing `image/services/before_script/variables`
into `default:`. This allows us to easily add a default and
top-level entries. `default`: is keep backward compatible: to
be considered to be job if `default:script:` is specified. This
behavior should be removed.
All existing `image/services/before_script/variables` are properly
handled in root context.
2019-06-18 10:36:07 +00:00
Matija Čupić
7ac3723be0
Backport CE changes
...
Backports CE changes from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14011/
2019-06-17 21:53:09 +02:00
Sean McGivern
026896cca2
Merge branch 'require-all-templates-to-include-default-stages' into 'master'
...
Require all templates to use default stages
Closes #59992
See merge request gitlab-org/gitlab-ce!26954
(cherry picked from commit 39eb16aab2
)
e0df05cf
Require all templates to use default stages
2019-04-15 12:47:35 +02:00
Sean McGivern
e32c82ed1e
Revert "Merge branch 'require-all-templates-to-include-default-stages' into 'master'"
...
This reverts merge request !26954
2019-04-05 13:18:35 +00:00
Kamil Trzciński
e0df05cfbc
Require all templates to use default stages
...
Our templates are free to override the 'stages:'.
However, they should follow the convention to always include
'build', 'test', 'deploy' which are defaults when not defined.
2019-04-05 10:13:49 +02: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
gfyoung
06892e88f5
Enable frozen string for lib/gitlab/ci
...
Enables frozen string for the following:
* lib/gitlab/ci/*.rb
* lib/gitlab/ci/build/**/*.rb
* lib/gitlab/ci/config/**/*.rb
* lib/gitlab/ci/pipeline/**/*.rb
* lib/gitlab/ci/reports/**/*.rb
Partially addresses #47424 .
2018-10-26 16:36:42 -07:00
Grzegorz Bizon
2243f0e3de
Add IncludeError exception and use it in CI config
2018-10-18 11:07:32 +02:00
Grzegorz Bizon
5f502c3a82
Move external CI config class into proper namespace
2018-10-16 15:11:50 +02:00
Matija Čupić
7600a6469b
Stack rescue blocks for Gitlab::Ci::Config#initialize
2018-09-11 16:29:48 +02:00
Matija Čupić
df16969c24
Reconcile differences in lib/gitlab/ci
2018-09-08 14:55:36 +02:00
Matija Čupić
1e816a9721
Address MR suggestions
...
CE mirror of c4578b951e331fe8c75cd4f948ce74cec6587bad
2018-09-07 22:22:52 +02:00
Matija Čupić
3149b5cfea
Improve external architecture
...
CE mirror of 4f17c7b2c30188302e6a73421acbf5a09fb2c823
2018-09-07 22:03:05 +02:00
Matija Čupić
eca73d2b30
Address MR comments
...
CE mirror of 1269dc47b7f8d1a9913de326c9bd356d3e603663
2018-09-07 21:33:06 +02:00
Matija Čupić
95b296f8ac
Change ExternalFile to retrieve local file from repository instead of GitLab project
...
CE mirror of 03c6094997023d9c8875ced421a6c9ef39a4af44
2018-09-07 21:18:26 +02:00
Matija Čupić
cd72189fc0
Import external files in Gitlab CI config
...
CE mirror of a10b777f8cb1902bba3964a4cbad2b1dd6bce785
2018-09-07 21:00:52 +02:00
Matija Čupić
5f33690ebb
Load external files in config
...
CE mirror of 8e03a6619be44fdaf19a6c13284ea8e51377b311
2018-09-07 20:54:27 +02:00
Grzegorz Bizon
609cb3e0f7
Simplify classes and exceptions of extendable config
2018-09-05 10:08:12 +02:00
Grzegorz Bizon
9a4117ab5b
Add support for `extends` key in CI/CD configuration
2018-09-04 14:17:01 +02:00
Mayra Cabrera
56c95fb6a1
Changes ci/lints controller to use authorize before action
...
Also includes a comment on Ci::Config regarding that's going to be
override by EE
2018-03-26 17:03:12 -06:00
Mayra Cabrera
80f9aff34b
Make ci/lint page context aware:
...
- Create ci/lints controller inside project/
- Move js pages to be inside projects/
- Copy view ci/lint view to be inside project folder
- Remove ci/lint view and js files
Closes #43603
2018-03-26 17:03:11 -06:00
Grzegorz Bizon
bf25b5f69d
Remove CI config helper with same name as an entry
2016-11-18 14:30:27 +01:00
Grzegorz Bizon
c701468390
Improve naming convention in ci configuration module
2016-11-14 10:31:45 +01:00
Grzegorz Bizon
eaf211c2e3
Expose compose method in the ci config entry nodes
2016-08-25 13:49:15 +02:00
Grzegorz Bizon
4bb60b0789
Simplify CI config and remove logical validation
2016-07-15 21:39:26 +02:00
Grzegorz Bizon
1ac62de2c1
Extract CI entry node validator and improve naming
2016-07-08 12:51:47 +02:00
Grzegorz Bizon
9686a4f2b2
Remove code creating job hash from legacy CI config
2016-07-05 13:19:22 +02:00