mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Update check-env for CI build.
This commit is contained in:
parent
2259d4fae5
commit
9d4808f5ef
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,9 @@ function checkMissing(vars) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
checkMissing(['DATABASE_URL']);
|
if (!process.env.SKIP_DB_CHECK && !process.env.DATABASE_TYPE) {
|
||||||
|
checkMissing(['DATABASE_URL']);
|
||||||
|
}
|
||||||
|
|
||||||
if (process.env.CLICKHOUSE_URL) {
|
if (process.env.CLICKHOUSE_URL) {
|
||||||
checkMissing(['CA_CERT', 'CLIENT_CERT', 'CLIENT_KEY', 'KAFKA_BROKER', 'KAFKA_URL', 'REDIS_URL']);
|
checkMissing(['CA_CERT', 'CLIENT_CERT', 'CLIENT_KEY', 'KAFKA_BROKER', 'KAFKA_URL', 'REDIS_URL']);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue