Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-20Introducing new Syntax for Ci::Build inclusion rulesdrew
- 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-13Require `stage:` to be set with `needs:`Kamil Trzciński
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-01Add support for DAGKamil Trzciński
This implements the support for `needs:` keyword as part of GitLab CI. That makes some of the jobs to be run out of order.
2019-07-26Add frozen_string_literal to spec/lib (part 1)Thong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-06-18Introduce default: for gitlab-ci.ymlKamil Trzciński
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-05Add multiple extends supportWolphin
2019-06-03Merge dev.gitlab.org master into GitLab.com masterYorick Peterse
2019-06-01Fix port validations in .gitlab-webide.ymlFrancisco Javier López
2019-05-30Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan
Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.
2019-04-15catching and cleanly reporting SSL errors in Ci::Config::External::Processordrew cimino
2019-04-09Add environment url validationWolphin
2019-04-05Autocorrect with RSpec/ExampleWording copThong Kuah
- rewords examples starting with 'should' - rewords examples starting with 'it' Note: I had to manually fixup "onlies" to "only"
2019-04-04Allow to use untrusted Regexp via feature flagKamil Trzciński
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-03Add port section to CI Image objectFrancisco Javier López
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-03-01Allow to recursively expand includesKamil Trzciński
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-02-19tests(yaml_processor): complete test scenarios on 'include' keywordPaul B
2019-01-15Make default config entry value configurableGrzegorz Bizon
Introduce `default:` configuration entry setting that makes it possible to configure a default value of an entry, what overrides class-level `def self.default` value.
2019-01-14Fix specs related to emtpy `except` policy configGrzegorz Bizon
2019-01-14Add more specs for only/except policy config entryGrzegorz Bizon
2019-01-09Add specs for both parallel and regular job depsMatija Čupić
2019-01-07Merge branch 'include-project' into 'master'Grzegorz Bizon
Allow to include another project files Closes #53903 See merge request gitlab-org/gitlab-ce!24101
2019-01-07Allow to include files from another projectsKamil Trzciński
This adds `project:, file:, ref:` specification support.
2019-01-06Merge branch 'kamil-refactor-ci-builds-v5' into 'master'Grzegorz Bizon
Use BuildMetadata to store build configuration in JSONB form See merge request gitlab-org/gitlab-ce!21499
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
2019-01-04Allow to include templatesKamil Trzciński
This rewrites a syntax to allow include of templates. This also normalises the syntax used by include: feature
2019-01-01Remove gem install bundler from Docker-based Ruby environmentsTakuya Noguchi
bundler gem has been included in the Docker official Ruby image since 2.1. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-12-13Re-define default only except policyKamil Trzciński
2018-12-04Define the default value for only/except policiesShinya Maeda
Currently, if a job does not have only/except policies, the policy is considered as an unspecified state, and therefore the job is executed regardless of how it's executed and which branch/tags are targetted. Ideally, this should be specified as only: ['branches', 'tags'], as it indicates that unspecified policy jobs are meant to run on any git references.
2018-11-29ci/config: generalize Config validation into Gitlab::Config:: moduleKamil Trzciński
This decouples Ci::Config to provide a common interface for handling user configuration files.
2018-11-21Eliminate duplicated wordsTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-15Fix typos in libGeorge Tsiolis
2018-11-08Limit parallel to 100Kamil Trzciński
This prevents some of the abusive behaviors, of someone putting 100000 and creating out of memory condition easily
2018-11-07Merge branch 'max_retries_when' into 'master'Grzegorz Bizon
Allow to configure when to retry builds Closes gitlab-runner#3515 See merge request gitlab-org/gitlab-ce!21758
2018-11-07fix merge conflictMarkus Doits
2018-11-07change forgotten constant in spec to match codeMarkus Doits
2018-11-07refactoring after latest feedbackMarkus Doits
2018-11-07fix wrong retry error messagesMarkus Doits
2018-11-07refactor validations to a Entry::Retry classMarkus Doits
2018-11-07add a test that checks that retry when values in documentation are validMarkus Doits
2018-11-07refactor for hopefully lower cognitive complexityMarkus Doits
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.
2018-11-07fix allowed keys validator to use correct attribute as error base?Markus Doits
2018-11-07update job config validator to validate new retry syntaxMarkus Doits
2018-11-07Return untouched hash if no job is parallelizedMatija Čupić
2018-11-07Merge branch '21480-parallel-job-keyword-mvc' into 'master'Grzegorz Bizon
Resolve "`parallel` job keyword MVC" Closes #21480 See merge request gitlab-org/gitlab-ce!22631
2018-11-06Add additional specs for NormalizerMatija Čupić
2018-11-06Use instance based approach for NormalizerMatija Čupić
2018-11-06Refactor Normalizer specsMatija Čupić
2018-11-05Fix invalid artifact path for codequalityKamil Trzciński
2018-11-05Refactor Gitlab::Ci::Config::NormalizerMatija Čupić
Use Hash#each_with_object to manipulate job hashes.
2018-11-05Use instance based approach for NormalizerMatija Čupić