gitlab-org--gitlab-foss/app/models/concerns
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
..
access_requestable.rb
awardable.rb Fix not normalized emoji paths 2016-07-14 08:51:00 +02:00
case_sensitivity.rb
faster_cache_keys.rb Added concern for a faster "cache_key" method 2016-08-08 16:49:22 +02:00
importable.rb
internal_id.rb
issuable.rb Reduce number of queries made for merge_requests/:id/diffs 2016-07-28 16:52:19 +02:00
mentionable.rb Use cattr_accessor instead duplicating code on NoteOnDiff concern 2016-07-15 13:49:16 -03:00
milestoneish.rb
note_on_diff.rb Add Discussion model to represent MR/diff discussion 2016-07-20 16:18:18 -06:00
participable.rb Use cattr_accessor instead duplicating code on NoteOnDiff concern 2016-07-15 13:49:16 -03:00
referable.rb Fix RangeError exceptions when referring to issues or merge requests outside of max database values 2016-06-18 13:07:38 -07:00
sortable.rb
spammable.rb Refactor spam validation to a concern that can be easily reused and improve legibility in `SpamCheckService` 2016-07-26 19:29:16 -05:00
statuseable.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
strip_attribute.rb
subscribable.rb
taskable.rb
token_authenticatable.rb Enable Rubocop cops for invalid access modifiers 2016-07-19 15:12:15 +02:00