From f979835728e20159e8f4e6622c4812369c1152e4 Mon Sep 17 00:00:00 2001 From: Oz N Tiram Date: Wed, 20 Dec 2023 11:21:02 +0100 Subject: [PATCH] Add option to specify the two node backend --- test/test-two-node.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test-two-node.sh b/test/test-two-node.sh index 8fc146e..d2c8f1f 100755 --- a/test/test-two-node.sh +++ b/test/test-two-node.sh @@ -59,6 +59,10 @@ export CLUSTER_VIP= # choose an unassigned VIP export EARTHLY_BUILDKIT_CACHE_SIZE_MB=100000 export OCI_REGISTRY=ttl.sh +# cluster vars +export BACKEND=postgres # postgres or sqlite + + # Do not edit anything below declare -a vm_array=("2n1-$HOST_SUFFIX" "2n2-$HOST_SUFFIX") @@ -96,7 +100,7 @@ stylus: debug: true twoNode: enabled: true - backend: sqlite + backend: "$BACKEND" livenessSeconds: 30 install: poweroff: true