summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci
Commit message (Collapse)AuthorAgeFilesLines
* Improve variables supportimprove-variables-supportKamil Trzciński2018-11-191-2/+2
| | | | | | This ensures that variables accept only string, alongside also improves kubernetes_namespace, improving validation and default value being set.
* Limit parallel to 100limit-parallel-to-100Kamil Trzciński2018-11-081-0/+10
| | | | This prevents some of the abusive behaviors, of someone putting 100000 and creating out of memory condition easily
* Merge branch 'max_retries_when' into 'master'Grzegorz Bizon2018-11-073-42/+239
|\ | | | | | | | | | | | | Allow to configure when to retry builds Closes gitlab-runner#3515 See merge request gitlab-org/gitlab-ce!21758
| * fix merge conflictMarkus Doits2018-11-071-356/+0
| |
| * change forgotten constant in spec to match codeMarkus Doits2018-11-071-1/+1
| |
| * fix failing specs due to latest changesMarkus Doits2018-11-071-2/+2
| |
| * refactoring after latest feedbackMarkus Doits2018-11-071-58/+111
| |
| * fix wrong retry error messagesMarkus Doits2018-11-071-2/+2
| |
| * refactor validations to a Entry::Retry classMarkus Doits2018-11-072-1/+364
| |
| * add a test that checks that retry when values in documentation are validMarkus Doits2018-11-071-1/+27
| |
| * refactor for hopefully lower cognitive complexityMarkus Doits2018-11-071-1/+1
| | | | | | | | | | | | | | | | before: - Method `validate_retry` has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. - Method `validate_retry_max` has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. - Method `validate_retry_when` has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring.
| * fix allowed keys validator to use correct attribute as error base?Markus Doits2018-11-071-1/+1
| |
| * update job config validator to validate new retry syntaxMarkus Doits2018-11-071-19/+130
| |
* | Return untouched hash if no job is parallelizedMatija Čupić2018-11-071-0/+8
|/
* Merge branch '21480-parallel-job-keyword-mvc' into 'master'Grzegorz Bizon2018-11-073-2/+116
|\ | | | | | | | | | | | | Resolve "`parallel` job keyword MVC" Closes #21480 See merge request gitlab-org/gitlab-ce!22631
| * Add additional specs for Normalizer21480-parallel-job-keyword-mvcMatija Čupić2018-11-061-0/+14
| |
| * Use instance based approach for NormalizerMatija Čupić2018-11-061-1/+1
| |
| * Refactor Normalizer specsMatija Čupić2018-11-061-10/+2
| |
| * Refactor Gitlab::Ci::Config::NormalizerMatija Čupić2018-11-051-1/+11
| | | | | | | | Use Hash#each_with_object to manipulate job hashes.
| * Use instance based approach for NormalizerMatija Čupić2018-11-051-1/+1
| |
| * Make Rubocop and Danger happyMatija Čupić2018-11-021-0/+2
| |
| * Move parallelized node index to job optionsMatija Čupić2018-11-012-5/+17
| |
| * Add Normalizer specsMatija Čupić2018-11-011-0/+36
| |
| * Parallelize jobs in Gitlab::Ci::YamlProcessorMatija Čupić2018-11-011-17/+4
| |
| * Revert Seed based parallelization implementationMatija Čupić2018-10-301-56/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Add Build seed specs" This reverts commit 03bc722ea1797a6b2b09f2897215477f5b269632. Revert "Add build specs" This reverts commit c2d49565cf787c592c4f8bd9f24843babd2a6c9a. Revert "Refactor parallelization implementation" This reverts commit 72430483ded51e9a7d01ef70c3dce3dda174fac1. Revert "Implement POC for job parallelization" This reverts commit 44b740f99dfe6a4344c918fd4c94972aa6f9237e.
| * Change minimum parallel value to 2Matija Čupić2018-10-272-5/+5
| |
| * Add Build seed specsMatija Čupić2018-10-271-3/+56
| |
| * Add YamlProcessor specsMatija Čupić2018-10-271-0/+32
| |
| * Add parallel keyword to CI configMatija Čupić2018-10-261-2/+31
| |
* | Add placeholder for remaining time in delayed job tooltipsWinnie Hellmann2018-11-071-17/+3
| |
* | Fix invalid artifact path for codequalityfix-codequalityKamil Trzciński2018-11-051-1/+1
| |
* | Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'Achilleas Pipinellis2018-11-013-3/+3
|\ \ | | | | | | | | | | | | Fix typos in comments and specs See merge request gitlab-org/gitlab-ce!22683
| * | Fix typos in comments and specsGeorge Tsiolis2018-11-013-3/+3
| |/
* | Renaming Secret Variables in the codebaseMarcel Amirault2018-10-301-1/+1
|/
* Merge branch 'support-license-management-and-performance' into 'master'Grzegorz Bizon2018-10-231-0/+2
|\ | | | | | | | | Support licenses and performance See merge request gitlab-org/gitlab-ce!22175
| * Support licenses and performancesupport-license-management-and-performanceKamil Trzciński2018-10-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | This introduces a new syntax for all licenses and performance jobs: ```yaml job: reports: performance: performance.json license_management: gl-license-management-report.json ```
* | Merge branch 'sh-pages-eof-error' into 'master'Grzegorz Bizon2018-10-231-0/+30
|\ \ | | | | | | | | | | | | | | | | | | Fix EOF detection with CI artifacts metadata Closes #36954 See merge request gitlab-org/gitlab-ce!22479
| * | Add a spec that generates the metadata dynamicallysh-pages-eof-errorStan Hu2018-10-191-0/+30
| | |
* | | Merge branch 'feature/gb/improve-include-config-errors-reporting' into 'master'Douwe Maan2018-10-226-23/+126
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Improve validation errors for external CI/CD configuration Closes #51369 See merge request gitlab-org/gitlab-ce!22394
| * | | Improve specs for abstract remote `include` filefeature/gb/improve-include-config-errors-reportingGrzegorz Bizon2018-10-221-4/+4
| | | |
| * | | Improve error message when `include` is blockedGrzegorz Bizon2018-10-221-0/+9
| | | |
| * | | Improve remote CI/CD config file extension validationGrzegorz Bizon2018-10-191-0/+52
| | | |
| * | | Extend error message in case of HTTP errors in `include`Grzegorz Bizon2018-10-191-3/+37
| | | |
| * | | Refactor `include` code and improve error reportingGrzegorz Bizon2018-10-184-6/+9
| | | |
| * | | Extract method that fetchesremote CI/CD included configGrzegorz Bizon2018-10-181-2/+2
| | | |
| * | | Add IncludeError exception and use it in CI configGrzegorz Bizon2018-10-181-1/+1
| | | |
| * | | Move external CI config class into proper namespaceGrzegorz Bizon2018-10-165-12/+17
| | | |
| * | | Move external CI config files into Ci class contextGrzegorz Bizon2018-10-164-0/+0
| |/ /
* | | Merge branch 'drop-allow_overflow-option-duration_in_numbers' into 'master'Grzegorz Bizon2018-10-221-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Drop allow overflow option duration in numbers Closes #52284 See merge request gitlab-org/gitlab-ce!22246
| * | Fix specdrop-allow_overflow-option-duration_in_numbersShinya Maeda2018-10-181-2/+2
| |/