Commit Graph

181 Commits

Author SHA1 Message Date
Grzegorz Bizon 70c0a76cad Fix rubocop offenses in code related to pipelines 2016-12-15 13:41:46 +01:00
Grzegorz Bizon f55fcef3db Add prototype of pipelines serializer with pagination 2016-12-07 15:23:07 +01:00
Regis 9d1fd16ab1 fix conflict 2016-12-02 11:46:47 -07:00
Grzegorz Bizon 2791226c6b Remove support from incremental pipeline updates 2016-12-01 17:31:49 +01:00
Filipa Lacerda 640062abdb Adds tests for tabs in the rspec for pipelines
Adds tests for the Linked Tabs class

Removes event listener

Adds builds
2016-11-30 17:06:46 +00:00
Filipa Lacerda 43e5009a30 Pipelines tabs 2016-11-30 17:06:46 +00:00
Kamil Trzcinski c07180f379 Fix broken pipeline rendering [ci skip] 2016-11-15 15:20:37 +01:00
Regis 634e92720f Merge branch 'master' into auto-pipelines-vue 2016-11-10 19:36:24 -07:00
Regis ac6b988e86 fix conflict 2016-11-10 13:48:23 -07:00
Regis b49a3f1ef1 fix conflict 2016-11-10 13:48:15 -07:00
Grzegorz Bizon 6b52adc661 Refine incremental pipeline serializer 2016-11-10 21:33:03 +01:00
Grzegorz Bizon b0c6037a3a Refine incremental pipeline serializer 2016-11-10 21:18:39 +01:00
Kamil Trzcinski 6f6119b738 Support pipelines API
Pass `updated_at` to get only incremental changes since last update
2016-11-10 15:32:23 +01:00
Grzegorz Bizon c8e8a1bb77 Improve code readability in pipelines controller 2016-11-07 13:33:04 +01:00
Z.J. van de Weg 3152477114 Use PipelinesFinder in Pipelines API 2016-09-07 15:38:03 +02:00
Kamil Trzcinski 39203f1adf Pre-create all builds for Pipeline when a trigger is received
This change simplifies a Pipeline processing by introducing a special new status: created.
This status is used for all builds that are created for a pipeline.
We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped).
This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled.
This also allows us to visualise a full pipeline (with created builds).

This also removes an after_touch used for updating a pipeline state parameters.
Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
2016-08-11 15:22:35 +02:00
Grzegorz Bizon 92984783db Rename commit_data in Pipeline to commit 2016-06-21 14:43:37 +02:00
Kamil Trzcinski 3656a6edf3 Make retry action on pipeline to save a user 2016-06-14 13:04:10 +02:00
Kamil Trzcinski 021d3810c3 Rename Ci::Commit to Ci::Pipeline and rename some of the ci_commit to pipeline 2016-06-02 16:59:04 +02:00
Kamil Trzcinski 4f1c636831 Create pipeline objects with parameters 2016-05-18 17:01:42 -05:00
Kamil Trzcinski ef60b8e168 Use pipelines.errors when communicating the error 2016-05-18 13:02:10 -05:00
Kamil Trzcinski bf4dc75801 Improve the pipelines design 2016-05-16 16:48:27 -05:00
Kamil Trzcinski 2566c89a32 Remove testing delegate 2016-05-14 15:55:00 -05:00
Kamil Trzcinski a6b8d36ae9 Fix specs 2016-05-14 09:46:38 -05:00
Kamil Trzcinski 0d43b92706 Fix CI tests 2016-05-12 13:08:18 -05:00
Kamil Trzcinski fe2137d871 Improve pipelines design 2016-05-10 02:26:13 +03:00
Kamil Trzcinski cb6f035141 Improve pipeline view 2016-04-13 17:05:17 +02:00
Kamil Trzcinski f5d24e60f8 Pipeline view 2016-04-13 13:01:08 +02:00
Kamil Trzcinski 406a796f76 Make Pipeline view work 2016-04-13 11:03:39 +02:00
Kamil Trzcinski e84c155f09 WIP 2016-04-13 11:03:39 +02:00
Kamil Trzcinski 5d69f5b46d Use Ci::Commit as Pipeline 2016-04-11 23:32:54 +02:00