Download artifacts directly from Object Storage
It seems that Runner does not support direct download of artifacts, even though such feature is exposed in Rails. It means that it always proxies data through Workhorse.
The reasons for making this explicitly a Runner decision was likely the handling
of certificates. The certificate that we might inject into build environment
likely is only for a connecting domain, where
direct_download would require
to ensure that we also have certificate if we strong validate it for Object Storage
Maybe, if we don't override a certificate store (if there's a case when we don't inject certificates)
we could use
direct_download and pass to the endpoint.
Here is the API allowing to define
direct_download=true. This needs to be explicitly
enabled to enable direct download:
Here is the place where we should consider allowing to configure