Skip to content

Commit

Permalink
Update jenkins files for 0.3 (NVIDIA#693)
Browse files Browse the repository at this point in the history
* Update jenkins files for branch-0.3, remove including databricks jar in
premerge build, and update databricks build to use a separate cluster
for 0.3.

Signed-off-by: Thomas Graves <tgraves@nvidia.com>

* Fix removal of -P

Signed-off-by: Thomas Graves <tgraves@nvidia.com>
  • Loading branch information
tgravescs authored Sep 9, 2020
1 parent 73f5b65 commit 870cd5a
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile.301.integration
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pipeline {
parameters {
string(name: 'OVERWRITE_PARAMS', defaultValue: '',
description: 'parameters format XXX_VER=xxx;YYY_VER=yyy;')
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile.302.integration
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pipeline {
parameters {
string(name: 'OVERWRITE_PARAMS', defaultValue: '',
description: 'parameters format XXX_VER=xxx;YYY_VER=yyy;')
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile.310.integration
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pipeline {
parameters {
string(name: 'OVERWRITE_PARAMS', defaultValue: '',
description: 'parameters format XXX_VER=xxx;YYY_VER=yyy;')
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down
6 changes: 3 additions & 3 deletions jenkins/Jenkinsfile.databricksnightly
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ pipeline {
choice(name: 'DEPLOY_TO', choices: ['Urm', 'Local'],
description: 'Where to deploy artifacts to')
string(name: 'DATABRICKS_VERSION',
defaultValue: '0.2.0-SNAPSHOT', description: 'Version to set')
defaultValue: '0.3.0-SNAPSHOT', description: 'Version to set')
string(name: 'CUDF_VERSION',
defaultValue: '0.15', description: 'Cudf version to use')
string(name: 'CUDA_VERSION',
defaultValue: 'cuda10-1', description: 'cuda version to use')
string(name: 'CLUSTER_ID',
defaultValue: '0617-140138-umiak14', description: 'databricks cluster id')
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
defaultValue: '0909-141326-pawl52', description: 'databricks cluster id')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile.integration
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pipeline {
description: 'parameters format XXX_VER=xxx;YYY_VER=yyy;')
string(name: 'CUDA_CLASSIFIER', defaultValue: 'cuda10-1',
description: '-Dclassifier=\n\n cuda10-1, cuda10-2, EMPTY as cuda10-1')
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down
6 changes: 3 additions & 3 deletions jenkins/Jenkinsfile.nightly
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pipeline {
}

parameters {
string(name: 'REF', defaultValue: 'branch-0.2', description: 'Commit to build')
string(name: 'REF', defaultValue: 'branch-0.3', description: 'Commit to build')
}

environment {
Expand Down Expand Up @@ -83,9 +83,9 @@ pipeline {
always {
script {
if (currentBuild.currentResult == "SUCCESS") {
build(job: 'spark/rapids_integration-0.2-github',
build(job: 'spark/rapids_integration-0.3-github',
propagate: false,
parameters: [string(name: 'REF', value: 'branch-0.2')])
parameters: [string(name: 'REF', value: 'branch-0.3')])

slack("#rapidsai-spark-cicd", "Success", color: "#33CC33")
} else {
Expand Down
2 changes: 1 addition & 1 deletion jenkins/spark-premerge-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export PATH="$SPARK_HOME/bin:$SPARK_HOME/sbin:$PATH"
tar zxf $SPARK_HOME.tgz -C $ARTF_ROOT && \
rm -f $SPARK_HOME.tgz

mvn -U -B $MVN_URM_MIRROR '-Pinclude-databricks,!snapshot-shims' clean verify -Dpytest.TEST_TAGS=''
mvn -U -B $MVN_URM_MIRROR '-P!snapshot-shims' clean verify -Dpytest.TEST_TAGS=''
# Run the unit tests for other Spark versions but dont run full python integration tests
env -u SPARK_HOME mvn -U -B $MVN_URM_MIRROR -Pspark301tests,snapshot-shims test -Dpytest.TEST_TAGS=''
env -u SPARK_HOME mvn -U -B $MVN_URM_MIRROR -Pspark310tests,snapshot-shims test -Dpytest.TEST_TAGS=''
Expand Down
2 changes: 1 addition & 1 deletion jenkins/version-def.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ IFS=$PRE_IFS

CUDF_VER=${CUDF_VER:-"0.15"}
CUDA_CLASSIFIER=${CUDA_CLASSIFIER:-"cuda10-1"}
PROJECT_VER=${PROJECT_VER:-"0.2.0-SNAPSHOT"}
PROJECT_VER=${PROJECT_VER:-"0.3.0-SNAPSHOT"}
SPARK_VER=${SPARK_VER:-"3.0.0"}
SCALA_BINARY_VER=${SCALA_BINARY_VER:-"2.12"}
SERVER_ID=${SERVER_ID:-"snapshots"}
Expand Down

0 comments on commit 870cd5a

Please sign in to comment.