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

Update Jenkins scripts for release #793

Merged
merged 2 commits into from
Sep 18, 2020
Merged

Conversation

NvTimLiu
Copy link
Collaborator

@NvTimLiu NvTimLiu commented Sep 17, 2020

1, Deploy integration_tests jar onto maven repo
2, Purge the Databricks shims jar to make sure downloading the latest version of Databricks shims jar
3, Get version info via 'mvn help:evaluate', since 'mvn exec:exec' doesn't work for the shade project here.

Signed-off-by: Tim Liu timl@nvidia.com

1, Deploy integration_tests jar onto internal maven repo
2, Purge the Databricks shims jar to make sure downloading the latest version of Databricks shims jar
3, Get version info via 'mvn help:evaluate', since 'mvn exec:exec' doesn't work for the shade project here.

Signed-off-by: Tim Liu <timl@nvidia.com>
@NvTimLiu NvTimLiu added the build Related to CI / CD or cleanly building label Sep 17, 2020
@NvTimLiu
Copy link
Collaborator Author

build

jenkins/deploy.sh Outdated Show resolved Hide resolved
ART_ID=`mvn exec:exec -q -pl $DIST_PL -Dexec.executable=echo -Dexec.args='${project.artifactId}'`
ART_VER=`mvn exec:exec -q -pl $DIST_PL -Dexec.executable=echo -Dexec.args='${project.version}'`
ART_ID=`mvn help:evaluate -q -pl $DIST_PL -Dexpression=project.artifactId -DforceStdout`
ART_VER=`mvn help:evaluate -q -pl $DIST_PL -Dexpression=project.version -DforceStdout`

FPATH="$DIST_PL/target/$ART_ID-$ART_VER"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Get version info via 'mvn help:evaluate', since 'mvn exec:exec' doesn't work for the shade project here.

@@ -41,6 +41,7 @@ rm -rf spark-rapids
mkdir spark-rapids
tar -zxvf $SPARKTGZ -C spark-rapids
cd spark-rapids
export WORKSPACE=`pwd`
Copy link
Collaborator Author

@NvTimLiu NvTimLiu Sep 17, 2020

Choose a reason for hiding this comment

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

Define WORKSPACE in the DB cluster to fetch cudf/spark version info:

https://github.com/NVIDIA/spark-rapids/blob/branch-0.3/build/dependency-info.sh#L30

###### Deploy integration tests jar(s) ######
TESTS_ART_ID=`mvn help:evaluate -q -pl $TESTS_PL -Dexpression=project.artifactId -DforceStdout`
TESTS_ART_VER=`mvn help:evaluate -q -pl $TESTS_PL -Dexpression=project.version -DforceStdout`
TESTS_FPATH="$TESTS_PL/target/$TESTS_ART_ID-$TESTS_ART_VER"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Deploy integration_tests jar onto maven repo

@NvTimLiu
Copy link
Collaborator Author

build

@NvTimLiu NvTimLiu merged commit ed633c0 into NVIDIA:branch-0.2 Sep 18, 2020
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Update Jenkins scripts for release

1, Deploy integration_tests jar onto internal maven repo
2, Purge the Databricks shims jar to make sure downloading the latest version of Databricks shims jar
3, Get version info via 'mvn help:evaluate', since 'mvn exec:exec' doesn't work for the shade project here.

Signed-off-by: Tim Liu <timl@nvidia.com>

* Remove -P optons from both path of the mvn depley cmds

Co-authored-by: Tim Liu <timl@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
* Update Jenkins scripts for release

1, Deploy integration_tests jar onto internal maven repo
2, Purge the Databricks shims jar to make sure downloading the latest version of Databricks shims jar
3, Get version info via 'mvn help:evaluate', since 'mvn exec:exec' doesn't work for the shade project here.

Signed-off-by: Tim Liu <timl@nvidia.com>

* Remove -P optons from both path of the mvn depley cmds

Co-authored-by: Tim Liu <timl@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
[auto-merge] bot-auto-merge-branch-22.12 to branch-23.02 [skip ci] [bot]
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.

2 participants