Sfoglia il codice sorgente

ci: simplify find-apps.sh for ee apps

Thales Macedo Garitezi 2 anni fa
parent
commit
662206fd33
1 ha cambiato i file con 5 aggiunte e 7 eliminazioni
  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'