Skip to content
Snippets Groups Projects
  1. Sep 10, 2019
  2. 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
    • Cédric Tabin's avatar
      New interruptible attribute supported in YAML parsing. · e195e486
      Cédric Tabin authored
      Since it is not possible to dynamically detect if a job is automatically
      cancellable or not, a this new attribute is necessary. Moreover, it let
      the maintainer of the repo to adjust the behaviour of the auto cancellation
      feature to match exactly what he needs.
      e195e486
    • Kerri Miller's avatar
      Add structure to support EE feature of COAR · 0e40b41e
      Kerri Miller authored and Nick Thomas's avatar Nick Thomas committed
      These are the structural changes for supporting the EE feature of moving
      "code_owner_approval_required" state from existing on a project to being
      on the protected branches individually, allowing for CODEOWNER
      validation on push events.
      0e40b41e
  3. Sep 04, 2019
  4. Sep 03, 2019
  5. Sep 02, 2019
    • Andreas Brandl's avatar
      Remove Users.support_bot column · 1b81a81b
      Andreas Brandl authored
      This column is not present in `db/schema.rb` and hence needs to be
      removed conditionally.
      
      See https://gitlab.com/gitlab-org/gitlab-ce/issues/66901 for background
      Unverified
      1b81a81b
    • Andreas Brandl's avatar
      Replace indexes for counting active users · 5b4108f0
      Andreas Brandl authored
      This adjusts the partial condition for an index. The index is intended
      to be used when counting active users with `ghost IS NOT TRUE AND
      bot_type IS NULL`.
      
      With the current index, this wasn't working as the partial condition
      didn't match the query: `ghost <> TRUE` is not semantically equivalent
      to `ghost IS NOT TRUE` (null semantics).
      
      The reason we add an index particularly intended for EE is that the EE
      query is going to have the additional part `AND bot_type IS NULL`
      whereas the CE query doesn't. Logically, it'd be enough to have an index
      for `ghost IS NOT TRUE`. However, on GitLab.com, the query planner makes
      poor choices when the additional `AND bot_type IS NULL` part is present:
      It goes for the index on `bot_type` and doesn't use the partial index.
      
      Note the existing index isn't being used at all according to GitLab.com
      index statistics. Hence we can first remove it and don't have to worry
      about the window of time without an index.
      
      Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/66770
      Unverified
      5b4108f0
  6. Aug 30, 2019
  7. Aug 29, 2019
  8. Aug 28, 2019
  9. Aug 27, 2019
  10. Aug 26, 2019
  11. Aug 24, 2019
  12. Aug 23, 2019
  13. Aug 21, 2019
  14. Aug 16, 2019
    • mksionek's avatar
      Add new table to store email domain · 3b32ac56
      mksionek authored and Paul Slaughter's avatar Paul Slaughter committed
      In order to save user preferences regarding
      user emails allowed to be invited to group
      
      Add foreign_key and down method
      
      Change adding foreign key
      
      Add partial call to view
      
      Add changelog entry
      
      Fix schema
      3b32ac56
    • Markus Koller's avatar
      Optimize DB indexes for ES indexing of notes · a3e71610
      Markus Koller authored and Mayra Cabrera's avatar Mayra Cabrera committed
      To index notes, we exclude system notes and use `find_in_batches` to
      load them in batches for submission to the ES bulk import API.
      These queries often result in DB timeouts because the usage of
      `ORDER BY id` results in the `notes_pkey` index being used.
      
      This adds an optimized partial index, and removes the unused index
      `index_notes_on_noteable_type` which is already covered for our
      usage by the existing `index_notes_on_noteable_id_and_noteable_type`.
      
      Newer versions of PostgreSQL (at least 11) are smarter about this and
      use `index_notes_on_project_id_and_noteable_type` instead, so we might
      be able to remove the partial index again in the future.
      a3e71610
  15. Aug 15, 2019
  16. Aug 14, 2019
  17. Aug 13, 2019
  18. Aug 09, 2019
  19. Aug 08, 2019
  20. Aug 07, 2019
  21. Aug 06, 2019
  22. Aug 05, 2019
Loading