mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
This commit adds a Buildkite pipeline to test against serverless endpoint daily Tests cover - es-output - es-input - es-filter - central pipeline management - legacy monitoring - dlq - integration-filter - kibana API - metricbeat stack monitoring Co-authored-by: João Duarte <jsvd@users.noreply.github.com> Co-authored-by: João Duarte <jsvduarte@gmail.com>
22 lines
701 B
Bash
Executable file
22 lines
701 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
vault_path=secret/ci/elastic-logstash/serverless-test
|
|
|
|
export JRUBY_OPTS="-J-Xmx1g"
|
|
export SERVERLESS=true
|
|
set +x
|
|
export ES_ENDPOINT=$(vault read -field=es_host "${vault_path}")
|
|
export ES_USER=$(vault read -field=es_user "${vault_path}")
|
|
export ES_PW=$(vault read -field=es_user_pw "${vault_path}")
|
|
set -x
|
|
|
|
./gradlew clean bootstrap assemble installDefaultGems unpackTarDistribution
|
|
./gradlew :logstash-core:copyGemjar
|
|
|
|
export GEM_PATH=vendor/bundle/jruby/3.1.0
|
|
export GEM_HOME=vendor/bundle/jruby/3.1.0
|
|
|
|
vendor/jruby/bin/jruby -S bundle install --with development
|
|
|
|
vendor/jruby/bin/jruby -S bundle exec rspec -fd qa/integration/specs/dlq_spec.rb -e "using pipelines.yml"
|