forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add supported versions to nats tests (elastic#16317)
Add a common entry point to nats docker images so we can use the same docker compose and Dockerfile. Add supported-versions.yml for nats service. Add support for 2.1.4. (cherry picked from commit 46cf3dd)
- Loading branch information
Showing
9 changed files
with
30 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# This script is used with old and new versions of nats, | ||
# and they use different names for their binaries, detect | ||
# which one is used and run it. | ||
|
||
# NATS 2.X | ||
if [ -x /opt/nats/nats-server ]; then | ||
exec /opt/nats/nats-server -c /opt/nats/nats-server.conf | ||
fi | ||
|
||
# NATS 1.X | ||
if [ -x /opt/nats/gnatsd ]; then | ||
exec /opt/nats/gnatsd -c /opt/nats/gnatsd.conf | ||
fi | ||
|
||
echo "Couldn't find the nats server binary" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
variants: | ||
- NATS_VERSION: 2.1.4 | ||
- NATS_VERSION: 2.0.4 | ||
- NATS_VERSION: 1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters