Commit Graph

34 Commits

Author SHA1 Message Date
GitLab Bot dc807ac0c5 Add latest changes from gitlab-org/gitlab@master 2025-04-11 09:13:06 +00:00
GitLab Bot 9834c4f706 Add latest changes from gitlab-org/gitlab@master 2024-10-04 18:23:16 +00:00
GitLab Bot 96dfc10639 Add latest changes from gitlab-org/gitlab@master 2024-03-06 15:09:47 +00:00
GitLab Bot 89db068a0a Add latest changes from gitlab-org/gitlab@master 2024-02-08 15:09:51 +00:00
GitLab Bot 3c55affa66 Add latest changes from gitlab-org/gitlab@master 2023-10-19 15:07:55 +00:00
GitLab Bot 07b1e26912 Add latest changes from gitlab-org/gitlab@master 2023-07-20 12:07:25 +00:00
GitLab Bot 173b547fb9 Add latest changes from gitlab-org/gitlab@master 2023-03-03 03:08:02 +00:00
GitLab Bot 2eff77c2ef Add latest changes from gitlab-org/gitlab@master 2023-02-03 21:08:05 +00:00
GitLab Bot 09b4875c00 Add latest changes from gitlab-org/gitlab@master 2022-12-20 12:09:21 +00:00
GitLab Bot 41b2e83ad6 Add latest changes from gitlab-org/gitlab@master 2022-10-12 18:10:44 +00:00
GitLab Bot 136ec65df5 Add latest changes from gitlab-org/gitlab@master 2022-09-21 18:10:44 +00:00
GitLab Bot 3034c7e6aa Add latest changes from gitlab-org/gitlab@master 2022-08-31 12:13:01 +00:00
GitLab Bot 7f08e6916d Add latest changes from gitlab-org/gitlab@master 2022-03-15 18:08:10 +00:00
GitLab Bot e43574ee83 Add latest changes from gitlab-org/gitlab@master 2022-03-10 21:08:21 +00:00
GitLab Bot 6ebe886c82 Add latest changes from gitlab-org/gitlab@master 2022-03-10 15:08:10 +00:00
GitLab Bot 733f1d8bb1 Add latest changes from gitlab-org/gitlab@master 2022-01-26 18:17:51 +00:00
GitLab Bot 39cb2fdf01 Add latest changes from gitlab-org/gitlab@master 2022-01-20 18:14:18 +00:00
GitLab Bot a5549176e1 Add latest changes from gitlab-org/gitlab@master 2021-08-23 06:09:01 +00:00
GitLab Bot d872c89ce4 Add latest changes from gitlab-org/gitlab@master 2021-08-16 15:10:05 +00:00
GitLab Bot fb994e98ec Add latest changes from gitlab-org/gitlab@master 2021-02-15 18:09:09 +00:00
GitLab Bot 0ff373dc41 Add latest changes from gitlab-org/gitlab@master 2020-12-15 15:09:59 +00:00
GitLab Bot ed7568cc80 Add latest changes from gitlab-org/gitlab@master 2020-10-16 09:09:06 +00:00
GitLab Bot 61d62a2960 Add latest changes from gitlab-org/gitlab@master 2020-08-07 15:10:17 +00:00
GitLab Bot a7608a4940 Add latest changes from gitlab-org/gitlab@master 2020-07-20 09:09:22 +00:00
GitLab Bot cb3e6b9c1b Add latest changes from gitlab-org/gitlab@master 2019-10-29 18:06:15 +00:00
GitLab Bot ad1e4b8fb8 Add latest changes from gitlab-org/gitlab@master 2019-10-21 15:05:58 +00:00
drew ac77bb9376 Introducing new Syntax for Ci::Build inclusion rules
- Added Gitlab::Ci::Config::Entry::Rules and Gitlab::Ci::Config::Entry::Rules:Rule
  to handle lists of Rule objects to be evalauted for job inclusion
- Added `if:` and `changes:` as available Rules::Rule::Clause classes
- Added Rules handling logic to Seed::Build#included? with extra specs
- Use DisallowedKeysValidator to mutually exclude rules: from only:/except: on job config
2019-08-20 20:03:43 +00:00
Kamil Trzciński 583544d089 Require `stage:` to be set with `needs:`
Since we are unsure what would be the behavior of `stage:`
when we work on DAG. Let's make `stage:` to be required
today with `needs:`.
2019-08-13 11:47:30 +02:00
Yoginth 2f6a20ce66 Fix typos in the whole gitlab-ce project 2019-05-20 14:11:44 +00:00
Paul 🐻 9f36097db2 fix(gitlab-ci-config): allow strings in the 'include' keyword
This fix is a followup to !24098 which introduced a validation of the
`include:` keyword of a gitlab-ci configuration file when triggered
from /ci/lint API calls.

However, there was a test case missing: the case of a single string as
value. I have added a test case for that which shows that the code was
not validating it correctly.

This commit fixes that to allow all `include:` valid inputs.
2019-04-05 06:44:33 +00:00
Kamil Trzciński 8a833c720e Allow to use untrusted Regexp via feature flag
This brings support for untrusted regexp for 'only:refs:' when
enabled via feature flag: alllow_unsafe_ruby_regexp.

This is by default disabled, and should not be used in production
2019-04-04 15:00:56 +00:00
Francisco Javier López 6ee1d8cf77 Add port section to CI Image object
In order to implement https://gitlab.com/gitlab-org/gitlab-ee/issues/10179
we need several modifications on the CI config file. We are
adding a new ports section in the default Image object.

Each of these ports will accept: number, protocol and name.

By default this new configuration will be only enabled in
the Web IDE config file.
2019-04-03 09:50:54 +00:00
Kamil Trzciński b22287f00f Make CI refs matching to to use UntrustedRegexp
This makes ref validation to use always `UntrustedRegexp`.
This also splits the existing RubySyntax into separate
class.
2019-03-15 14:38:28 +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