Fork and Import Jobs should only be marked as failed when the number of retries was exhausted
Based on the discussion in https://gitlab.com/gitlab-com/infrastructure/issues/3048
@DouweM could we possibly move the failure of the project to something like https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/workers/repository_update_remote_mirror_worker.rb#L13 which would basically only mark the job as failed once it exhausted all the retries it had?
Not sure if we have access to the
projectinside that block though