-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Vendor pull does not support double-star glob for exclusions or templating on the include/exclude list #835
Comments
@jamengual in this example, I'm a little bit confused by this: |
My vendor file uses : - source: 'git::https://x-access-token:{{env "GITHUB_TOKEN"}}@github.com/ORG/pepe-iac.git' where the token comes from the github workflow. supporting go-template could be even better. |
Injecting the GitHub token is now handled automatically by atmos: |
We won't support regexes at this time, but we will fix double-star globs to work as expected.
|
Describe the Bug
atmos vendor pull can't exclude subdirs.
If I have :
and vendor yaml with :
Atmos is not able to match the path of the subdir and it vendors all the files under
pepe2
dirit is also not possible to templatize the exclude or include paths, which is helpful when you have automated pipelines that can expose the names of dirs you want to exclude.
- "**/stacks/**/${exclude_me}"
That will be nice to have.
Atmos 1.110.0
Expected Behavior
Atmos should support regexes fully for the exclude and include paths
Steps to Reproduce
atmos vendor pull
Screenshots
No response
Environment
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: