mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 09:45:04 +01:00
Update check-env for CI build.
This commit is contained in:
parent
2259d4fae5
commit
9d4808f5ef
@ -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) {
|
||||
checkMissing(['CA_CERT', 'CLIENT_CERT', 'CLIENT_KEY', 'KAFKA_BROKER', 'KAFKA_URL', 'REDIS_URL']);
|
||||
|
Loading…
Reference in New Issue
Block a user