-
Notifications
You must be signed in to change notification settings - Fork 42
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
!reference tag of .gitlab-ci.yml not supported? #112
Comments
Thanks for the detailed issue report! I'm marking this as an enhancement request. Custom tags are a behavior of the YAML parser (
I'm interested in pursuing this, but it will take some time to work out. The In terms of additional info, the thing I'm missing the most is the "how" regarding |
Great, thanks for picking this up! To be clear though, I am only interested in getting So if |
This information is extremely useful, thank you! I was thinking we needed to process local I think the basic outline / approach is still the same, though it will be quite a bit easier. I need to figure out how to instruct the YAML parser that a |
This should be working now in v0.17.0. Please let me know if you see any issues with it! |
If I enable the |
I can't get custom YaML tags to work in check-jsonschema. In particular, the GitLab CI schema defines a custom
!reference
tag that raises an uncaught exception when attempting to validate it with check-jsonschema. Here's an example.gitlab-ci.yml
(taken from the GitLab docs):Validating it throws an exception:
This is against check-jsonschema 0.16.1 and jsonschema 4.6.0.
The GitLab documentation says to add a custom tag to the validator, but I'm not sure how to do that with check-jsonschema / jsonschema. Since the web editor of GitLab does support it since GitLab 15.1 (issue / MR) I was hoping check-jsonschema would be able to support is as well.
The text was updated successfully, but these errors were encountered: