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

SDK/Components - Added Json Schema spec for the component format #669

Conversation

Ark-kun
Copy link
Contributor

@Ark-kun Ark-kun commented Jan 11, 2019

See the much shorter outline of the schema: https://github.com/kubeflow/pipelines/blob/ae7cefede4cc005b5d2f443156450f317220a99e/sdk/python/kfp/components/structures/components.json_schema.outline.yaml

It's not an example. It's an outline. It's a component schema with sub-schemas inlined and without any extra info.

This change is Reviewable

@Ark-kun Ark-kun force-pushed the SDK/Components---Added-JsonSchema-spec-for-the-component-format branch from 9cb1baa to 6cbb6f2 Compare January 11, 2019 22:09
@Ark-kun Ark-kun force-pushed the SDK/Components---Added-JsonSchema-spec-for-the-component-format branch from 6cbb6f2 to 64ca29d Compare January 11, 2019 22:10
@Ark-kun Ark-kun removed the approved label Jan 11, 2019
@Ark-kun Ark-kun force-pushed the SDK/Components---Added-JsonSchema-spec-for-the-component-format branch from 64ca29d to ae7cefe Compare January 12, 2019 00:03
@Ark-kun Ark-kun removed the approved label Jan 12, 2019
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jan 12, 2019

/test kubeflow-pipeline-build-image

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jan 12, 2019

I wonder should we leave the spec nesting or should we squash it like Argo does? https://github.com/argoproj/argo/blob/master/pkg/apis/workflow/v1alpha1/types.go#L152
@IronPan @vicaire , what do you think?

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jan 12, 2019

Also, WDYT about the k8sPodOptions naming? I wanted to show that these options are k8s-specific unlike many other options that are k8s-agnostic.

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jan 12, 2019

/test kubeflow-pipeline-build-image

1 similar comment
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Jan 14, 2019

/test kubeflow-pipeline-build-image

@IronPan
Copy link
Member

IronPan commented Jan 14, 2019

/assign @IronPan

@Ark-kun Ark-kun force-pushed the SDK/Components---Added-JsonSchema-spec-for-the-component-format branch from ae7cefe to d56ff7c Compare January 15, 2019 21:59
@Ark-kun Ark-kun removed the approved label Jan 15, 2019
Made more ContainerSpec properties support placeholders
…removing them

Sure, Argo and DSL supports it, but some people care more about the spec file size even when that means dropping already supported features.
Sorry, Bradley and Riley.
@Ark-kun
Copy link
Contributor Author

Ark-kun commented Aug 9, 2019

Could we drop the graph component part of the component spec in this PR?

I've done that on February 5

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 12, 2019

I've updated the schema to match the current effective component specification.

@Ark-kun Ark-kun requested review from numerology and removed request for qimingj November 12, 2019 22:17
Copy link

@numerology numerology left a comment

Choose a reason for hiding this comment

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

some nit comments. Otherwise LGTM

@numerology
Copy link

/lgtm

@Ark-kun
Copy link
Contributor Author

Ark-kun commented Nov 12, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit da5cbb8 into kubeflow:master Nov 12, 2019
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
Add set -e to exit on first failure
HumairAK pushed a commit to red-hat-data-services/data-science-pipelines that referenced this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants