Merge "bench: Maintain server_url in config file"
This commit is contained in:
commit
3d08e3410e
3 files changed
+3
-1
No files matched your search
@@ -115,7 +115,6 @@
|
||||
c-sch: false
|
||||
c-vol: false
|
||||
tempest: false
|
||||
tox_extra_args: -- -s http://localhost/messaging
|
||||
tox_envlist: bench
|
||||
run: playbooks/bench/run.yaml
|
||||
|
||||
|
||||
@@ -137,6 +137,8 @@ function configure_zaqar {
|
||||
fi
|
||||
|
||||
write_uwsgi_config "$ZAQAR_UWSGI_CONF" "$ZAQAR_UWSGI" "/messaging" "" "zaqar"
|
||||
|
||||
iniset $ZAQAR_BENCH_CONF DEFAULT server_url $ZAQAR_SERVICE_PROTOCOL://$ZAQAR_SERVICE_HOST/messaging
|
||||
}
|
||||
|
||||
function configure_redis {
|
||||
|
||||
@@ -7,6 +7,7 @@ ZAQAR_CONF=$ZAQAR_CONF_DIR/zaqar.conf
|
||||
ZAQAR_UWSGI_CONF=$ZAQAR_CONF_DIR/uwsgi.conf
|
||||
ZAQAR_UWSGI=zaqar.transport.wsgi.app:application
|
||||
ZAQAR_API_LOG_DIR=/var/log/zaqar
|
||||
ZAQAR_BENCH_CONF=$ZAQAR_CONF_DIR/zaqar-benchmark.conf
|
||||
|
||||
# Support potential entry-points console scripts
|
||||
ZAQAR_BIN_DIR=$(get_python_exec_prefix)
|
||||
|
||||
Reference in new issue
Block a user