39203f1adf
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. |
||
---|---|---|
.. | ||
repository_check | ||
build_email_worker_spec.rb | ||
delete_user_worker_spec.rb | ||
email_receiver_worker_spec.rb | ||
emails_on_push_worker_spec.rb | ||
expire_build_artifacts_worker_spec.rb | ||
git_garbage_collect_worker_spec.rb | ||
merge_worker_spec.rb | ||
post_receive_spec.rb | ||
project_cache_worker_spec.rb | ||
project_destroy_worker_spec.rb | ||
repository_fork_worker_spec.rb | ||
repository_import_worker_spec.rb | ||
stuck_ci_builds_worker_spec.rb |