Commit graph

13 commits

Author SHA1 Message Date
Z.J. van de Weg
9b2ae90d2c Remove references to build in pipeline charts
Being the good boyscouts, but mainly because of [the comment in the
review](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12378#note_33302115)
the words used for classes and variables are changed to not use builds
anymore.
2017-06-23 14:50:03 +02:00
Kamil Trzcinski
4ccf39cde7 Fix test failures, that did occur because of missing previously used reload_status! call 2016-08-11 22:54:25 +02:00
Kamil Trzcinski
6a6a69f4af Use state machine for pipeline event processing 2016-08-11 21:32:16 +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
tiagonbotelho
519275c110 fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
Grzegorz Bizon
9e211091a8 Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02: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
717fdd6d42 Rename Ci::Build commit to pipeline 2016-06-03 12:29:00 +02:00
Stan Hu
9bb0d0b407 Fix Error 500 in CI charts by gracefully handling commits with no durations
Closes #17730
2016-05-22 23:52:50 -07:00
Douwe Maan
13d6bab177 Tag lib specs 2015-12-09 11:55:42 +01:00
Kamil Trzcinski
0f3deac362 Fix tests 2015-09-29 10:47:04 +02:00
Valery Sizov
b87ca7500f fix specs. Stage 7 2015-09-15 17:43:17 +03:00
Dmitriy Zaporozhets
cc4ef4da11 Refactor CI tests 2015-09-09 14:17:16 +02:00
Renamed from spec/ci/lib/charts_spec.rb (Browse further)