Skip to content

Allow string substitution in scmOverrides replace section #675

@jkloetzke

Description

@jkloetzke

Is your feature request related to a problem? Please describe.
In #665 it got clear that the following does not work at all:

layersScmOverrides:
-   match:
        ...
    replace:
        url:
            pattern: https://MY_PROD_GITLAB/(.+)
            replacement: https://gitlab-ci-token:${CI_JOB_TOKEN}@MY_TEST_GITLAB/\1

Describe the solution you'd like
Allow to opt-in for string substitution in replacement keys.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions