From 662206fd33fbbf3e7114980430b36db8994f51cf Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Thu, 20 Apr 2023 10:53:12 -0300 Subject: [PATCH] ci: simplify find-apps.sh for ee apps --- scripts/find-apps.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/scripts/find-apps.sh b/scripts/find-apps.sh index eed2acdb8..bfb6ba2cc 100755 --- a/scripts/find-apps.sh +++ b/scripts/find-apps.sh @@ -72,14 +72,12 @@ describe_app() { runner="docker" fi case "${app}" in - apps/emqx_bridge_kafka) - profile='emqx-enterprise' - ;; - apps/emqx_bridge_gcp_pubsub) - profile='emqx-enterprise' - ;; apps/*) - profile='emqx' + if [[ -f "${app}/BSL.txt" ]]; then + profile='emqx-enterprise' + else + profile='emqx' + fi ;; lib-ee/*) profile='emqx-enterprise'