mirror of https://github.com/sysown/proxysql
Replace hardcoded absolute paths with dynamically derived REPO_ROOT so these scripts work on any machine (CI runners, other developers). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>v3.0-ci260322
parent
5d02ad5faf
commit
75d958f29d
@ -1,13 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../../.." && pwd)"
|
||||
#
|
||||
# Start ProxySQL Cluster if available
|
||||
# inherits env from tester script
|
||||
#
|
||||
|
||||
/home/rene/proxysql/test/infra/control/cluster_start.bash
|
||||
/home/rene/proxysql/test/infra/control/cluster_init.bash
|
||||
${REPO_ROOT}/test/infra/control/cluster_start.bash
|
||||
${REPO_ROOT}/test/infra/control/cluster_init.bash
|
||||
|
||||
# wait for cluster to stabilize
|
||||
sleep 10
|
||||
|
||||
Loading…
Reference in new issue