- 08 5月, 2018 1 次提交
-
-
由 Shinya Maeda 提交于
-
- 07 5月, 2018 2 次提交
-
-
由 Tomasz Maczukin 提交于
-
由 Tomasz Maczukin 提交于
-
- 03 5月, 2018 5 次提交
-
-
由 Kamil Trzciński 提交于
-
由 Kamil Trzciński 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
- 02 5月, 2018 1 次提交
-
-
由 blackst0ne 提交于
-
- 18 4月, 2018 1 次提交
-
-
由 Matija Čupić 提交于
-
- 23 3月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 22 3月, 2018 3 次提交
-
-
由 Grzegorz Bizon 提交于
-
由 Grzegorz Bizon 提交于
-
由 Grzegorz Bizon 提交于
-
- 21 3月, 2018 5 次提交
-
-
由 Grzegorz Bizon 提交于
-
由 Grzegorz Bizon 提交于
This is a first step to decouple pipeline from YAML processing. It reduces the coupling by removing some methods that introduce coupling and by moving logic into separate chain element that is being used to populate pipelines with stages and builds.
-
由 Grzegorz Bizon 提交于
-
由 Grzegorz Bizon 提交于
-
由 Dylan Griffith 提交于
This appears to reduce the number of queries in pipeline creation of gitlab-ce's .gitlab-ci.yml by 92 This also means we now need to mock this ci yaml file properly in the test because otherwise the yaml_errors stay on the object and make all the pipelines failed.
-
- 15 3月, 2018 2 次提交
-
-
由 Shinya Maeda 提交于
-
由 Shinya Maeda 提交于
-
- 14 3月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 01 3月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 28 2月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 27 2月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 24 2月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 23 2月, 2018 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 22 2月, 2018 1 次提交
-
-
由 Dylan Griffith 提交于
-
- 07 2月, 2018 1 次提交
-
-
由 Dylan Griffith 提交于
- Move the exception handling as close to the source as possible to avoid leaking Psych ahstraction - Also remove unnecessary rescue all statement from LintsController. This should not be necessary anymore since any YAML errors should all be caught by the #validation_message method.
-
- 25 1月, 2018 1 次提交
-
-
由 Jacob Vosmaer 提交于
-
- 15 1月, 2018 1 次提交
-
-
由 Stan Hu 提交于
This should reduce the number of SQL queries and lookups needed to look up a project of a build and pipeline and vice versa. Before: ``` [1] pry(main)> Ci::Build.reflect_on_association(:project).has_inverse? => false [2] pry(main)> Project.reflect_on_association(:builds).has_inverse? => false [3] pry(main)> Ci::Pipeline.reflect_on_association(:project).has_inverse? => false [4] pry(main)> Project.reflect_on_association(:pipelines).has_inverse? => :project ``` After: ``` [1] pry(main)> Ci::Build.reflect_on_association(:project).has_inverse? => :builds [2] pry(main)> Project.reflect_on_association(:builds).has_inverse? => :project [3] pry(main)> Ci::Pipeline.reflect_on_association(:project).has_inverse? => :pipelines [4] pry(main)> Project.reflect_on_association(:pipelines).has_inverse? => :project ```
-
- 19 12月, 2017 1 次提交
-
-
由 Zeger-Jan van de Weg 提交于
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
-
- 18 12月, 2017 1 次提交
-
-
由 Christiaan Van den Poel 提交于
-
- 30 11月, 2017 1 次提交
-
-
由 Grzegorz Bizon 提交于
-
- 28 11月, 2017 1 次提交
-
-
由 Shinya Maeda 提交于
-
- 22 11月, 2017 1 次提交
-
-
由 Yorick Peterse 提交于
This changes Ci::Pipeline#latest_builds_with_artifacts so it returns an Array instead of a relation. Whenever we use this data we do so in two steps: 1. Count the number of rows 2. If this number is greater than 0, iterate over the rows By returning an Array instead we only execute 1 query of which the total time/work is less than running either just a COUNT(*) or both queries (in the worst case). On GitLab.com this change should save us a few milliseconds per request to ProjectsController#show.
-
- 17 11月, 2017 1 次提交
-
-
由 Jacopo 提交于
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
-
- 16 11月, 2017 1 次提交
-
-
由 Yorick Peterse 提交于
This adds an optimised way of getting the latest pipeline status for a list of Commit objects (or just a single one).
-
- 09 11月, 2017 1 次提交
-
-
由 Lin Jen-Shin 提交于
Without this fix, pipeline could go from skipped to running directly, bypassing the transition for: [:created, :pending] => :running And this is responsible for setting up started_at. Without this fix, started_at would never be set. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/39884
-
- 08 11月, 2017 1 次提交
-
-
由 Douwe Maan 提交于
Use Commit#notes and Note.for_commit_id when possible to make sure we use all the indexes available to us
-