xmpp-bench-proxy/contrib/tsung/tsung.sh
moparisthebest 0079f514e1
All checks were successful
moparisthebest/xmpp-bench-proxy/pipeline/head This commit looks good
Add example rtb/tsung Dockerfiles, scripts, and configs
2023-10-28 16:48:19 -04:00

10 lines
364 B
Bash

#!/bin/sh
set -eux
podman build . -t tsung
# podman run --rm --entrypoint tar tsung -C /usr/share/doc/tsung/examples -cf - . > tsungexamples.tar
rm -rf tsung-logs; mkdir -p tsung-logs; podman run --network host --rm -it -p 8091:8091 --volume $(pwd)/tsung-logs:/root/.tsung/log --volume $(pwd)/tsung.xml:/root/.tsung/tsung.xml:ro --entrypoint tsung tsung start