We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is possible to use JSON schemas to validate the YML files, which would make it much easier to author these.
I don't have too much experience with YML validation tooling, but I have managed to set up some basic integration in VSCode, involving:
seqera-kit.schema.json
organizations
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "seqerakit yml file", "type": "object", "properties": { "organizations": { "description": "Organizations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the organization" }, "full-name": { "type": "string", "description": "Full name" }, "description": { "type": "string", "description": "Description of the organization" }, "location": { "type": "string", "description": "Description of the organization" }, "website": { "type": "string", "description": "Website" }, "overwrite": { "type": ["boolean", "string"], "description": "Overwrite the organization if it already exists" } }, "required": ["name"] } } } }
.yml
"settings": { "yaml.schemas": { "file:///seqera-kit.schema.json": "seqera-kit/**.yml" },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is possible to use JSON schemas to validate the YML files, which would make it much easier to author these.
I don't have too much experience with YML validation tooling, but I have managed to set up some basic integration in VSCode, involving:
seqera-kit.schema.json
declaring the valid properties fororganizations
, e.g..yml
files:The text was updated successfully, but these errors were encountered: