From 96dd2dbd75df4faf17122a8fa59f93a1310f5a82 Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Thu, 19 Jun 2025 08:10:09 +0000 Subject: [PATCH] start proxysql cluster for default groups --- test/tap/groups/default-g1/.gitkeep | 0 test/tap/groups/default-g1/pre-proxysql.bash | 13 +++++++++++++ test/tap/groups/default-g2/.gitkeep | 0 test/tap/groups/default-g2/pre-proxysql.bash | 13 +++++++++++++ test/tap/groups/default-g3/.gitkeep | 0 test/tap/groups/default-g3/pre-proxysql.bash | 13 +++++++++++++ test/tap/groups/default-g4/.gitkeep | 0 test/tap/groups/default-g4/pre-proxysql.bash | 13 +++++++++++++ 8 files changed, 52 insertions(+) delete mode 100644 test/tap/groups/default-g1/.gitkeep create mode 100644 test/tap/groups/default-g1/pre-proxysql.bash delete mode 100644 test/tap/groups/default-g2/.gitkeep create mode 100644 test/tap/groups/default-g2/pre-proxysql.bash delete mode 100644 test/tap/groups/default-g3/.gitkeep create mode 100644 test/tap/groups/default-g3/pre-proxysql.bash delete mode 100644 test/tap/groups/default-g4/.gitkeep create mode 100644 test/tap/groups/default-g4/pre-proxysql.bash diff --git a/test/tap/groups/default-g1/.gitkeep b/test/tap/groups/default-g1/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/tap/groups/default-g1/pre-proxysql.bash b/test/tap/groups/default-g1/pre-proxysql.bash new file mode 100644 index 000000000..19233894b --- /dev/null +++ b/test/tap/groups/default-g1/pre-proxysql.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# change infra config +# inherits env from tester script +# + + +# Start ProxySQL Cluster if available +$JENKINS_SCRIPTS_PATH/cluster_start.bash +$JENKINS_SCRIPTS_PATH/cluster_init.bash + +# wait for cluster to stabilize +sleep 10 diff --git a/test/tap/groups/default-g2/.gitkeep b/test/tap/groups/default-g2/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/tap/groups/default-g2/pre-proxysql.bash b/test/tap/groups/default-g2/pre-proxysql.bash new file mode 100644 index 000000000..19233894b --- /dev/null +++ b/test/tap/groups/default-g2/pre-proxysql.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# change infra config +# inherits env from tester script +# + + +# Start ProxySQL Cluster if available +$JENKINS_SCRIPTS_PATH/cluster_start.bash +$JENKINS_SCRIPTS_PATH/cluster_init.bash + +# wait for cluster to stabilize +sleep 10 diff --git a/test/tap/groups/default-g3/.gitkeep b/test/tap/groups/default-g3/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/tap/groups/default-g3/pre-proxysql.bash b/test/tap/groups/default-g3/pre-proxysql.bash new file mode 100644 index 000000000..19233894b --- /dev/null +++ b/test/tap/groups/default-g3/pre-proxysql.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# change infra config +# inherits env from tester script +# + + +# Start ProxySQL Cluster if available +$JENKINS_SCRIPTS_PATH/cluster_start.bash +$JENKINS_SCRIPTS_PATH/cluster_init.bash + +# wait for cluster to stabilize +sleep 10 diff --git a/test/tap/groups/default-g4/.gitkeep b/test/tap/groups/default-g4/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/test/tap/groups/default-g4/pre-proxysql.bash b/test/tap/groups/default-g4/pre-proxysql.bash new file mode 100644 index 000000000..19233894b --- /dev/null +++ b/test/tap/groups/default-g4/pre-proxysql.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# +# change infra config +# inherits env from tester script +# + + +# Start ProxySQL Cluster if available +$JENKINS_SCRIPTS_PATH/cluster_start.bash +$JENKINS_SCRIPTS_PATH/cluster_init.bash + +# wait for cluster to stabilize +sleep 10