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

docs/test: Documentation for image validation, improve validation test coverage #88

Merged
merged 3 commits into from
Feb 12, 2021

Conversation

Starkteetje
Copy link
Member

This PR documents the existing validation procedure employed by Connaisseur. In addition, it adds some test cases for all supported and one unsupported Kubernetes resource, tests more invalid trust data and checks the combination of valid and invalid delegations alongside each other. Also typos

Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very concise description of the algorithm! I like the sentence that ends with "validated in previous steps for later files" :)

Personally, I'd say that unrelated things (missing tests, and docs of something else) should go into different commits. I like having the upside of being able to revert a commit (e.g. when you don't want the tests anymore) without loosing something else unintentionally. (I'll approve regardless.)

docs/validation.md Outdated Show resolved Hide resolved
docs/validation.md Outdated Show resolved Hide resolved
docs/validation.md Outdated Show resolved Hide resolved
docs/validation.md Outdated Show resolved Hide resolved
This commit documents the existing image validation procedure employed by Connaisseur
This commit adds some test cases for all supported and one unsupported Kubernetes resource, tests more invalid trust data and checks the combination of valid and invalid delegations alongside each other
Copy link
Member

@peterthomassen peterthomassen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@phbelitz phbelitz merged commit 64f7c84 into develop Feb 12, 2021
@phbelitz phbelitz deleted the docstest-validation branch February 12, 2021 16:09
@phbelitz phbelitz mentioned this pull request Feb 12, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants