mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
c171bb9d59
commit
198878d292
1 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ dependencies:
|
||||||
openssl.org: '*'
|
openssl.org: '*'
|
||||||
runtime:
|
runtime:
|
||||||
env:
|
env:
|
||||||
ZOODIR: "{{prefix}}"
|
ZOODIR: '{{prefix}}'
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/autoconf: '*'
|
gnu.org/autoconf: '*'
|
||||||
|
@ -25,10 +25,10 @@ build:
|
||||||
script:
|
script:
|
||||||
- cd ..
|
- cd ..
|
||||||
- rm -rf ./zookeeper || true
|
- rm -rf ./zookeeper || true
|
||||||
- mv apache.org*zookeeper* zookeeper
|
- mv $SRCROOT zookeeper
|
||||||
- cd zookeeper
|
- cd zookeeper
|
||||||
- run: mkdir -p etc/zookeeper var/log/zookeeper var/run/zookeeper/data
|
- run: mkdir -p etc/zookeeper var/log/zookeeper var/run/zookeeper/data
|
||||||
working-directory: "{{prefix}}"
|
working-directory: '{{prefix}}'
|
||||||
- mvn install -Pfull-build -DskipTests
|
- mvn install -Pfull-build -DskipTests
|
||||||
- tar -xf zookeeper-assembly/target/apache-zookeeper-{{version}}-bin.tar.gz
|
- tar -xf zookeeper-assembly/target/apache-zookeeper-{{version}}-bin.tar.gz
|
||||||
- run: |
|
- run: |
|
||||||
|
@ -41,7 +41,7 @@ build:
|
||||||
cp -r usr/lib {{prefix}}/
|
cp -r usr/lib {{prefix}}/
|
||||||
working-directory: apache-zookeeper-{{version}}-lib
|
working-directory: apache-zookeeper-{{version}}-lib
|
||||||
- run: rm -f *.txt *.md
|
- run: rm -f *.txt *.md
|
||||||
working-directory: "{{prefix}}"
|
working-directory: '{{prefix}}'
|
||||||
- run: |
|
- run: |
|
||||||
ln -s zkCleanup.sh zkCleanup
|
ln -s zkCleanup.sh zkCleanup
|
||||||
ln -s zkCli.sh zkCli
|
ln -s zkCli.sh zkCli
|
||||||
|
@ -52,12 +52,12 @@ build:
|
||||||
ln -s zkSnapshotRecursiveSummaryToolkit.sh zkSnapshotRecursiveSummaryToolkit
|
ln -s zkSnapshotRecursiveSummaryToolkit.sh zkSnapshotRecursiveSummaryToolkit
|
||||||
ln -s zkSnapShotToolkit.sh zkSnapShotToolkit
|
ln -s zkSnapShotToolkit.sh zkSnapShotToolkit
|
||||||
ln -s zkTxnLogToolkit.sh zkTxnLogToolkit
|
ln -s zkTxnLogToolkit.sh zkTxnLogToolkit
|
||||||
working-directory: "{{prefix}}/bin"
|
working-directory: '{{prefix}}/bin'
|
||||||
- run: |
|
- run: |
|
||||||
cp zoo_sample.cfg zoo.cfg
|
cp zoo_sample.cfg zoo.cfg
|
||||||
sed -i.bak 's|dataDir=/tmp/zookeeper|dataDir=\$ZOODIR/var/run/zookeper|' zoo.cfg
|
sed -i.bak 's|dataDir=/tmp/zookeeper|dataDir=\$ZOODIR/var/run/zookeper|' zoo.cfg
|
||||||
rm -f zoo.cfg.bak
|
rm -f zoo.cfg.bak
|
||||||
working-directory: "{{prefix}}/conf"
|
working-directory: '{{prefix}}/conf'
|
||||||
provides:
|
provides:
|
||||||
- bin/zkCleanup
|
- bin/zkCleanup
|
||||||
- bin/zkCli
|
- bin/zkCli
|
||||||
|
@ -70,4 +70,4 @@ provides:
|
||||||
- bin/zkTxnLogToolkit
|
- bin/zkTxnLogToolkit
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- zkServer version | grep {{version}}
|
- zkServer version | grep {{version}}
|
||||||
|
|
Loading…
Reference in a new issue