ci: test emqx_rule_engine with both ce and ee profiles, use ee by default

This commit is contained in:
Ivan Dyachkov 2023-11-06 13:05:27 +01:00
parent 5881e34d4e
commit b75b8ef9a9
2 changed files with 7 additions and 3 deletions

View File

@ -124,6 +124,9 @@ if [ -z "${PROFILE+x}" ]; then
apps/emqx_dashboard)
export PROFILE='emqx-enterprise'
;;
apps/emqx_rule_engine)
export PROFILE='emqx-enterprise'
;;
lib-ee*)
## ensure enterprise profile when testing lib-ee applications
export PROFILE='emqx-enterprise'

View File

@ -91,9 +91,6 @@ matrix() {
entries+=("$(format_app_entry "$app" 1 emqx "$runner")")
entries+=("$(format_app_entry "$app" 1 emqx-enterprise "$runner")")
;;
apps/emqx_bridge_kafka)
entries+=("$(format_app_entry "$app" 3 emqx-enterprise "$runner")")
;;
apps/emqx_connector)
entries+=("$(format_app_entry "$app" 1 emqx "$runner")")
entries+=("$(format_app_entry "$app" 1 emqx-enterprise "$runner")")
@ -102,6 +99,10 @@ matrix() {
entries+=("$(format_app_entry "$app" 1 emqx "$runner")")
entries+=("$(format_app_entry "$app" 1 emqx-enterprise "$runner")")
;;
apps/emqx_rule_engine)
entries+=("$(format_app_entry "$app" 1 emqx "$runner")")
entries+=("$(format_app_entry "$app" 1 emqx-enterprise "$runner")")
;;
apps/*)
if [[ -f "${app}/BSL.txt" ]]; then
profile='emqx-enterprise'