- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for globalIsCICD (0.05 sec)
-
cmd/globals.go
globalLocalDrivesMap map[string]StorageAPI globalLocalDrivesMu sync.RWMutex globalDriveMonitoring = env.Get("_MINIO_DRIVE_ACTIVE_MONITORING", config.EnableOn) == config.EnableOn // Is MINIO_CI_CD set? globalIsCICD bool globalRootDiskThreshold uint64 // Used for collecting stats for netperf globalNetPerfMinDuration = time.Second * 10 globalNetPerfRX netPerfRX
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (1) -
cmd/config-current.go
if err != nil { configLogIf(ctx, fmt.Errorf("Unable to parse subnet configuration: %w", err)) } else { globalSubnetConfig.Update(subnetConfig, globalIsCICD) globalSubnetConfig.ApplyEnv() // update environment settings for Console UI } case config.CallhomeSubSys: callhomeCfg, err := callhome.LookupConfig(s[config.CallhomeSubSys][config.Default]) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 28.5K bytes - Viewed (0) -
cmd/generic-handlers.go
return time.Time{}, ErrMalformedDate } return t, ErrNone } } // Date header missing. return time.Time{}, ErrMissingDateHeader } func hasBadHost(host string) error { if globalIsCICD && strings.TrimSpace(host) == "" { // under CI/CD test setups ignore empty hosts as invalid hosts return nil } _, err := xnet.ParseHost(host) return err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
cmd/common-main.go
} } logger.Init(GOPATH, GOROOT) logger.RegisterError(config.FmtError) t, _ := minioVersionToReleaseTime(Version) if !t.IsZero() { globalVersionUnix = uint64(t.Unix()) } globalIsCICD = env.Get("MINIO_CI_CD", "") != "" || env.Get("CI", "") != "" console.SetColor("Debug", fcolor.New()) gob.Register(StorageErr("")) gob.Register(madmin.TimeInfo{}) gob.Register(madmin.XFSErrorConfigs{})
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.5K bytes - Viewed (0) -
cmd/utils.go
// unable to maintain its sampling rate and to significantly // degrade the performance of your application // https://github.com/felixge/fgprof#fgprof if n := runtime.NumGoroutine(); n > 10000 && !globalIsCICD { return nil, fmt.Errorf("unable to perform CPU IO profile with %d goroutines", n) } dirPath, err := os.MkdirTemp("", "profile") if err != nil { return nil, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
cmd/test-utils_test.go
"github.com/minio/pkg/v3/policy" ) // TestMain to set up global env. func TestMain(m *testing.M) { flag.Parse() // set to 'true' when testing is invoked globalIsTesting = true globalIsCICD = globalIsTesting globalActiveCred = auth.Credentials{ AccessKey: auth.DefaultAccessKey, SecretKey: auth.DefaultSecretKey, }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
cmd/xl-storage.go
} // Initialize a new storage disk. func newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) { immediatePurgeQueue := 100000 if globalIsTesting || globalIsCICD { immediatePurgeQueue = 1 } ctx, cancel := context.WithCancel(GlobalContext) s = &xlStorage{ drivePath: ep.Path, endpoint: ep,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0) -
cmd/admin-handlers.go
sleep 10 } main "$@"`, scheme) adminLogIf(ctx, embedFileInZip(inspectZipW, "start-minio.sh", scrb.Bytes(), 0o755)) } func getSubnetAdminPublicKey() []byte { if globalIsCICD { return subnetAdminPublicKeyDev } return subnetAdminPublicKey } func createHostAnonymizerForFSMode() map[string]string { hostAnonymizer := map[string]string{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/erasure-server-pool.go
if globalIsDistErasure { n = 2048 } // Avoid allocating more than half of the available memory if maxN := availableMemory() / (blockSizeV2 * 2); n > maxN { n = maxN } if globalIsCICD || strconv.IntSize == 32 { n = 256 // 256MiB for CI/CD environments is sufficient or on 32bit platforms. } // Initialize byte pool once for all sets, bpool size is set to
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0)