ci: prefixed config files wit v/e

This commit is contained in:
JianBo He 2023-05-17 17:51:22 +08:00
parent a05156df9a
commit 73f1421d1f
11 changed files with 3 additions and 3 deletions

View File

@ -16,12 +16,12 @@ start_emqx_with_conf() {
MINOR_VSN=$(./pkg-vsn.sh "$PROFILE" | cut -d. -f1,2) MINOR_VSN=$(./pkg-vsn.sh "$PROFILE" | cut -d. -f1,2)
if [ "$PROFILE" = "emqx" ]; then if [ "$PROFILE" = "emqx" ]; then
EDITION="ce" PREFIX="v"
else else
EDITION="ee" PREFIX="e"
fi fi
FILES=$(ls ./scripts/conf-test/old-confs/$EDITION-v"$MINOR_VSN"*) FILES=$(ls ./scripts/conf-test/old-confs/$PREFIX"$MINOR_VSN"*)
cp "$EMQX_ROOT"/etc/emqx.conf "$EMQX_ROOT"/etc/emqx.conf.bak cp "$EMQX_ROOT"/etc/emqx.conf "$EMQX_ROOT"/etc/emqx.conf.bak
cleanup() { cleanup() {