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

[packit] Invalid config #71

Closed
packit-as-a-service bot opened this issue Oct 11, 2024 · 1 comment
Closed

[packit] Invalid config #71

packit-as-a-service bot opened this issue Oct 11, 2024 · 1 comment
Assignees

Comments

@packit-as-a-service
Copy link

Failed to load packit config file:

Cannot parse package config. ValidationError({'jobs': {0: {'packages': defaultdict(<class 'dict'>, {'rubygem-foreman_resource_quota': {'value': {'targets': ["Expected 'list[str]' or 'dict[str,dict]', got [{'rhel-8': {'additional_modules': 'foreman-devel:el8', 'additional_repos': ['https://yum.theforeman.org/releases/nightly/el8/x86_64/', 'https://yum.theforeman.org/plugins/nightly/el8/x86_64/']}}, {'rhel-9': {'additional_repos': ['https://yum.theforeman.org/releases/nightly/el9/x86_64/', 'https://yum.theforeman.org/plugins/nightly/el9/x86_64/']}}] (type <class 'list'>)."]}}})}}})

For more info, please check out the documentation or contact the Packit team. You can also use our CLI command validate-config or our pre-commit hooks for validation of the configuration.

@bastian-src
Copy link
Contributor

This is currently being worked on in #70.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant