From 2d78e20120dfe2a56a2584da7f908046c4db33d2 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 23 Feb 2022 16:01:59 -0800 Subject: [PATCH] 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. --- cmd/common-main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/common-main.go b/cmd/common-main.go index 60b81fcbf..ab1f5215d 100644 --- a/cmd/common-main.go +++ b/cmd/common-main.go @@ -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 {