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

Align manifest and component spec schemas #39

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

RobbeSneyders
Copy link
Member

This PR:

  • shares the field and fields definitions between the manifest and component spec
  • Moves object definitions into the definitions block for the component spec
  • Formats the schema files

"required": [
"name",
"description",
"image",
Copy link
Contributor

Choose a reason for hiding this comment

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

I was wondering whether the "image" is relevant for the Fondant spec, or whether this is only relevant for the Kubeflow spec. For the moment this field is not used

Copy link
Member Author

Choose a reason for hiding this comment

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

It's necessary to build the kubeflow spec. I think it's logical that fondant components need to define the image they'll be executed with.

Copy link
Contributor

@NielsRogge NielsRogge left a comment

Choose a reason for hiding this comment

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

Thanks for improving!

@RobbeSneyders RobbeSneyders merged commit 7e146e2 into main Apr 25, 2023
Copy link
Contributor

@PhilippeMoussalli PhilippeMoussalli left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

}
"type": {
"type": "string",
"enum": [
Copy link
Contributor

Choose a reason for hiding this comment

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

We have to remember to be able to pase those internally for the user since lists and dicts are often returned as json arrays.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll create a ticket for it

@RobbeSneyders RobbeSneyders deleted the feature/align-schemas branch May 15, 2023 16:29
Hakimovich99 pushed a commit that referenced this pull request Oct 16, 2023
This PR:
- shares the `field` and `fields` definitions between the manifest and
component spec
- Moves object definitions into the `definitions` block for the
component spec
- Formats the schema files
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.

3 participants