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

Update links and files with the new URL #1434

Merged
merged 9 commits into from
Oct 9, 2021

Conversation

andreyvelich
Copy link
Member

Since we updated the repository name: #1348, we should keep our links up to date.

Also, I updated Go version to 1.17 from 1.14.

Please take a look.

/assign @kubeflow/wg-training-leads

@andreyvelich
Copy link
Member Author

@alembiewski After running ./hack/python-sdk.sh the description for Swagger which has all APIs was modified: https://github.com/kubeflow/training-operator/blob/2fe42711fee8958930a3958fcf1ff2c508d90113/hack/python-sdk/swagger.json.
Any ideas how to keep this file consistent with the name Python SDK for Kubeflow Training ?

Maybe we should modify our gen-sdk script to have only 1 Swagger for all frameworks:

for FRAMEWORK in ${FRAMEWORKS[@]}; do
SWAGGER_CODEGEN_FILE="pkg/apis/${FRAMEWORK}/v1/swagger.json"
echo "Generating swagger file for ${FRAMEWORK} ..."
go run "${repo_root}"/hack/python-sdk/main.go "${FRAMEWORK}" ${VERSION} >"${SWAGGER_CODEGEN_FILE}"
done
?

What do you think @alembiewski @Jeffwan ?

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich, terrytangyuan

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

@terrytangyuan
Copy link
Member

/hold

@alembiewski
Copy link
Member

alembiewski commented Oct 6, 2021

@andreyvelich, thanks for catching this!
raised a quick PR with a fix: #1435

Maybe we should modify our gen-sdk script to have only 1 Swagger for all frameworks

yeah, that's what we actually do with swagger mixin later in this script, but the problem is that the first spec (tensorflow in our case) is used as primary, so that's why we have incorrect metadata in the resulting spec.

@andreyvelich
Copy link
Member Author

Thanks @alembiewski.
From my point of view, we can just keep one swagger for all APIs.
In that case, we don't need swagger mixin and generation will be simplified.

@alembiewski
Copy link
Member

@andreyvelich, I got your point and I agree with the proposed approach. Let me take a closer look at how we can simplify that. Closing #1435.

.travis.yml Outdated
@@ -3,8 +3,9 @@ language: go
go:
- "1.13"
- "1.14"
- "1.17"
Copy link
Member

Choose a reason for hiding this comment

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

what's the strategy here? It prefer higher version?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it was used to test various go env.
We will remove Travis in this PR: kubeflow/testing#967, so I can remove this change.

@tenzen-y
Copy link
Member

tenzen-y commented Oct 8, 2021

Should we rename the following description in developer_guide.md? @andreyvelich

# Developer Guide

Tf-operator is currently at v1.

@andreyvelich
Copy link
Member Author

Should we rename the following description in developer_guide.md? @andreyvelich

# Developer Guide

Tf-operator is currently at v1.

Sure, changed.

@andreyvelich
Copy link
Member Author

Great news, the CI has been triggered after this PR: kubeflow/testing#967.
cc @kubeflow/wg-training-leads

@andreyvelich andreyvelich changed the title [WIP] Update links and files with the new URL Update links and files with the new URL Oct 8, 2021
@Jeffwan
Copy link
Member

Jeffwan commented Oct 8, 2021

@andreyvelich #1440 is merged. Let's rebase the change?

@tenzen-y
Copy link
Member

tenzen-y commented Oct 8, 2021

Sorry, I forgot to fix the coveralls link of Readme in #1440. However, it seems to be correctly described in this PR, so please give priority to this PR change when rebasing. @andreyvelich

[![Coverage Status](https://coveralls.io/repos/github/kubeflow/training-operator/badge.svg?branch=master)](https://coveralls.io/github/kubeflow/tf-operator?branch=master)

@andreyvelich
Copy link
Member Author

@Jeffwan @tenzen-y Thank you for the updates!
I rebased this PR, please take a look at the changes.

@coveralls
Copy link

coveralls commented Oct 8, 2021

Pull Request Test Coverage Report for Build 1323699138

  • 0 of 40 (0.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 8.161%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/apis/tensorflow/v1/openapi_generated.go 0 13 0.0%
pkg/apis/xgboost/v1/openapi_generated.go 0 13 0.0%
pkg/apis/mxnet/v1/openapi_generated.go 0 14 0.0%
Totals Coverage Status
Change from base Build 1322574458: 0.0%
Covered Lines: 311
Relevant Lines: 3811

💛 - Coveralls

@@ -91,19 +92,19 @@ Please refer to [CHANGELOG](CHANGELOG.md)

The following table lists the most recent few versions of the operator.

| Operator Version | API Version | Kubernetes Version |
Copy link
Member

Choose a reason for hiding this comment

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

Did you use some format tools on this kind of format issue?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I am using Prettier to automatically format these docs.
Does it sounds good to you ?

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good. I am thinking we should force to use same tool and probably add it to CI later.

docs/monitoring/README.md Show resolved Hide resolved
@Jeffwan
Copy link
Member

Jeffwan commented Oct 9, 2021

em.. sorry @andreyvelich I merge the other PR and we need to rebase this one one more time.

@tenzen-y
Copy link
Member

tenzen-y commented Oct 9, 2021

LGTM👍

@andreyvelich
Copy link
Member Author

I made the changes.
@alembiewski @Jeffwan @tenzen-y Please take a look.

@tenzen-y
Copy link
Member

tenzen-y commented Oct 9, 2021

/lgtm
LGTM!
If it looks good to you, please comment with /unhold. @andreyvelich @Jeffwan

@Jeffwan
Copy link
Member

Jeffwan commented Oct 9, 2021

/unhold

@Jeffwan
Copy link
Member

Jeffwan commented Oct 9, 2021

Great! Thanks!

@google-oss-robot google-oss-robot merged commit 4b5d651 into kubeflow:master Oct 9, 2021
@andreyvelich andreyvelich deleted the fix-tf-operator-link branch October 9, 2021 21:04
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.

7 participants