Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Auto generate Kedge JSON schema for every PR #280

Closed
3 tasks done
surajssd opened this issue Sep 19, 2017 · 7 comments
Closed
3 tasks done

Auto generate Kedge JSON schema for every PR #280

surajssd opened this issue Sep 19, 2017 · 7 comments

Comments

@surajssd
Copy link
Member

surajssd commented Sep 19, 2017

On every merge of PR we need to update the JSONschema for kedge, right now the JSONSchema resides in https://github.com/kedgeproject/json-schema/tree/master/schema Right now it is done manually, we need to automate it.

So two things need to be done right now:

  • Do generation of schema as mentioned in docs here.
  • Push that config to some repo or in some place in repo.
  • Documentation on how json-schema generation works and describing generated files as part of this issue.
@kadel
Copy link
Member

kadel commented Sep 19, 2017

we could use Bintray for hosting JSON schema similarly to what we are doing with latest builds
https://bintray.com/kedgeproject/kedge/kedge

We should have JSON schema for every release and one for the latest (corresponding with master branch)

@kadel kadel added this to the 0.3.0 milestone Sep 19, 2017
@pradeepto
Copy link
Member

@kadel That does make sense to me. Except that I would rather call master as master. Latest is generally the last released version, at least in most places I see.

@kadel
Copy link
Member

kadel commented Sep 19, 2017

you are right, 'master' is much better

@kadel
Copy link
Member

kadel commented Sep 20, 2017

Documentation on how json-schema generation works and describing generated files as part of this issue.

@surajssd
Copy link
Member Author

@kadel marked it!

@pradeepto pradeepto self-assigned this Sep 20, 2017
@kadel kadel added the size/M label Sep 20, 2017
@kadel kadel modified the milestones: 0.3.0, 0.4.0 Oct 10, 2017
@surajssd
Copy link
Member Author

Right now blocked on instrumenta/openapi2jsonschema#5

Will have to debug our OpenAPI maybe if that is causing problems!

@concaf
Copy link
Collaborator

concaf commented Jan 2, 2018

I think our JSON Schema is in a better and workable state right now. All that's left is to do the generation on every merge and push to https://github.com/kedgeproject/json-schema automatically.

concaf added a commit to concaf/kedge that referenced this issue Jan 2, 2018
This commit configures Travis to run a script on every merge to
Kedge master branch which updates the JSON Schema residing in
https://github.com/kedgeproject/json-schema

Significantly improves kedgeproject#280
concaf added a commit to concaf/kedge that referenced this issue Jan 2, 2018
This commit configures Travis to run a script on every merge to
Kedge master branch which updates the JSON Schema residing in
https://github.com/kedgeproject/json-schema

Significantly improves kedgeproject#280
concaf added a commit to concaf/kedge that referenced this issue Jan 2, 2018
This commit configures Travis to run a script on every merge to
Kedge master branch which updates the JSON Schema residing in
https://github.com/kedgeproject/json-schema

Significantly improves kedgeproject#280
@kadel kadel closed this as completed Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants