Skip to content

Commit

Permalink
[ADAM-1914] Python profile needs to be specified for egg to be in dis…
Browse files Browse the repository at this point in the history
…tribution.

Resolves bigdatagenomics#1914.
  • Loading branch information
Frank Austin Nothaft committed Mar 7, 2018
1 parent 9ea870c commit b567077
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions scripts/jenkins-test
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,16 @@ then

# we can run the python build, now that we have a spark executable
mvn -U \
-P python,r \
test \
-P python,r,distribution \
package \
-Dhadoop.version=${HADOOP_VERSION} \
-Dspark.version=${SPARK_VERSION}

# make sure that the distribution package contains an egg
# if no assembly jar is found, this will exit with code 1 and fail the build
tar tzvf adam-distribution/target/adam-distribution*-bin.tar.gz | \
grep bdgenomics.adam | \
grep egg
fi

# run pyadam test
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ git push origin ${branch}
git checkout -b maint_spark2_2.11-${release} ${branch}
git commit -a -m "Modifying pom.xml files for Spark 2, Scala 2.11 release."
mvn --batch-mode \
-P distribution \
-P python,r,distribution \
-Dresume=false \
-Dtag=adam-parent-spark2_2.11-${release} \
-DreleaseVersion=${release} \
Expand Down

0 comments on commit b567077

Please sign in to comment.