Skip to content

Commit 10fc8cf

Browse files
robert3005Robert Kruszewski
authored andcommitted
publish (apache#26)
* publish * newlines
1 parent 648d10d commit 10fc8cf

File tree

2 files changed

+18
-20
lines changed

2 files changed

+18
-20
lines changed

circle.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,4 @@ deployment:
3636
release:
3737
tag: /[0-9]+(?:\.[0-9]+)+-palantir[0-9]+/
3838
commands:
39-
- ? |
40-
set -euo pipefail
41-
FLAGS="-Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos"
42-
case $CIRCLE_NODE_INDEX in
43-
0)
44-
./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
45-
;;
46-
1)
47-
./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
48-
2>&1 > binary-release-without-hadoop.log
49-
;;
50-
2)
51-
./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 $FLAGS" \
52-
2>&1 > binary-release-hadoop2.7.log
53-
;;
54-
esac
55-
:
56-
parallel: true
57-
timeout: 1200
58-
39+
- ./dev/publish.sh

dev/publish.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
FLAGS="-Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos"
5+
case $CIRCLE_NODE_INDEX in
6+
0)
7+
./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
8+
;;
9+
1)
10+
./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
11+
2>&1 > binary-release-without-hadoop.log
12+
;;
13+
2)
14+
./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 $FLAGS" \
15+
2>&1 > binary-release-hadoop2.7.log
16+
;;
17+
esac

0 commit comments

Comments
 (0)