mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -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
|
globalRootDiskThreshold = size
|
||||||
}
|
}
|
||||||
|
|
||||||
globalIsCICD = env.Get("MINIO_CI_CD", "") != ""
|
globalIsCICD = env.Get("MINIO_CI_CD", "") != "" || env.Get("CI", "") != ""
|
||||||
|
|
||||||
domains := env.Get(config.EnvDomain, "")
|
domains := env.Get(config.EnvDomain, "")
|
||||||
if len(domains) != 0 {
|
if len(domains) != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user