Commit graph

15 commits

Author SHA1 Message Date
Robert Speicher
ca9a79f620 Use :empty_project where possible in service specs 2017-03-27 20:44:09 -04:00
Kamil Trzcinski
91ce04678e
Make triggers to be user aware 2017-03-05 18:53:00 +01: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
Robert Speicher
adc6ec4a9c Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
Kamil Trzcinski
20c7144ed2 Rename all [ci_]commit to [ci_]pipeline in specs and features 2016-06-03 16:22:26 +02:00
Kamil Trzcinski
e80e3f5372 Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
Douwe Maan
a2cfb44157 Tag service specs 2015-12-09 11:55:49 +01:00
Kamil Trzcinski
e53a56acea Fix broken tests 2015-11-13 10:52:50 +01:00
Kamil Trzcinski
97a11136d3 Fix create_trigger_request_service_spec 2015-10-05 17:06:31 +02:00
Kamil Trzcinski
782c8f9aa0 Fix triggers spec 2015-10-05 13:37:50 +02:00
Kamil Trzcinski
30c78e70cb WIP 2015-09-29 10:47:03 +02:00
Valery Sizov
b87ca7500f fix specs. Stage 7 2015-09-15 17:43:17 +03:00
Valery Sizov
88b3195ecf fix specs. Stage 6 2015-09-15 16:29:36 +03:00
Dmitriy Zaporozhets
90c338a495 Move helpers back to original directory 2015-09-09 14:37:34 +02:00
Dmitriy Zaporozhets
cc4ef4da11 Refactor CI tests 2015-09-09 14:17:16 +02:00
Renamed from spec/ci/services/create_trigger_request_service_spec.rb (Browse further)