1. 05 4月, 2017 1 次提交
    • R
      add auto-cancel for pending pipelines on branch, if they are not HEAD · c81ef304
      Rydkin Maxim 提交于
      fix changelog MR reference
      
      add non-HEAD builds finder and add `created` pipelines to scope
      
      add spec for auto-cancel non-HEAD pipelines and refactor create_pipeline_service_spec
      
      more refactoring for spec
      
      adds option for auto-cancel into CI/CD settings
      
      fix spec to new configuration
      
      fix rubocop
      
      fix schema.rb
      
      fix schema.rb
      
      replace Gitlab 9.0 with 9.1 in doc
      
      change wording on pipeline settings
      
      added auto_canceled_by field as identifier of autocancel subject
      
      remove unnecessary index
      
      replace service with retry_lock
      
      replace auto_cancel_pending_pipelines boolean setting with integer (and enum in model)
      
      fix schema.rb
      
      fix schema.rb
      
      remove projekt attribute and clean up spec
      
      clean up spec withcouple of shared examples
      
      added spec for "It does not cancel current pipeline" scenario
      
      add some specs to auto-cancel
      
      add spec for another branch pipelines
      c81ef304
  2. 04 4月, 2017 5 次提交
  3. 03 4月, 2017 1 次提交
  4. 30 3月, 2017 1 次提交
  5. 28 3月, 2017 2 次提交
  6. 25 3月, 2017 2 次提交
  7. 24 3月, 2017 1 次提交
    • L
      Do nothing if ci_builds.job_id isn't there · 99294e09
      Lin Jen-Shin 提交于
      This is really weird. I think we did get the same issue while
      migrating on GitLab.com. We fixed this by adding job_id to
      ci_builds table manually, and then run the migrations again.
      However I think we didn't hit into this on staging, which should
      somehow be a production clone.
      
      At any rate, I guess we could check if the column exists in the
      migration. If the column is not there, there's no point to remove
      that column anyway.
      
      Closes #29976
      99294e09
  8. 22 3月, 2017 1 次提交
    • S
      Fix routes index migration · 844142e9
      Sean McGivern 提交于
      For example:
      
          index_exists?(:routes, name: INDEX_NAME) # => false
          index_exists?(:routes, :path, name: INDEX_NAME) # => true
      844142e9
  9. 21 3月, 2017 3 次提交
  10. 20 3月, 2017 1 次提交
  11. 18 3月, 2017 2 次提交
  12. 17 3月, 2017 4 次提交
  13. 16 3月, 2017 3 次提交
  14. 15 3月, 2017 1 次提交
  15. 14 3月, 2017 7 次提交
  16. 13 3月, 2017 2 次提交
  17. 08 3月, 2017 2 次提交
  18. 07 3月, 2017 1 次提交
    • Z
      Rename BUILD to JOB in CI Variables · 9c25404a
      Z.J. van de Weg 提交于
      Given GitLab moves away from using the term build, everywhere, also the
      CI variables are being renamed.
      
      For now, both `CI_BUILD_X` and `CI_JOB_X` are supported, with the same
      values. However, in about 3 months, support will be dropped.
      9c25404a