Skip to content

CI: Allow to override the authentication header for Gitlab artifact API

Loic Nicolle requested to merge configurable_authentication_header into main

What does this MR do and why?

Allow to override the authentication header for artifact API. In a context where the Sylva CI can be reused in a different context without the premium gitlab feature. Being able to use a different token avoid to override the whole function. In this case we'll just need to set:

ARTIFACT_AUTHENTICATION_HEADER: "PRIVATE-TOKEN: $MY_API_TOKEN"

Related reference(s)

Test coverage

Edited by Loic Nicolle

Merge request reports