mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
This commit adds integration tests to the Buildkite PR pipeline. Relates: - https://github.com/elastic/logstash/pull/15437 - https://github.com/elastic/ingest-dev/issues/1721 - https://github.com/elastic/logstash/pull/15279
17 lines
469 B
Bash
17 lines
469 B
Bash
#!/usr/bin/env bash
|
|
|
|
# ********************************************************
|
|
# This file contains prerequisite bootstrap invocations
|
|
# required for Logstash CI when using containerized agents
|
|
# ********************************************************
|
|
|
|
set -euo pipefail
|
|
|
|
if [[ $(whoami) == "logstash" ]]
|
|
then
|
|
export PATH="/home/logstash/.rbenv/bin:$PATH"
|
|
eval "$(rbenv init -)"
|
|
else
|
|
export PATH="/usr/local/rbenv/bin:$PATH"
|
|
eval "$(rbenv init -)"
|
|
fi
|