Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support for Gitlab include local wildcard #24359

Open
rarkins opened this issue Sep 11, 2023 Discussed in #24356 · 1 comment
Open

Feature request: Support for Gitlab include local wildcard #24359

rarkins opened this issue Sep 11, 2023 Discussed in #24356 · 1 comment
Labels
manager:gitlabci GitLab CI config files priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented Sep 11, 2023

Discussed in #24356

Originally posted by Efesto September 11, 2023

Tell us more.

Currently renovate (36.92) doesn't support Gitlab's locale import with wildcard. https://docs.gitlab.com/ee/ci/yaml/#includelocal

For example, given a path containing the following files:

.gitlab_ci_1.yml
.gitlab_ci_2.yml
.gitlab-ci.yml

and the content of .gitlab-ci.yml as following:

include:
  - local: ".gitlab_ci_*.yml"

I'd expect the files .gitlab_ci_1.yml and .gitlab_ci_2.yml to be checked for dependencies.

Instead, I'd have to rewrite .gitlab-ci.yml as following:

include:
  - local: ".gitlab_ci_1.yml"
  - local: ".gitlab_ci_2.yml"

Here's reproduction

@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others manager:gitlabci GitLab CI config files status:ready labels Sep 11, 2023
@rarkins
Copy link
Collaborator Author

rarkins commented Sep 11, 2023

Reproduction forked to https://github.com/renovate-reproductions/24359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
manager:gitlabci GitLab CI config files priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

1 participant