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

[Change Proposal] Add different validation modes for source and built packages #549

Open
jsoriano opened this issue Jun 23, 2023 · 0 comments
Labels
discuss Issue needs discussion Team:Fleet Label for the Fleet team

Comments

@jsoriano
Copy link
Member

Now we are using the very same spec to validate source and built packages, but the content can be actually different. For example dev files or external fields can be found in source packages but are not expected to be on built packages. Adding two validation modes can allow us to be more strict with the content and format of built packages. It can also help on testing package build implementations like the one in elastic-package.

We would need to:

  • Expose in the validator package an interface to select the validation mode.
  • Define somehow in the spec the contents for each mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Issue needs discussion Team:Fleet Label for the Fleet team
Projects
None yet
Development

No branches or pull requests

2 participants