Switch live job tracing object storage upload over to use direct upload code
We currently have 2 object storage upload code paths, background
and direct
. This requires many changes to be tested twice, which can cost significant amounts of time.
We should standardize on one object storage upload code path, to simplify and reduce the surface area for tests. As noted in https://gitlab.com/gitlab-org/gitlab-ce/issues/58985#note_177344569, we would like to deprecate and remove the background
upload path, as it requires shared storage which is not a dependency we want for GitLab architectures in the future.
It was noted https://gitlab.com/gitlab-org/gitlab-ce/issues/58985#note_176486994 that live job tracing may still utilize the background
upload code path. We should confirm if this is the case, and if so, switch over over to the direct upload code path to allow us to remove the background
code path entirely.