chore: shorten ct/run.sh script

This commit is contained in:
JianBo He 2023-04-21 20:00:26 +08:00
parent b270623c46
commit 895963c0f6
1 changed files with 6 additions and 45 deletions

View File

@ -108,51 +108,12 @@ case "${WHICH_APP}" in
## ensure enterprise profile when testing lib-ee applications
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_kafka)
## ensure enterprise profile when testing ee applications
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_cassandra)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_clickhouse)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_dynamo)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_gcp_pubsub)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_hstreamdb)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_influxdb)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_matrix)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_mongodb)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_mysql)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_pgsql)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_redis)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_rocketmq)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_tdengine)
export PROFILE='emqx-enterprise'
;;
apps/emqx_bridge_timescale)
apps/*)
if [[ -f "${WHICH_APP}/BSL.txt" ]]; then
export PROFILE='emqx-enterprise'
else
export PROFILE='emqx'
fi
;;
*)
export PROFILE="${PROFILE:-emqx}"