summaryrefslogtreecommitdiff
path: root/lib/ci/gitlab_ci_yaml_processor.rb
Commit message (Collapse)AuthorAgeFilesLines
* use squre bracketShinya Maeda2017-06-081-1/+1
|
* Use source instead of trigger_requests in stage_seedsShinya Maeda2017-06-081-3/+1
|
* Remove source.nilShinya Maeda2017-06-081-3/+3
|
* Fix conditionShinya Maeda2017-06-081-3/+5
|
* Fix unmatches_pathShinya Maeda2017-06-081-6/+9
|
* Fix change in behaviorFilip Krakowski2017-06-081-8/+8
|
* Check if source is nilFilip Krakowski2017-06-081-1/+1
|
* Fix static-analysis offensesFilip Krakowski2017-06-081-1/+1
|
* Add all sources as special keywords for only and exceptFilip Krakowski2017-06-081-4/+11
|
* Use pipeline.source to determine what triggered a pipelineFilip Krakowski2017-06-081-16/+16
|
* Add 'schedules' keyword to 'only' and 'except'Filip Krakowski2017-06-081-14/+15
|
* Refine implementation of pipeline stage seedsGrzegorz Bizon2017-06-021-6/+9
|
* Return stage seeds object from YAML processorGrzegorz Bizon2017-05-311-6/+6
|
* Refine pipeline stages seeds classGrzegorz Bizon2017-05-311-1/+1
|
* Add stage seed class that represents attributesGrzegorz Bizon2017-05-301-2/+1
|
* Implement CI/CD config attributes for persisted stagesGrzegorz Bizon2017-05-301-2/+12
|
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ignore job by default if it is a manual actionGrzegorz Bizon2017-03-061-1/+1
| | | | | | | | | This makes it possible to maintain backwards compatibility with configs created when manual actions were non-blocking. From now manual actions are blocking if configured with `allow_failure: false`, otherwise manual actions are optional, and their status is ignored.
* Enable and autocorrect the CustomErrorClass copSean McGivern2017-03-011-1/+1
|
* Simplify coverage setting and comply to some requests in code reviewLeandro Camargo2017-01-251-1/+1
|
* Change expected `coverage` structure for CI configuration YAML fileLeandro Camargo2017-01-251-1/+1
| | | | | | | | | | | | | Instead of using: `coverage: /\(\d+.\d+%\) covered/` This structure must be used now: ``` coverage: output_filter: /\(\d+.\d+%\) covered/` ``` The surrounding '/' is optional.
* Comply to requests made in the review and adjust to the Entry/Node changesLeandro Camargo2017-01-251-1/+1
| | | | | | | | | | | | | This commit: * Turns `coverage_regex` into `coverage` entry in yml file * Fixes smaller requests from code reviewers for the previous commit * This commit is temporary (will be squashed afterwards) This commit does not (further commits will do though): * Add global `coverage` entry handling in yml file as suggested by Grzegorz * Add specs * Create changelog * Create docs
* Add ability to define a coverage regex in the .gitlab-ci.ymlLeandro Camargo2017-01-251-0/+1
| | | | * Instead of using the proposed `coverage` key, this expects `coverage_regex`
* Keep the value type for YAML variablesLin Jen-Shin2016-12-191-1/+1
| | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20235080
* Convert CI YAML variables keys into stringsLin Jen-Shin2016-12-151-1/+1
| | | | | | | So that this would be more consistent with the other variables, which all of them are string based. Closes #25554
* Improve naming convention in ci configuration modulefix/improve-naming-convention-in-ci-configGrzegorz Bizon2016-11-141-1/+1
|
* Add logical validation to gitlab-ci.ymlKamil Trzcinski2016-10-181-0/+30
|
* Expose jobs to viewKatarzyna Kobierska2016-09-301-3/+1
|
* Add missing values to linterKatarzyna Kobierska2016-09-301-0/+2
|
* Fix CI job environment configuration attributesGrzegorz Bizon2016-09-191-1/+1
|
* Add new CI configuration entry for the environmentGrzegorz Bizon2016-09-191-1/+2
|
* Merge branch 'refactor/ci-config-add-logical-validation' into 'master' Rémy Coutable2016-09-071-10/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass dependencies to CI configuration nodes ## What does this MR do? This MR makes it possible to pass dependencies to CI configuration nodes. ## What are the relevant issue numbers? See #15060 ## Does this MR meet the acceptance criteria? - Tests - [x] Added for this feature/bug - [x] All builds are passing See merge request !6009
| * Add method that returns commands for ci job entryGrzegorz Bizon2016-08-291-6/+1
| |
| * Do not override job nodes in legacy ci config codeGrzegorz Bizon2016-08-291-5/+5
| |
* | Code refactorKatarzyna Kobierska2016-09-071-0/+1
| |
* | Improve codeKatarzyna Kobierska2016-09-071-9/+6
| |
* | Code refactoringKatarzyna Kobierska2016-09-071-6/+10
| |
* | Change class method nameKatarzyna Kobierska2016-09-071-2/+2
| |
* | Add class method to encapsulate exceptionKatarzyna Kobierska2016-09-071-0/+9
|/
* Pre-create all builds for Pipeline when a trigger is receivedKamil Trzcinski2016-08-111-1/+1
| | | | | | | | | | | This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
* Move job dependencies entry to the new CI configGrzegorz Bizon2016-07-201-14/+10
|
* Add minor readability, style improvements in CI configGrzegorz Bizon2016-07-201-3/+2
|
* Merge branch 'master' into refactor/ci-config-move-job-entriesGrzegorz Bizon2016-07-201-34/+63
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (321 commits) Fix the Sentry spam from CSP violations by disabling it. Limit git rev-list output count to one in forced push check Ensure Owners are included in the scope for authorized_projects Fix alignment of icons on project page Fix ci_status_helper_spec to look for new SVGs use 2.0.5, actually (2.0.4 was a bad release) upgrade rouge to 2.0.4 Fix help page paths to make sure shortcuts and the UI help page work. fixes an issue cause by a bad merge Vertically align status icon within table Add new icons for every CI status Add global style for running icon Align running icon in merge request Add new running icon; add a bunch of styles to get svg to match existing fa icons Improve code design Fix broken builds_for_ref Move when tests before to make it no conflict with manual-actions Use value of `yaml_variables` and `when` from config_processor if undefined Add CHANGELOG entry CHANGELOG item ... Conflicts: lib/ci/gitlab_ci_yaml_processor.rb spec/lib/ci/gitlab_ci_yaml_processor_spec.rb
| * Improve code designKamil Trzcinski2016-07-191-1/+1
| |
| * Fix broken builds_for_refKamil Trzcinski2016-07-191-1/+1
| |
| * Use value of `yaml_variables` and `when` from config_processor if undefinedKamil Trzcinski2016-07-191-32/+33
| |
| * Add implementation of manual actionsKamil Trzcinski2016-07-181-2/+2
| |
| * Store when and yaml variables in builds tableKamil Trzcinski2016-07-161-15/+38
| |
* | Move job environment validation to new CI configGrzegorz Bizon2016-07-191-11/+0
| |
* | Move tags and allow_failure CI entries to new configGrzegorz Bizon2016-07-181-8/+0
| |