mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03: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:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user