gitlab.com/jfprevost/gitlab-runner-notlscheck@v11.11.4+incompatible/common/consts.go (about)

     1  package common
     2  
     3  import "time"
     4  
     5  const DefaultTimeout = 7200
     6  const DefaultExecTimeout = 1800
     7  const CheckInterval = 3 * time.Second
     8  const NotHealthyCheckInterval = 300
     9  const UpdateInterval = 3 * time.Second
    10  const UpdateRetryInterval = 3 * time.Second
    11  const ReloadConfigInterval = 3
    12  const HealthyChecks = 3
    13  const HealthCheckInterval = 3600
    14  const DefaultWaitForServicesTimeout = 30
    15  const ShutdownTimeout = 30
    16  const DefaultOutputLimit = 4 * 1024 * 1024 // in bytes
    17  const DefaultTracePatchLimit = 1024 * 1024 // in bytes
    18  const ForceTraceSentInterval = 30 * time.Second
    19  const PreparationRetries = 3
    20  const DefaultGetSourcesAttempts = 1
    21  const DefaultArtifactDownloadAttempts = 1
    22  const DefaultRestoreCacheAttempts = 1
    23  const KubernetesPollInterval = 3
    24  const KubernetesPollTimeout = 180
    25  const AfterScriptTimeout = 5 * time.Minute
    26  const DefaultMetricsServerPort = 9252
    27  const DefaultCacheRequestTimeout = 10
    28  const DefaultNetworkClientTimeout = 60 * time.Minute
    29  const DefaultSessionTimeout = 30 * time.Minute
    30  
    31  var PreparationRetryInterval = 3 * time.Second
    32  
    33  const (
    34  	TestAlpineImage       = "alpine:3.7"
    35  	TestAlpineNoRootImage = "registry.gitlab.com/gitlab-org/gitlab-runner/alpine-no-root:latest"
    36  	TestDockerDindImage   = "docker:18-dind"
    37  	TestDockerGitImage    = "docker:18-git"
    38  )