Skip to content

Commit

Permalink
publish (#26)
Browse files Browse the repository at this point in the history
* publish

* newlines
  • Loading branch information
robert3005 authored Sep 22, 2016
1 parent be06603 commit 765bdcb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
21 changes: 1 addition & 20 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,4 @@ deployment:
release:
tag: /[0-9]+(?:\.[0-9]+)+-palantir[0-9]+/
commands:
- ? |
set -euo pipefail
FLAGS="-Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos"
case $CIRCLE_NODE_INDEX in
0)
./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
;;
1)
./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
2>&1 > binary-release-without-hadoop.log
;;
2)
./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 $FLAGS" \
2>&1 > binary-release-hadoop2.7.log
;;
esac
:
parallel: true
timeout: 1200

- ./dev/publish.sh
17 changes: 17 additions & 0 deletions dev/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail

FLAGS="-Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos"
case $CIRCLE_NODE_INDEX in
0)
./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
;;
1)
./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
2>&1 > binary-release-without-hadoop.log
;;
2)
./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 $FLAGS" \
2>&1 > binary-release-hadoop2.7.log
;;
esac

0 comments on commit 765bdcb

Please sign in to comment.