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 | -1/+7 |
|\ | | | | | | | | | | | | | | | | | 'master' Do not allow to use `CI_PIPELINE_ID` in environment name Closes #46443 See merge request gitlab-org/gitlab-ce!19032 | ||||
| * | Separate persisted and runtime pipeline variables | Grzegorz Bizon | 2018-05-18 | 2 | -1/+2 |
| | | |||||
| * | Do not allow to use `CI_PIPELINE_ID` in environment name | Grzegorz Bizon | 2018-05-18 | 1 | -2/+7 |
| | | |||||
* | | Merge branch '46082-runner-contacted_at-is-not-always-a-time-type' into 'master' | Kamil Trzciński | 2018-05-21 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | Resolve "Runner#contacted_at is not always a Time type" Closes #46082 See merge request gitlab-org/gitlab-ce!18810 | ||||
| * | | Dynamically cast value from cache | Matija Čupić | 2018-05-15 | 1 | -2/+1 |
| | | | |||||
| * | | Merge branch 'master' into 46082-runner-contacted_at-is-not-always-a-time-type | Matija Čupić | 2018-05-09 | 1 | -0/+1 |
| |\ \ | |||||
| * | | | Move Runner#contacted_at to RedisCacheable#cached_attr_time_reader | Matija Čupić | 2018-05-08 | 1 | -1/+2 |
| | | | | |||||
* | | | | 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 | -1/+1 |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | 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 | -1/+1 |
| | | | | |||||
* | | | | Preload pipeline data for project pipelines | Yorick Peterse | 2018-05-17 | 1 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+1 |
|/ / / | |||||
* | | | [Rails5] Fix Ci::Pipeline validator for sourceblackst0ne-rails5-fix-spec-models-ci-pipeline_spec-rb | blackst0ne | 2018-05-12 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Rails 5 enum returns value instead of key. For this case, the `NilClass` is returned instead of `unknown` which breaks validation of the `source` attribute. This commit adds a custom validatior that returns the correct result for both rails4 and rails5. | ||||
* | | | Ensure Ci::Runner#assign_to errors for group runnerscorrect-runner-type-when-assigning-shared-to-project | Dylan Griffith | 2018-05-10 | 1 | -0/+2 |
| | | | |||||
* | | | Ensure runner_type is updated correctly when assigning shared runner to project | Dylan Griffith | 2018-05-10 | 1 | -1/+5 |
| |/ |/| | |||||
* | | Add validation Ci::Runner runner_type must be present | Dylan Griffith | 2018-05-09 | 1 | -0/+1 |
|/ | |||||
* | Merge branch 'add-git-commit-message-predefined-variable' into 'master' | Grzegorz Bizon | 2018-05-07 | 1 | -4/+27 |
|\ | | | | | | | | | | | | | Add CI_COMMIT_MESSAGE, CI_COMMIT_TITLE and CI_COMMIT_DESCRIPTION predefined variables Closes #20400 See merge request gitlab-org/gitlab-ce!18672 | ||||
| * | Add memoization of commit related values in Ci::Pipeline | Tomasz Maczukin | 2018-05-07 | 1 | -6/+18 |
| | | |||||
| * | Add a CI_COMMIT_MESSAGE predefined variable | Tomasz Maczukin | 2018-05-07 | 1 | -0/+11 |
| | | |||||
* | | Merge branch 'live-trace-v2-efficient-destroy-all' into 'master' | Grzegorz Bizon | 2018-05-07 | 2 | -17/+40 |
|\ \ | | | | | | | | | | | | | Live trace: Use efficient destroy all (for `dependent: :destory` problem) See merge request gitlab-org/gitlab-ce!18575 | ||||
| * \ | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-07 | 4 | -11/+72 |
| |\ \ | |||||
| * \ \ | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-04 | 1 | -3/+6 |
| |\ \ \ | |||||
| * | | | | Simplify FastDestroyAll module | Shinya Maeda | 2018-05-03 | 1 | -1/+12 |
| | | | | | |||||
| * | | | | Clean up build_trace_chunk | Shinya Maeda | 2018-05-03 | 1 | -8/+9 |
| | | | | | |||||
| * | | | | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-03 | 3 | -5/+29 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-02 | 1 | -1/+1 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-05-02 | 1 | -1/+1 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Introduce `use_fast_destroy` helper for parent associations. Rename method ↵ | Shinya Maeda | 2018-05-02 | 1 | -14/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | names in build_trace_chunks. Forbid `destroy` method when `FastDestroyAll` included. | ||||
| * | | | | | | | Introduces `FastDestroyAll` module | Shinya Maeda | 2018-05-01 | 1 | -24/+18 |
| | | | | | | | | |||||
| * | | | | | | | Added spec for trace archiving. | Shinya Maeda | 2018-04-30 | 1 | -1/+1 |
| | | | | | | | | |||||
| * | | | | | | | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-04-30 | 1 | -1/+1 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-04-30 | 1 | -5/+4 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Fix specs. Align with the new table name ci_build_trace_chunk | Shinya Maeda | 2018-04-26 | 2 | -10/+2 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Merge branch 'live-trace-v2' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-04-26 | 2 | -37/+52 |
| |\ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into live-trace-v2-efficient-destroy-all | Shinya Maeda | 2018-04-25 | 1 | -0/+11 |
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | |||||
| * | | | | | | | | | | Implement efficient destroy of job_trace_chunks | Kamil Trzciński | 2018-04-24 | 1 | -0/+24 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Merge branch 'live-trace-v2' into live-trace-v2-schedule-db-when-job-done | Shinya Maeda | 2018-04-24 | 1 | -1/+1 |
| |\ \ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | Swap redis chunks when build finished | Shinya Maeda | 2018-04-24 | 2 | -3/+1 |
| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | Fix rubocop | Kamil Trzciński | 2018-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | Fix WRITE_LOCK_SLEEP | Kamil Trzciński | 2018-05-07 | 1 | -1/+1 |
| | | | | | | | | | | | | |||||
* | | | | | | | | | | | | Optimise write lock parameters | Kamil Trzciński | 2018-05-07 | 1 | -5/+5 |
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |||||
* | | | | | | | | | | | Merge branch 'master' into live-trace-v2 | Shinya Maeda | 2018-05-07 | 4 | -11/+72 |
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |||||
| * | | | | | | | | | | Merge branch ↵ | Kamil Trzciński | 2018-05-06 | 2 | -0/+4 |
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '44059-specify-variables-when-executing-a-manual-pipeline-from-the-ui' into 'master' Resolve "Specify variables when executing a manual pipeline from the UI" Closes #44059 See merge request gitlab-org/gitlab-ce!18440 | ||||
| | * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into ↵ | Matija Čupić | 2018-05-02 | 3 | -5/+29 |
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 44059-specify-variables-when-executing-a-manual-pipeline-from-the-ui | ||||
| | * \ \ \ \ \ \ \ \ \ \ | Merge branch 'master' into ↵ | Jose | 2018-04-30 | 3 | -24/+63 |
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | 44059-specify-variables-when-executing-a-manual-pipeline-from-the-ui | ||||
| | * | | | | | | | | | | | Accept nested Variables in Ci::Pipeline | Matija Čupić | 2018-04-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | Alias value to secret_value in Ci::PipelineVariable | Matija Čupić | 2018-04-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Dont remove duplicates in Runner.owned_or_shared since its not necessary | Dylan Griffith | 2018-05-03 | 1 | -1/+4 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Remove Runner#belonging_to_any_project since this is no longer needed | Dylan Griffith | 2018-05-03 | 1 | -2/+0 |
| | | | | | | | | | | | | |