Skip to content

Commit 949df92

Browse files
committed
Refactor smoke test setup to script
Avoid interpolation backflips with buildkite by extracting to a script.
1 parent 99661e9 commit 949df92

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
source .buildkite/scripts/common/vm-agent.sh
4+
./gradlew --stacktrace artifactDockerObservabilitySRE
5+
logstash_version="$(awk -F':' '{ if ("logstash" == $1) { gsub(/ /,"",$2); print $2; exit } }' versions.yml)-SNAPSHOT"
6+
docker run docker.elastic.co/logstash/logstash-observability-sre:${logstash_version} logstash -e 'input { generator { count => 3 } } output { stdout { codec => rubydebug } }'

0 commit comments

Comments
 (0)