-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
[jvm-packages] Clean up CI #10982
[jvm-packages] Clean up CI #10982
Conversation
- Properly handle shaded JARs - Remove xgboost4j-tester - Remove unused Maven profiles
@wbo4958 The PR is now ready for review. See the full build log at https://buildkite.com/organizations/xgboost/pipelines/xgboost-ci/builds/7247/jobs/01930a4e-98e2-4dad-bc10-ab2fdd58f376/log |
Is there an alternative? We have no test for xgboost jvm demos. |
I'll bring back the integration tests. |
jvm-packages/xgboost4j-tester/src/main/java/ml/dmlc/xgboost4j/tester/App.java
Show resolved
Hide resolved
Marking as draft until I bring back the integration tests. |
@wbo4958 I moved the integration tests so that |
...ackages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/BasicWalkThrough.java
Show resolved
Hide resolved
I assume we can close this one as well #7262 ? |
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.
Huge thanks for the cleanup and fixes! I will leave it to @wbo4958 for a detailed review for the pom files.
@@ -19,8 +19,16 @@ | |||
</licenses> | |||
<developers> | |||
<developer> | |||
<name>CodingCat</name> |
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.
Probably leave CodingCat here?
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.
Sure.
jvm-packages/xgboost4j-example/src/main/java/ml/dmlc/xgboost4j/java/example/EarlyStopping.java
Show resolved
Hide resolved
...ackages/xgboost4j-example/src/test/java/ml/dmlc/xgboost4j/java/example/JavaExamplesTest.java
Show resolved
Hide resolved
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
Closes #10879
Closes #7262
mvn test
would suffice.Note. I will submit a follow-up PR to update
dev/prepare_jvm_release.py
.New workflow:
mvn deploy -Pdefault,release-to-s3
, to deploy all CPU packages (xgboost4j, xgboost4j-example, xgboost4j-spark, xgboost4j-flink).mvn clean
to clean all artifactsmvn install -Pgpu
, to build xgboost4j and xgboost4j-spark-gpu with CUDA enabled and to install them locally.mvn deploy -Pgpu,release-to-s3 -pl xgboost4j-spark-gpu
to deploy xgboost4j-spark-gpu only.