[go: up one dir, main page]

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

opa check --bundle fails bundle roots check even when offending file is --ignored #7136

Closed
anderseknert opened this issue Oct 25, 2024 · 0 comments · Fixed by #7137
Closed
Labels

Comments

@anderseknert
Copy link
Member
$ opa check --ignore "*_test.rego" --bundle example
bundle example: manifest roots [example/app] do not permit 'package example.app_test' in module 'example/app_test/app_test.rego'

whereas opa build works with the same ignore directive:

$ opa build --ignore "*_test.rego" --bundle example
anderseknert added a commit to anderseknert/opa that referenced this issue Oct 25, 2024
Fixes open-policy-agent#7136

Signed-off-by: Anders Eknert <anders@styra.com>
anderseknert added a commit to anderseknert/opa that referenced this issue Oct 25, 2024
Fixes open-policy-agent#7136

Signed-off-by: Anders Eknert <anders@styra.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant