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

Deploy the sources and Javadoc JARs in the nightly CICD [skip ci] #11915

Open
wants to merge 3 commits into
base: branch-25.02
Choose a base branch
from

Conversation

NvTimLiu
Copy link
Collaborator

@NvTimLiu NvTimLiu commented Jan 6, 2025

For fixing: #11914

Deploy the sources and javadoc JARS to make sure nightly CICD includes all jars required by Sonatype release

Deploy dist jars in the final step to ensure that the POM files are not overwritten

Deploy the sources and javadoc JARS to make sure nightly CICD includes all jars required by Sonatype release

Deploy dist jars in the final step to ensure that the POM files are not overwritten

Signed-off-by: Tim Liu <[email protected]>
@NvTimLiu NvTimLiu added the build Related to CI / CD or cleanly building label Jan 6, 2025
@NvTimLiu NvTimLiu self-assigned this Jan 6, 2025
@NvTimLiu
Copy link
Collaborator Author

NvTimLiu commented Jan 6, 2025

Skip CI, pre-merge build can not cover this change

Local nightly CI job got PASS:

image

image

@@ -189,6 +190,18 @@ if [[ $SKIP_DEPLOY != 'true' ]]; then
-Dmaven.scaladoc.skip -Dmaven.scalastyle.skip=true \
$MVN_URM_MIRROR -Dmaven.repo.local=$M2DIR \
-Dcuda.version=$DEFAULT_CUDA_CLASSIFIER

# dist module does not have javadoc and sources jars, use 'sql-plugin' ones instead
SQL_ART_PATH="$(echo -n $SQL_PLGUIN_PATH/target/spark*)/rapids-4-spark-sql_${SCALA_BINARY_VER}-${ART_VER}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can share the jenkins/deploy.sh for both nightly and sonatype deploy

Support deploying both Scala 2.12 and Scala 2.13 artifacts in jenkins/deploy.sh

Signed-off-by: Tim Liu <[email protected]>
mv ${TMP_PATH}/${ART_ID}-${ART_VER}-*.jar ${DIST_PATH}/target/
fi
# Deploy dist jars in the final step to ensure that the POM files are not overwritten
jenkins/deploy.sh
Copy link
Collaborator

@pxLi pxLi Jan 7, 2025

Choose a reason for hiding this comment

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

nit: it would be nice to explicitly put some defaults ENV at the place to call the script like SERVER_URL for the new nightly deployment change. especially it would be different with the script default SERVER_URL=${SERVER_URL:-"file:/tmp/local-release-repo"}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated.

Set default environments to deploy artifacts to the internal maven repo

Copy link
Collaborator

@pxLi pxLi left a comment

Choose a reason for hiding this comment

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

LGTM. please keep monitoring after merge thanks

@pxLi
Copy link
Collaborator

pxLi commented Jan 7, 2025

build

@NvTimLiu
Copy link
Collaborator Author

NvTimLiu commented Jan 7, 2025

Local nightly CI got PASS for both scala 2.12 and 2.13:

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants