Skip to content

Provide an option to lock on a specific version of scripts used from Gitlab templates #157

Description

@mxr576

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

This is somewhat a follow-up on #154 but also a more general improvement.
Currently, we always pull the latest changes from the gitlab_templates repository, which keeps us on the cutting edge but can introduce instability or unexpected behavior when upstream changes occur.

Describe your solution

We should reconsider this approach and, by default, lock to a specific tag from the available list here:
https://git.drupalcode.org/project/gitlab_templates/-/tags
This tag can then be updated periodically as needed.

Regardless of the default choice, we should also introduce an environment variable that allows consumer projects to lock onto a specific version of gitlab_templates and fetch scripts from there.

Describe alternatives

No response

Additional context

The list of files we borrow from gitlab_templates:

#154 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions