gitlab-org--gitlab-foss/spec/services/ci
Sean McGivern 6247886405 Don't create build failed todo when build is retried
When a build is retried automatically, we close any open todos. However, we do
that _before_ creating a new build failed todo.

To solve this, we check if the build is retried before creating the todo. We
also ensure that the build _instance_ has the correct attribute set, without
needing to reload it from the database.
2017-10-16 11:10:07 +01:00
..
create_cluster_service_spec.rb Fix Rubocop failures 2017-10-04 21:13:01 +02:00
create_pipeline_service_spec.rb Add a project forks spec helper 2017-10-07 11:46:23 +02:00
extract_sections_from_build_trace_service_spec.rb Extract `Ci::Build#parse_trace_sections!` into a service 2017-10-06 12:33:10 +02:00
fetch_gcp_operation_service_spec.rb fetch_gcp_operation_service_spec. finalize_cluster_creation_service_spec. wait_for_cluster_creation_worker_spec. 2017-10-05 01:55:33 +09:00
fetch_kubernetes_token_service_spec.rb fetch_kubernetes_token_service_spec. Fix static analysys. 2017-10-05 20:26:07 +09:00
finalize_cluster_creation_service_spec.rb fetch_gcp_operation_service_spec. finalize_cluster_creation_service_spec. wait_for_cluster_creation_worker_spec. 2017-10-05 01:55:33 +09:00
integrate_cluster_service_spec.rb integrate_cluster_service_spec. provision_cluster_service_spec. update_cluster_service_spec. 2017-10-05 16:34:24 +09:00
pipeline_trigger_service_spec.rb Add change log. Fix spec. 2017-09-13 18:23:35 +09:00
play_build_service_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
process_pipeline_service_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
provision_cluster_service_spec.rb integrate_cluster_service_spec. provision_cluster_service_spec. update_cluster_service_spec. 2017-10-05 16:34:24 +09:00
register_job_service_spec.rb Fix spec on egister_job_service_spec.rb 2017-09-03 23:58:25 +09:00
retry_build_service_spec.rb Don't create build failed todo when build is retried 2017-10-16 11:10:07 +01:00
retry_pipeline_service_spec.rb Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
stop_environments_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
update_build_queue_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
update_cluster_service_spec.rb integrate_cluster_service_spec. provision_cluster_service_spec. update_cluster_service_spec. 2017-10-05 16:34:24 +09:00
update_runner_service_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00