mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
enable CI environment additionally for MINIO_CI_CD (#14395)
all CI/CD environments set CI=true this is enough for MinIO to be run inside CI environments, support it.
This commit is contained in:
parent
77210513c9
commit
2d78e20120
@ -664,7 +664,7 @@ func handleCommonEnvVars() {
|
||||
globalRootDiskThreshold = size
|
||||
}
|
||||
|
||||
globalIsCICD = env.Get("MINIO_CI_CD", "") != ""
|
||||
globalIsCICD = env.Get("MINIO_CI_CD", "") != "" || env.Get("CI", "") != ""
|
||||
|
||||
domains := env.Get(config.EnvDomain, "")
|
||||
if len(domains) != 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user