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

✨ Add Drone-CI as vendored schema #299

Merged
merged 5 commits into from Aug 11, 2023

Conversation

s-weigand
Copy link
Contributor

@s-weigand s-weigand commented Aug 11, 2023

This PR adds drone-ci to the vendored schema.

The positive test examples I added are from the pipeline docs.

And the negative one just has a bad value for the type of the pipeline.

As per the docs there also is an AWS pipeline but the current schema does not support it (tested with YAML LSP in vscode) so I didn't add it as a test case.

@s-weigand
Copy link
Contributor Author

Also thanks for the project this is exactly what I was looking for ❤

Copy link
Member

@sirosen sirosen left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for contributing this and for your kind words!

I'm happy to include this and release; and everything I've double-checked lines up (e.g. the file path regex matches the schemastore catalog and the Drone CI docs).
I hope adding this was an easy and generally postiive experience!

I've left a little noncritical note about .gitignore, but I won't worry about it since there are no other issues to address.

@@ -6,3 +6,4 @@ dist/
.coverage
.coverage.*
.tox
.vscode
Copy link
Member

Choose a reason for hiding this comment

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

A quick note: I won't require this to be removed but I would prefer not to add it. I may remove it in the future (but I'm not such a curmudgeon that I'll do it right after merging "just because" 😉 ).

My opinion is that .gitignore files per repo should cover files produced by that repo, and that a global gitignore should be used for developer-specific things (.idea, .vscode, .DS_Store, etc).

@sirosen
Copy link
Member

sirosen commented Aug 11, 2023

Oh 🤦 I didn't let CI run before approving. Let's wait for that to confirm, and then I'll merge assuming it passes.

@sirosen sirosen merged commit 6a17e37 into python-jsonschema:main Aug 11, 2023
19 checks passed
@s-weigand s-weigand deleted the add-drone-ci branch August 11, 2023 23:32
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

2 participants