Skip to content
Snippets Groups Projects
  1. Nov 04, 2019
  2. Oct 31, 2019
  3. Oct 23, 2019
  4. Oct 22, 2019
  5. Oct 17, 2019
  6. Oct 16, 2019
  7. Oct 14, 2019
  8. Oct 11, 2019
  9. Oct 10, 2019
  10. Oct 09, 2019
  11. Oct 08, 2019
  12. Oct 03, 2019
  13. Oct 02, 2019
  14. Oct 01, 2019
  15. Sep 30, 2019
  16. Sep 25, 2019
  17. Sep 18, 2019
  18. Sep 17, 2019
  19. Sep 16, 2019
  20. Sep 13, 2019
  21. Sep 10, 2019
  22. Sep 09, 2019
  23. Sep 05, 2019
    • Fabio Pitino's avatar
      CE port for pipelines for external pull requests · ca6a1f33
      Fabio Pitino authored
      Detect if pipeline runs for a GitHub pull request
      
      When using a mirror for CI/CD only we register a pull_request
      webhook. When a pull_request webhook is received, if the
      source branch SHA matches the actual head of the branch in the
      repository we create immediately a new pipeline for the
      external pull request. Otherwise we store the
      pull request info for when the push webhook is received.
      
      When using "only/except: external_pull_requests" we can detect
      if the pipeline has a open pull request on GitHub and create or
      not the job based on that.
      ca6a1f33
  24. Aug 31, 2019
  25. Aug 30, 2019
  26. Aug 29, 2019
  27. Aug 28, 2019
    • Victor Zagorodny's avatar
      Update CE files for GSD projects filter · e4fbd94c
      Victor Zagorodny authored
      A new param with_security_reports was added to
      GET /groups/:id/projects API and the code to
      support this logic in GroupProjectsFinder and
      Project model. Also, a DB index was added to
      ci_job_artifacts table to speed up the search
      of security reports artifacts for projects
      e4fbd94c
  28. Aug 26, 2019
  29. Aug 21, 2019
    • George Koltsov's avatar
      Add SortingPreference concern · 8bcc47ac
      George Koltsov authored
      Sorting preference functionality has been extracted
      from `IssuableCollections` to a new `SortingPreference`
      concern in order to reuse this functionality in projects
      (and groups in the future).
      8bcc47ac
  30. Aug 15, 2019
  31. Aug 13, 2019
    • Stan Hu's avatar
      Reduce Gitaly calls in PostReceive · 4e2bb4e5
      Stan Hu authored
      This commit reduces I/O load and memory utilization during PostReceive
      for the common case when no project hooks or services are set up.
      
      We saw a Gitaly N+1 issue in `CommitDelta` when many tags or branches
      are pushed. We can reduce this overhead in the common case because we
      observe that most new projects do not have any Web hooks or services,
      especially when they are first created. Previously, `BaseHooksService`
      unconditionally iterated through the last 20 commits of each ref to
      build the `push_data` structure. The `push_data` structured was used in
      numerous places:
      
      1. Building the push payload in `EventCreateService`
      2. Creating a CI pipeline
      3. Executing project Web or system hooks
      4. Executing project services
      5. As the return value of `BaseHooksService#execute`
      6. `BranchHooksService#invalidated_file_types`
      
      We only need to generate the full `push_data` for items 3, 4, and 6.
      
      Item 1: `EventCreateService` only needs the last commit and doesn't
      actually need the commit deltas.
      
      Item 2: In addition, `Ci::CreatePipelineService` only needed a subset of
      the parameters.
      
      Item 5: The return value of `BaseHooksService#execute` also wasn't being
      used anywhere.
      
      Item 6: This is only used when pushing to the default branch, so if
      many tags are pushed we can save significant I/O here.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65878
      
      Fic
      4e2bb4e5
  32. Aug 08, 2019
Loading