Просмотр исходного кода

ci: simplify find-apps.sh for ee apps

Thales Macedo Garitezi 2 лет назад
Родитель
Сommit
662206fd33
1 измененных файлов с 5 добавлено и 7 удалено
  1. 5 7
      scripts/find-apps.sh

+ 5 - 7
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'