• Stan Hu's avatar
    Validate connection section in direct upload config · 875f66e7
    Stan Hu authored
    For some reason, `Settingslogic` doesn't always provide the right error
    message when the `connection` block is omitted. Sometimes it erroneously
    attributes the error section to a different part of the YAML
    (e.g. `backup`, `dependency_proxy`).
    
    This commit adds on more information on which `connection` block is
    missing from the `gitlab.yml` (e.g. LFS, artifacts, or uploads).
    
    Closes https://gitlab.com/gitlab-org/gitlab/issues/38258
    875f66e7
direct_upload_support.rb 1.25 KB