Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

SUBMARINE-813. Add mock test to pysubmarine models.#579

Merged
kobe860219 merged 18 commits intoapache:masterfrom
jeff-901:SUBMARINE-813
May 10, 2021
Merged

SUBMARINE-813. Add mock test to pysubmarine models.#579
kobe860219 merged 18 commits intoapache:masterfrom
jeff-901:SUBMARINE-813

Conversation

@jeff-901
Copy link
Copy Markdown
Contributor

@jeff-901 jeff-901 commented May 4, 2021

What is this PR for?

Add mock test to new pysubmarine feature -- model management.

What type of PR is it?

Improvement

Todos

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-813

How should this be tested?

Screenshots (if appropriate)

Questions:

  • Do the license files need updating? No
  • Are there breaking changes for older versions? No
  • Does this need new documentation? No

# TODO: Setup cluster by helm in CI/CD to enable mlflow server connection
# TODO: Set an cooldown time between each test case
@pytest.mark.skip(reason="no way of currently testing this")
# @pytest.mark.skip(reason="no way of currently testing this")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this annotation no longer applies, please remove it entirely.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok. I remove it.

Copy link
Copy Markdown
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

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

@jeff-901 Thanks you for contributons.
In addition, I saw python checks have failing, Please fixed it. Thanks.

### What is this PR for?

Install local notebook-controller chart via Helm golang API.

tfjob chart: https://github.com/apache/submarine/tree/master/helm-charts/submarine/charts/tfjob

Helm golang API: https://github.com/apache/submarine/blob/master/submarine-cloud-v2/pkg/helm/helm.go

### What type of PR is it?
Feature

### Todos

### What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-812

### How should this be tested?

https://travis-ci.org/github/noidname01/submarine/builds/769329103

-->
### Screenshots (if appropriate)

Helm install
![helm_all](https://imgur.com/zWGCjhx.png)

In-cluster operator

![operator_all](https://imgur.com/orZLGjj.png)

### Questions:
* Do the license files need updating? No
* Are there breaking changes for older versions? No
* Does this need new documentation? No

Author: noidname01 <tim983649@gmail.com>

Signed-off-by: Liu Xun <liuxun@apache.org>

Closes apache#578 from noidname01/SUBMARINE-812 and squashes the following commits:

4797fce [noidname01] SUBMARINE-812. Install local tfjob chart via helm golang API
from submarine import ModelsClient


# Temporarily skip these tests after the following is solved:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These three lines can be removed too

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

@ByronHsu
Copy link
Copy Markdown
Member

ByronHsu commented May 9, 2021

LGTM

@kobe860219 kobe860219 merged commit f0bfa55 into apache:master May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants