Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include CI Variable Key in its uniqueness validation error message43275-improve-variables-validation-message | Matija Čupić | 2018-02-23 | 2 | -2/+2 |
| | |||||
* | Change cache index delimiter to character not recognizable as variable part | Tomasz Maczukin | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Merge branch '40994-fix-ee-ce-compatible-test' into 'master' | Kamil Trzciński | 2018-02-12 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Make GITLAB_FEATURES in build_spec compatible with EE Closes #40994 See merge request gitlab-org/gitlab-ce!17023 | ||||
| * | Make GITLAB_FEATURES in build_spec compatible with EE40994-fix-ee-ce-compatible-test | Dylan Griffith | 2018-02-09 | 1 | -1/+1 |
| | | | | | | | | | | Right now this fails in EE since the EE codebase defaults to having a starter license which means there are features in this value. This seems to be incompatible with the statement that tests should behave the same in CE as EE but I think that since there is a before on all EE specs creating a starter license it unfortunately does not behave that way. This is needed for #40994 and fixes the failing specs in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4393 | ||||
* | | Merge branch 'mc/bug/38984-wildcard-protected-tags' into 'security-10-4' | Kamil Trzciński | 2018-02-09 | 1 | -4/+4 |
|/ | | | | Fix using wildcards in protected tags to expose protected variables | ||||
* | Merge branch '40994-expose-features-as-ci-cd-variable' into 'master' | Kamil Trzciński | 2018-02-08 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | Resolve "Expose GitLab license/plan as a CI/CD variable" Closes #40994 See merge request gitlab-org/gitlab-ce!16936 | ||||
| * | Expose GITLAB_FEATURES as CI/CD variable (fixes #40994)40994-expose-features-as-ci-cd-variable | Dylan Griffith | 2018-02-07 | 1 | -0/+1 |
| | | |||||
* | | Merge branch ↵ | Kamil Trzciński | 2018-02-07 | 1 | -12/+96 |
|\ \ | |/ |/| | | | | | | | | | | | | | '38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour' into 'master' Resolve "StuckCiJobsWorker wrongly detects, cancels 'stuck' builds when per-job timeout is more than an hour" Closes #38265, #42196, and #42750 See merge request gitlab-org/gitlab-ce!16756 | ||||
| * | Improve runner attribute cachine | Matija Čupić | 2018-02-05 | 1 | -10/+15 |
| | | |||||
| * | Merge branch 'master' into ↵ | Matija Čupić | 2018-02-04 | 1 | -1/+1 |
| |\ | | | | | | | | | | 38265-stuckcijobsworker-wrongly-detects-cancels-stuck-builds-when-per-job-timeout-is-more-than-an-hour | ||||
| * | | Expect instead of allow Redis get stub for online? spec | Matija Čupić | 2018-02-04 | 1 | -1/+1 |
| | | | |||||
| * | | Refactor runner attribute caching implementation | Matija Čupić | 2018-02-04 | 1 | -16/+16 |
| | | | |||||
| * | | Use faster model updates in #update_runner_info spec | Matija Čupić | 2018-01-29 | 1 | -2/+2 |
| | | | |||||
| * | | Make Ci::Runner#online? slightly more performant | Matija Čupić | 2018-01-29 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | This is a small refactor to avoid querying Redis when we know there's nothing in it. | ||||
| * | | Generelized cached attribute usage in runner | Matija Čupić | 2018-01-29 | 1 | -6/+11 |
| | | | |||||
| * | | Move info update implementation to Ci::Runner model | Matija Čupić | 2018-01-29 | 1 | -5/+47 |
| | | | |||||
| * | | Check cache in Ci::Runner#online? | Matija Čupić | 2018-01-29 | 1 | -12/+42 |
| | | | |||||
* | | | Refactor :trace to :trace_live in spec | Shinya Maeda | 2018-02-06 | 1 | -4/+4 |
| | | | |||||
* | | | Finish all tests | Shinya Maeda | 2018-02-06 | 1 | -2/+2 |
| | | | |||||
* | | | Add essential tests | Shinya Maeda | 2018-02-06 | 1 | -0/+3 |
| |/ |/| | |||||
* | | Replace : with _ in cache key versioning | Matija Čupić | 2018-01-26 | 1 | -1/+1 |
|/ | |||||
* | Add specs for CI builds and pipeline relationshipssh-optimize-ci-build-project | Stan Hu | 2018-01-14 | 2 | -0/+14 |
| | |||||
* | Remove soft removals related code | Yorick Peterse | 2018-01-08 | 1 | -1/+0 |
| | | | | | | | | | | | | | | This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447 | ||||
* | Merge branch 'master' into 41249-clearing-the-cache | Matija Čupić | 2018-01-04 | 2 | -2/+2 |
|\ | |||||
| * | Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specs | blackst0ne | 2017-12-22 | 2 | -2/+2 |
| | | |||||
* | | Fix faulty Ci::Build#cache spec | Matija Čupić | 2018-01-04 | 1 | -1/+1 |
| | | |||||
* | | Rename Project#cache_index to jobs_cache_index | Matija Čupić | 2018-01-04 | 1 | -4/+4 |
| | | |||||
* | | Use Project.cache_index in Build#cache | Matija Čupić | 2017-12-22 | 1 | -0/+36 |
|/ | |||||
* | Fix job count in pipeline success mail | Christiaan Van den Poel | 2017-12-18 | 1 | -0/+12 |
| | |||||
* | Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_rails | Rémy Coutable | 2017-12-14 | 2 | -16/+16 |
| | | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Dependencies Validator fails when depended job is `manual`41110-dependencies-validator-fails-when-depended-job-is-manual | Shinya Maeda | 2017-12-14 | 1 | -4/+3 |
| | |||||
* | Backport a spec fix done in EE (5dbecb8e) to CE | Rémy Coutable | 2017-12-11 | 1 | -18/+8 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Test for both ci_disable_validates_dependencies true/false | Shinya Maeda | 2017-12-08 | 1 | -44/+64 |
| | |||||
* | Change feature flag to ci_disable_validates_dependencies to enable it as default | Shinya Maeda | 2017-12-07 | 1 | -1/+1 |
| | |||||
* | Fix pipeline | Shinya Maeda | 2017-12-06 | 1 | -1/+3 |
| | |||||
* | Fix tests | Shinya Maeda | 2017-12-06 | 1 | -17/+27 |
| | |||||
* | Fix /build_spec.rb | Shinya Maeda | 2017-12-06 | 1 | -1/+6 |
| | |||||
* | Fix lint | Shinya Maeda | 2017-12-06 | 1 | -2/+6 |
| | |||||
* | Add case when artifacts have not existed on dependencies | Shinya Maeda | 2017-12-06 | 1 | -1/+20 |
| | |||||
* | Use Class.new(StandardError) instead of custom extended error class. Bring ↵ | Shinya Maeda | 2017-12-06 | 1 | -1/+1 |
| | | | | back specified_dependencies?. | ||||
* | Fail jobs if its dependency is missing | Shinya Maeda | 2017-12-06 | 1 | -0/+30 |
| | |||||
* | Perform SQL matching of Build&Runner tags to greatly speed-up job picking | Kamil Trzcinski | 2017-12-05 | 1 | -0/+73 |
| | |||||
* | Fix Rubocop | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Store expire_at in ci_job_artifacts | Kamil Trzcinski | 2017-12-03 | 2 | -1/+57 |
| | |||||
* | Remove hook set by carrierwave too | Zeger-Jan van de Weg | 2017-12-03 | 1 | -6/+6 |
| | |||||
* | Add coverage on legacy artifacts for Ci::Build | Zeger-Jan van de Weg | 2017-12-03 | 1 | -70/+171 |
| | |||||
* | Fix specs failures, and use factory with `:ci_job_artifact, :archive` | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Rename Artifact to JobArtifact, split metadata out | Zeger-Jan van de Weg | 2017-12-03 | 3 | -60/+31 |
| | | | | | | | | | Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata. | ||||
* | Create Ci::Artifacts | Zeger-Jan van de Weg | 2017-12-03 | 2 | -14/+63 |
| | | | | | | | | | | | | | | | | To allow jobs/builds to have multiple artifacts, and to start seperating concerns from Ci::Build a new model is created: Ci::Artifact. Changes include the updating of the ArtifactUploader to adapt to a slightly different interface. The uploader expects to be initialized with a `Ci::Build`. Futher a migration with the minimal fields, the needed foreign keys and an index. Last, the way this works is by prepending a module to Ci::Build so we can basically override behaviour but if needed use `super` to get the original behaviour. | ||||
* | WIP | Zeger-Jan van de Weg | 2017-12-03 | 1 | -0/+5 |
| |