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

fix click_deploy_test #2400

Merged
merged 6 commits into from
Feb 6, 2019
Merged

fix click_deploy_test #2400

merged 6 commits into from
Feb 6, 2019

Conversation

lluunn
Copy link
Contributor

@lluunn lluunn commented Feb 5, 2019

  • Change the srcDir and set GOPATH in click_deploy_test.jsonnet so that we can build with go modules
  • update build_image.sh
  • test_deploy_app.py also does cleanup first in e2e mode

For #2364
For kubeflow/testing#301


This change is Reviewable

@k8s-ci-robot k8s-ci-robot added size/M and removed size/S labels Feb 5, 2019
@lluunn lluunn changed the title WIP fix click_deploy_test fix click_deploy_test Feb 5, 2019
@lluunn
Copy link
Contributor Author

lluunn commented Feb 5, 2019

/assign @kunmingg
/assign @jlewi
ready for review

type=str,
help="e2e test project id")
parser.add_argument(
"--project_number",
default="453914067825",
default="29647740582",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need project_number? Is this the same project_number as kubeflow-ci-deployment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the same. project id and number are both passed as request. @kunmingg is it needed?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, currently we pass both project id and number to deploy API, which can be simplified.

@@ -25,7 +25,7 @@ local artifactsDir = outputDir + "/artifacts";
// Source directory where all repos should be checked out
local srcRootDir = testDir + "/src";
// The directory containing the kubeflow/kubeflow repo
local srcDir = srcRootDir + "/kubeflow/kubeflow";
local srcDir = srcRootDir + "/github.com/kubeflow/kubeflow";
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this diverging from every other test? I think for every other workflow we use
/src/{OWNER}/{REPO}

Is this because we need to set the go path?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest adding github.com to srcRootDir and then its more consistent with other workflows.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's for gopath

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

Copy link
Contributor

@kunmingg kunmingg left a comment

Choose a reason for hiding this comment

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

@lluunn
Have you try to run it in new project yet?

type=str,
help="e2e test project id")
parser.add_argument(
"--project_number",
default="453914067825",
default="29647740582",
Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, currently we pass both project id and number to deploy API, which can be simplified.

@lluunn
Copy link
Contributor Author

lluunn commented Feb 6, 2019

@kunmingg yes , I was running it in new project

@kunmingg
Copy link
Contributor

kunmingg commented Feb 6, 2019

/lgtm
/approve
Thanks!

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kunmingg

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 e388f03 into kubeflow:master Feb 6, 2019
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
* testing build image

* fix

* fix

* fix

* fix

* address comment
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.

5 participants