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

[SW-1211] Automatically download H2O Wheel during build #1139

Merged
merged 5 commits into from Apr 18, 2019
Merged

Conversation

jakubhava
Copy link
Contributor

No description provided.

@jakubhava
Copy link
Contributor Author

Waiting for tests

@jakubhava jakubhava requested a review from mn-mikke April 16, 2019 18:41
doc/src/site/sphinx/devel/build.rst Outdated Show resolved Hide resolved
doc/src/site/sphinx/devel/build.rst Outdated Show resolved Hide resolved
jenkins/sparklingWaterPipeline.groovy Outdated Show resolved Hide resolved
py/build.gradle Outdated
@@ -17,6 +17,7 @@ ext {
pkgDir = file("$buildDir/pkg")
distDir = file("$buildDir/dist")
condaDir = file("$buildDir/conda/h2o_pysparkling_${sparkMajorVersion}")
wheelFile = file("${rootDir.toString()}/.gradle/wheels/h2o-${h2oMajorVersion}.${h2oBuild}-py2.py3-none-any.whl")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is .toString() necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nope, good point

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 will resolve to string automatically

py/build.gradle Outdated
} else if (H2O_PYTHON_WHEEL != null) {
copyH2OFromH2OWheel(H2O_PYTHON_WHEEL)
} else {
copyH2OFromH2OWheel(H2O_PYTHON_WHEEL.toString())
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is .toString() necessary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, H2O_PYTHON_WHEEL is File. I made it more obvious. thx!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually no even here, we can pass in file directly

@jakubhava
Copy link
Contributor Author

Thanks for review @mn-mikke. Incorporated the changes in, let's wait for tests

@jakubhava jakubhava merged commit ce6a134 into master Apr 18, 2019
@jakubhava jakubhava deleted the jh/sw-1211 branch April 18, 2019 06:12
jakubhava added a commit that referenced this pull request Apr 18, 2019
jakubhava added a commit that referenced this pull request Apr 18, 2019
jakubhava added a commit that referenced this pull request Apr 18, 2019
jakubhava added a commit that referenced this pull request Apr 18, 2019
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.

None yet

2 participants