logstash/ci/ci_integration.sh
2016-09-22 13:43:48 -04:00

14 lines
358 B
Bash
Executable file

#!/bin/sh
set -e
# Since we are using the system jruby, we need to make sure our jvm process
# uses at least 1g of memory, If we don't do this we can get OOM issues when
# installing gems. See https://github.com/elastic/logstash/issues/5179
export JRUBY_OPTS="-J-Xmx1g"
rm -rf build/*
rake artifact:tar
cd build
tar xvf *.tar.gz
cd ../qa/integration
rspec