ci: simplify find-apps.sh for ee apps

This commit is contained in:
Thales Macedo Garitezi 2023-04-20 10:53:12 -03:00
parent a9bd91fcff
commit 662206fd33
1 changed files with 5 additions and 7 deletions

View File

@ -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'