1. 08 5月, 2018 1 次提交
  2. 07 5月, 2018 2 次提交
  3. 03 5月, 2018 5 次提交
  4. 02 5月, 2018 1 次提交
  5. 18 4月, 2018 1 次提交
  6. 23 3月, 2018 1 次提交
  7. 22 3月, 2018 3 次提交
  8. 21 3月, 2018 5 次提交
  9. 15 3月, 2018 2 次提交
  10. 14 3月, 2018 1 次提交
  11. 01 3月, 2018 1 次提交
  12. 28 2月, 2018 1 次提交
  13. 27 2月, 2018 1 次提交
  14. 24 2月, 2018 1 次提交
  15. 23 2月, 2018 1 次提交
  16. 22 2月, 2018 1 次提交
  17. 07 2月, 2018 1 次提交
    • D
      Handle all YAML parser exceptions in .gitlab-ci.yml (fixes #41209) · 66d41d2c
      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.
      66d41d2c
  18. 25 1月, 2018 1 次提交
  19. 15 1月, 2018 1 次提交
    • S
      Ensure CI pipelines and builds have the correction project associations · 8ddb00ad
      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
      ```
      8ddb00ad
  20. 19 12月, 2017 1 次提交
    • Z
      Load commit in batches for pipelines#index · c6edae38
      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.
      c6edae38
  21. 18 12月, 2017 1 次提交
  22. 30 11月, 2017 1 次提交
  23. 28 11月, 2017 1 次提交
  24. 22 11月, 2017 1 次提交
    • Y
      Use arrays in Pipeline#latest_builds_with_artifacts · 54f1e406
      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.
      54f1e406
  25. 17 11月, 2017 1 次提交
  26. 16 11月, 2017 1 次提交
  27. 09 11月, 2017 1 次提交
  28. 08 11月, 2017 1 次提交