Skip to content

Fix url for object store artifacts

Kamil Trzciński requested to merge fix-public-url-for-object-store into master

What does this MR do?

There's a problem in how we pass connection configuration and how it is being evaluated by Fog when requesting URL. The problem of mocking the data.

It was not caught by tests as we used Hash, instead of Settingslogic. Settingslogic has the strange behavior where it expects to hold string keys in order to resolve them, as symbol keys don't work properly.

This makes sure that all Settingslogic keys are strings, and we also do the same for our tests.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/3172

Merge request reports