Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace Gitlab::REVISION with Gitlab.revision and handle installations ↵46600-fix-gitlab-revision-when-not-in-git-repo | Rémy Coutable | 2018-05-24 | 1 | -1/+1 |
| | | | | | | without a .git directory Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch 'fix/gb/exclude-persisted-variables-from-environment-name' into ↵ | Grzegorz Bizon | 2018-05-21 | 2 | -2/+36 |
|\ | | | | | | | | | | | | | | | | | 'master' Do not allow to use `CI_PIPELINE_ID` in environment name Closes #46443 See merge request gitlab-org/gitlab-ce!19032 | ||||
| * | Update pipeline persisted / predefined variables specs | Grzegorz Bizon | 2018-05-18 | 2 | -4/+8 |
| | | |||||
| * | Separate persisted and runtime pipeline variables | Grzegorz Bizon | 2018-05-18 | 1 | -0/+8 |
| | | |||||
| * | Do not allow to use `CI_PIPELINE_ID` in environment name | Grzegorz Bizon | 2018-05-18 | 1 | -0/+22 |
| | | |||||
* | | Fixes deploy tokens build variables46454-wrong-value-in-ci-deploy-user | Mayra Cabrera | 2018-05-18 | 1 | -1/+1 |
| | | | | | | | | | | | | It was using name, instead of username. Fixes documentation as well Closes #46454 | ||||
* | | Merge branch 'fix/gb/not-allow-to-trigger-skipped-manual-actions' into 'master' | Kamil Trzciński | 2018-05-18 | 1 | -0/+40 |
|\ \ | |/ |/| | | | | | | | | | Do not allow to trigger manual actions that were skipped Closes #42589 See merge request gitlab-org/gitlab-ce!18985 | ||||
| * | Do not allow to trigger manual actions that were skipped | Grzegorz Bizon | 2018-05-16 | 1 | -0/+40 |
| | | |||||
* | | Preload pipeline data for project pipelines | Yorick Peterse | 2018-05-17 | 1 | -0/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When displaying the pipelines of a project we now preload the following data: 1. Authors of the commits that belong to these pipelines 2. The number of warnings per pipeline, which is used by Ci::Pipeline#has_warnings? == Commit Authors Previously this data was queried for every Commit separately, leading to 20 SQL queries being executed in the worst case. With an average of 3 to 5 milliseconds per SQL query this could result in 100 milliseconds being spent in _just_ getting Commit authors. To preload this data Commit#author now uses BatchLoader (through Commit#lazy_author), and a separate module Gitlab::Ci::Pipeline::Preloader is used to ensure all authors are loaded before they are used. == Number of warnings This changes Ci::Pipeline#has_warnings? so it supports preloading of the number of warnings per pipeline. This removes the need for executing a COUNT(*) query for every pipeline just to see if it has any warnings or not. | ||||
* | | Allow group runners to be viewed/edited in API | Dylan Griffith | 2018-05-16 | 1 | -49/+13 |
|/ | |||||
* | Ensure Ci::Runner#assign_to errors for group runnerscorrect-runner-type-when-assigning-shared-to-project | Dylan Griffith | 2018-05-10 | 1 | -7/+20 |
| | |||||
* | Ensure runner_type is updated correctly when assigning shared runner to project | Dylan Griffith | 2018-05-10 | 1 | -0/+1 |
| | |||||
* | Add validation Ci::Runner runner_type must be present | Dylan Griffith | 2018-05-09 | 1 | -0/+1 |
| | |||||
* | Add some missing parens in project_spec and runner_spec | Dylan Griffith | 2018-05-08 | 1 | -1/+1 |
| | |||||
* | Merge branch 'add-git-commit-message-predefined-variable' into 'master' | Grzegorz Bizon | 2018-05-07 | 2 | -2/+5 |
|\ | | | | | | | | | | | | | Add CI_COMMIT_MESSAGE, CI_COMMIT_TITLE and CI_COMMIT_DESCRIPTION predefined variables Closes #20400 See merge request gitlab-org/gitlab-ce!18672 | ||||
| * | Add a CI_COMMIT_MESSAGE predefined variable | Tomasz Maczukin | 2018-05-07 | 2 | -2/+5 |
| | | |||||
* | | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-07 | 1 | -11/+229 |
|\ \ | |||||
| * \ | Merge branch 'master' into live-trace-v2 | Shinya Maeda | 2018-05-07 | 1 | -11/+229 |
| |\ \ | |||||
| | * | | Remove Runner#belonging_to_any_project since this is no longer needed | Dylan Griffith | 2018-05-03 | 1 | -15/+0 |
| | | | | |||||
| | * | | Merge branch 'master' into feature/runner-per-group | Dylan Griffith | 2018-05-03 | 1 | -1/+33 |
| | |\ \ | |||||
| | * | | | More style improvements to spec/models/ci/runner_spec.rb | Dylan Griffith | 2018-05-03 | 1 | -41/+40 |
| | | | | | |||||
| | * | | | Style changes to spec/models/ci/runner_spec.rb | Dylan Griffith | 2018-05-03 | 1 | -35/+35 |
| | | | | | |||||
| | * | | | Rename Runner#invalidate_build_cache -> Runner#pick_build | Dylan Griffith | 2018-05-02 | 1 | -3/+3 |
| | | | | | |||||
| | * | | | Fix spec/features/admin/admin_runners_spec.rb + test style improvements | Dylan Griffith | 2018-05-01 | 1 | -4/+4 |
| | | | | | |||||
| | * | | | Rename Runner#group? -> #assigned_to_group? and Runner#project? -> ↵ | Dylan Griffith | 2018-04-30 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | #assigned_to_project? | ||||
| | * | | | Revert fair scheduling for all builds | Dylan Griffith | 2018-04-30 | 1 | -67/+0 |
| | | | | | | | | | | | | | | | | | | | | Per discussion in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9646#note_65730532 this logic is being optimized elsewhere and it will simplify things if we make less changes to this code right now. | ||||
| | * | | | Rename `runner.belonging_to_group(project.id) -> ↵ | Dylan Griffith | 2018-04-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | runner.belonging_to_parent_group_of_project(project.id)` | ||||
| | * | | | Tag runner_spec tests for subgroups with nested_groups | Dylan Griffith | 2018-04-27 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Merge branch 'master' into siemens-runner-per-group | Dylan Griffith | 2018-04-26 | 1 | -1/+31 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | * | | | extract method to adhere to "tell, don't ask" | Alexis Reigel | 2018-04-23 | 1 | -0/+26 |
| | | | | | |||||
| | * | | | restrict projects ci controller to project runners | Alexis Reigel | 2018-04-23 | 1 | -0/+15 |
| | | | | | |||||
| | * | | | simplify runner selection | Alexis Reigel | 2018-04-23 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't differentiate between the different runner types, instead we rely on the Runner model to provide the available projects. scheduling is now applied to all runners equally. | ||||
| | * | | | ci runners: assigned to either projects or group | Alexis Reigel | 2018-04-23 | 1 | -0/+57 |
| | | | | | |||||
| | * | | | support group hierarchies for group runners | Alexis Reigel | 2018-04-23 | 1 | -0/+9 |
| | | | | | |||||
| | * | | | use .owned_or_shared for #assignable_for? | Alexis Reigel | 2018-04-23 | 1 | -3/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | instead of having the explicit logic duplicated from the scope we can use the scope instead. | ||||
| | * | | | don't filter group runners by project flag | Alexis Reigel | 2018-04-23 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the scope `Ci::Runner.belonging_to_group` does not filter out the runners where the projects has `#group_runners_enabled` set to false anymore. it didn't show up in the runners UI anymore when group runners were disabled. this was confusing. the flag is only relevant when selecting appropriate runner for a build. | ||||
| | * | | | add method CI::Runner.project? | Alexis Reigel | 2018-04-23 | 1 | -3/+23 |
| | | | | | |||||
| | * | | | split up Ci::Runner.owned_or_shared scope | Alexis Reigel | 2018-04-23 | 1 | -18/+24 |
| | | | | | |||||
| | * | | | exclude group runners on projects that disabled it | Alexis Reigel | 2018-04-23 | 1 | -0/+8 |
| | | | | | |||||
| | * | | | add Ci::Runner#group? method | Alexis Reigel | 2018-04-23 | 1 | -0/+24 |
| | | | | | |||||
| | * | | | drop 'scopes' context from specs | Alexis Reigel | 2018-04-23 | 1 | -45/+43 |
| | | | | | |||||
| | * | | | include group runners in scope | Alexis Reigel | 2018-04-23 | 1 | -4/+46 |
| | | | | | |||||
| | * | | | add misssing scope specs | Alexis Reigel | 2018-04-23 | 1 | -0/+19 |
| | | | | | |||||
* | | | | | Added shared exmaple for fast_destroy_all concern | Shinya Maeda | 2018-05-04 | 1 | -0/+15 |
|/ / / / | |||||
* | | | | Add validation and skip logic at #truncate | Shinya Maeda | 2018-05-04 | 1 | -5/+1 |
| | | | | |||||
* | | | | Introduce Redis helpers. Rename BuildTraceChunkFlushToDbWorker to ↵ | Shinya Maeda | 2018-05-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | Ci::BuildTraceChunkFlushWorker. | ||||
* | | | | Merge branch 'master' into live-trace-v2 | Shinya Maeda | 2018-05-03 | 1 | -1/+33 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Use stages position column to track stage index | Grzegorz Bizon | 2018-05-01 | 1 | -6/+6 |
| | | | | |||||
| * | | | Rename stage index column name to priority column | Grzegorz Bizon | 2018-04-24 | 1 | -6/+6 |
| | | | | |||||
| * | | | Use database query to calculate average stage position | Grzegorz Bizon | 2018-04-24 | 1 | -5/+19 |
| | | | |