-
Notifications
You must be signed in to change notification settings - Fork 3.9k
ARROW-5466: [Java][CI] Dockerize Java CI, run all JDK builds in single Travis entry #4761
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4761 +/- ##
==========================================
+ Coverage 86.44% 88.39% +1.94%
==========================================
Files 992 908 -84
Lines 138020 114089 -23931
Branches 1418 1418
==========================================
- Hits 119309 100845 -18464
+ Misses 18349 12882 -5467
Partials 362 362Continue to review full report at Codecov.
|
|
Well that was relatively painless |
xhochy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM
docker-compose.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use ursalabs (the last s is missing) for organization name on Docker Hub?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that this name is already taken on Docker Hub. I don't know who owns it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. I got it.
java/Dockerfile.all-jdks
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can install both openjdk-8-jdk and openjdk-11-jdk without this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks
ci/docker_build_java.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about adding --delete rsync option or removing ${arrow_src} before rsync?
If there are some built files with OpenJDK 8, OpenJDK 11 build may be conflicted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, will do
pravindra
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
Will merge this once the build runs |
BryanCutler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I just had a couple minor questions
| - name: "Java w/ OpenJDK 11" | ||
| language: java | ||
| - name: "Java OpenJDK8 and OpenJDK11" | ||
| language: cpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should language be Java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one doesn't matter b/c it's Java
ci/docker_build_java.sh
Outdated
|
|
||
| pushd $arrow_src/java | ||
| mvn -B -DskipTests -Drat.skip=true install | ||
| mvn -B -DskipTests -Drat.skip=true install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, this is build only and you don't want tests run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for catching. Yeah we need to run the tests. I'll fix
…e Travis entry Since OpenJDK9 has been superseded by OpenJDK11, it is not available in package repositories, so I'm not sure it's worth maintaining a build for this. I have pushed a pre-built Docker image for this to https://cloud.docker.com/u/ursalab/repository/docker/ursalab/arrow-ci-java-all-jdks Author: Wes McKinney <wesm+git@apache.org> Closes #4761 from wesm/java-dockerify and squashes the following commits: 8b81037 <Wes McKinney> Actually run Java unit tests cf568a2 <Wes McKinney> Code review feedback 6cb5e3f <Wes McKinney> Build Javadoc in docker-compose job d9c3900 <Wes McKinney> Run all Java builds in a single Dockerized Travis CI entry
…e Travis entry Since OpenJDK9 has been superseded by OpenJDK11, it is not available in package repositories, so I'm not sure it's worth maintaining a build for this. I have pushed a pre-built Docker image for this to https://cloud.docker.com/u/ursalab/repository/docker/ursalab/arrow-ci-java-all-jdks Author: Wes McKinney <wesm+git@apache.org> Closes #4761 from wesm/java-dockerify and squashes the following commits: 8b81037 <Wes McKinney> Actually run Java unit tests cf568a2 <Wes McKinney> Code review feedback 6cb5e3f <Wes McKinney> Build Javadoc in docker-compose job d9c3900 <Wes McKinney> Run all Java builds in a single Dockerized Travis CI entry
…e Travis entry Since OpenJDK9 has been superseded by OpenJDK11, it is not available in package repositories, so I'm not sure it's worth maintaining a build for this. I have pushed a pre-built Docker image for this to https://cloud.docker.com/u/ursalab/repository/docker/ursalab/arrow-ci-java-all-jdks Author: Wes McKinney <wesm+git@apache.org> Closes apache#4761 from wesm/java-dockerify and squashes the following commits: 8b81037 <Wes McKinney> Actually run Java unit tests cf568a2 <Wes McKinney> Code review feedback 6cb5e3f <Wes McKinney> Build Javadoc in docker-compose job d9c3900 <Wes McKinney> Run all Java builds in a single Dockerized Travis CI entry
Since OpenJDK9 has been superseded by OpenJDK11, it is not available in package repositories, so I'm not sure it's worth maintaining a build for this.
I have pushed a pre-built Docker image for this to
https://cloud.docker.com/u/ursalab/repository/docker/ursalab/arrow-ci-java-all-jdks