File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ jobs:
54
54
strategy :
55
55
matrix :
56
56
BE_VERSION : [v3, v4]
57
- JOBS_ENABLED : ['', true]
57
+ ELASTIC_OR_JOBS_ENABLED : ['', true]
58
58
ELASTIC_ENABLED : ['', true]
59
59
LDAP_ENABLED : ['', true]
60
60
steps :
61
61
- uses : actions/checkout@v4
62
62
- name : Test compose.yaml
63
63
run : |-
64
- export JOBS_ENABLED=${{ matrix.JOBS_ENABLED }}
65
- export ELASTIC_ENABLED=${{ matrix.ELASTIC_ENABLED }}
64
+ export JOBS_ENABLED=${{ matrix.matrix.ELASTIC_OR_JOBS_ENABLED }}
65
+ export ELASTIC_ENABLED=${{ matrix.ELASTIC_OR_JOBS_ENABLED }}
66
66
export LDAP_ENABLED=${{ matrix.LDAP_ENABLED }}
67
67
export BE_VERSION=${{ matrix.BE_VERSION }}
68
68
docker compose --profile '*' up --wait --wait-timeout 300
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ exclude_config () {
10
10
}
11
11
12
12
[ " $BE_VERSION " = " v4" ] && exclude_config " v3.json"
13
- [ -n " $LDAP_ENABLED " ] && exclude_config " ldap.json"
13
+ [ -z " $LDAP_ENABLED " ] && exclude_config " ldap.json"
14
14
15
15
# shellcheck disable=SC2086
16
16
jq -s ' reduce .[] as $item ({}; . * $item)' $FILES > /usr/share/nginx/html/assets/config.json
You can’t perform that action at this time.
0 commit comments