Commit Graph

14 Commits

Author SHA1 Message Date
GitLab Bot e14148b7ed Add latest changes from gitlab-org/gitlab@master 2020-09-17 15:09:24 +00:00
GitLab Bot 0ca5c1a237 Add latest changes from gitlab-org/gitlab@master 2020-07-29 18:09:50 +00:00
drew cimino 0ca1e51cf5 Removing ci_variables_complex_expressions feature flag and deprecated code branches 2019-07-12 20:20:44 -04:00
drew cimino f3b2dde8e2 Enabled complex ci variable expression statements by default 2019-06-20 11:53:21 -04:00
drew cimino cbb05dcad9 Disable CI variable complex expressions by default 2019-06-13 06:29:41 -07:00
drew cimino cfaac75322 && and || operators for CI Pipeline expressions.
Refactored regex pattern matching to eagerly return tokens

Packaged behind a default-enabled feature flag and added operator documentation.
2019-06-04 19:03:24 -05: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 c6ea7a2a13 Add a comment to expressions parser tree method 2018-03-01 12:23:27 +01:00
Grzegorz Bizon 3938d1c3a0 Robustify pipeline expressions nodes parser 2018-02-27 10:39:35 +01:00
Grzegorz Bizon 8c7374cafc Add operator / value types in pipeline expressions 2018-02-23 10:13:43 +01:00
Grzegorz Bizon 8517627410 Move pipeline expression lexemes to a separate module 2018-02-23 10:01:27 +01:00
Grzegorz Bizon 5ee43097fd Simplify pipelines expression parser 2018-02-23 09:52:34 +01:00
Grzegorz Bizon 6fe4d2c6f0 Build a recursive parser for pipeline expressions 2018-02-22 16:04:18 +01:00
Grzegorz Bizon 867a4f68cb Extract pipeline expressions parser to a separate class 2018-02-22 13:54:22 +01:00