Skip to content

Commit

Permalink
Cache less and set versions early (apache-spark-on-k8s#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 authored Mar 21, 2017
1 parent 3d8e66f commit 4955c79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ checkout:
- echo "password=$BINTRAY_PASSWORD" >> .credentials
- echo "realm=Bintray API Realm" >> .credentials
- echo "host=api.bintray.com" >> .credentials
- ./build/mvn versions:set -DnewVersion=$(git describe --tags)

dependencies:
override:
Expand All @@ -41,7 +42,7 @@ dependencies:
# Copy all of */target/scala_2.11/classes to build_classes/
- >
rsync --info=stats2,misc1,flist0 -a --delete-excluded --prune-empty-dirs --exclude build_classes/ --exclude 'target/streams'
--include 'target/***' --include '**/' --exclude '*' . build_classes/
--exclude 'assembly/target' --exclude 'common/network-yarn/target' --exclude 'examples/target' --exclude '***/*.jar' --include 'target/***' --include '**/' --exclude '*' . build_classes/
- |
# Make sbt fetch all the external deps to ~/.ivy2 so it gets cached
./build/sbt -Phadoop-palantir -Pkinesis-asl -Pkubernetes -Pmesos -Pyarn -Phive-thriftserver -Phive -Psparkr externalDependencyClasspath
Expand Down
1 change: 0 additions & 1 deletion dev/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ publish_artifacts() {
echo "<password>$BINTRAY_PASSWORD</password>" >> $tmp_settings
echo "</server></servers></settings>" >> $tmp_settings

./build/mvn versions:set -DnewVersion=$version
./build/mvn --settings $tmp_settings -DskipTests "${PALANTIR_FLAGS[@]}" deploy
}

Expand Down

0 comments on commit 4955c79

Please sign in to comment.