Commit graph

12 commits

Author SHA1 Message Date
Rydkin Maxim
c81ef3041e add auto-cancel for pending pipelines on branch, if they are not HEAD
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
2017-04-04 21:11:24 +03:00
Jose Ivan Vargas
8ffe586b77 Changed the controller/route name to 'ci/cd' and renamed the corresponding files
Added tests to verify the access policy to the new controller
2017-02-06 14:51:18 -06:00
Jose Ivan Vargas
0d4c0e07cb Fixed badges test 2017-02-06 14:51:18 -06:00
Jose Ivan Vargas
08ecab6013 changed pipelines controller name to ci_cd_pipelines 2017-02-06 14:51:18 -06:00
Jose Ivan Vargas
58110293d4 Converted the views to partials that compose the menu item "pipelines" 2017-02-06 14:51:18 -06:00
Rémy Coutable
42855f116a Fix wrong template rendered when CI/CD settings aren't update successfully
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-22 16:18:05 +01:00
Grzegorz Bizon
b646adef13 Expose coverage report badge in pipeline settings 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
9f0b46c05a Move badges to separate modules and add base class 2016-08-15 14:39:46 +02:00
Grzegorz Bizon
9ae1ecf876 Extract build status badge metadata to separate class 2016-07-28 14:35:02 +02:00
Kamil Trzcinski
545cecb28c Change how we style redirect_to 2016-07-20 14:54:15 +02:00
Kamil Trzcinski
90480359d5 Use flash[:notice] only 2016-07-20 14:48:23 +02:00
Kamil Trzcinski
52d5d7daf1 Create PipelinesSettingsController for showing settings page 2016-07-20 14:39:06 +02:00