-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Create json schema for yaml configuration #5083
Comments
@patrick-stephens please lets add the fluent-bit -J output to the nightly/unstable + released artefacts. |
In progress, should be ready once the automation is running correctly. |
This should be present in the release jobs now. It'll be in the S3 bucket @niedbalski but we could also copy to the packages server, although I'd say let's align with #5098 and stop duplicating things. Re-open if you want it elsewhere. |
Manually deployed here:
Minor niggle in the S3 sync should be resolved by #5270 |
@patrick-stephens I used that schema to infer a json-schema compliant with draft 7. I believe schemastore would ask for that format. |
@ffflabs just checking that is a good thing right or do we need to do something else? Sorry, I'm not really an expert on schema store so just checking if there is more stuff that needs doing. |
i couldn't find schemas for the latest releases. Did I miss something or did this get lost? |
They should be around somewhere but it has been a while - they're just generated from the build anyway via the |
It is being generated:
We then push it to the bucket:
That does ignore errors - older builds cannot support it - but it was sync'd: https://github.com/fluent/fluent-bit/actions/runs/5652281163/job/15354447347#step:4:11 I cannot see any specific filtering of it:
My guess is some of the refactoring we have had to do elsewhere may have affected it. |
Ah, it is there: https://packages.fluentbit.io/2.1.8/ |
Okay thanks a lot for digging into this! |
I'm not that deep into json schemas, but this version seems like a version of json schema other tools won't understand. How is this schema generated? |
I would raise a separate issue for problems with it @henrysachs. I don't really know how it is generated other than we invoke the |
okay owm :) |
I generated a schema here since @ffflabs is 404'd |
Is your feature request related to a problem? Please describe.
IDEs can use JSON schemas to help users define their YAML configurations through completion.
Describe the solution you'd like
To have a JSON schema available either through public repo or published in https://www.schemastore.org.
The text was updated successfully, but these errors were encountered: