github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/k8s/pkg/common.go (about)

     1  package pkg
     2  
     3  import "github.com/smartcontractkit/chainlink-testing-framework/libs/utils/ptr"
     4  
     5  // Common labels for k8s envs
     6  const (
     7  	TTLLabelKey       = "janitor/ttl"
     8  	NamespaceLabelKey = "namespace"
     9  )
    10  
    11  // Environment types, envs got selected by having a label of that type
    12  const (
    13  	EnvTypeEVM5             = "evm-5-minimal"
    14  	EnvTypeEVM5RemoteRunner = "evm-5-remote-runner"
    15  )
    16  
    17  func PGIsReadyCheck() *[]*string {
    18  	return &[]*string{
    19  		ptr.Ptr("pg_isready"),
    20  		ptr.Ptr("-U"),
    21  		ptr.Ptr("postgres"),
    22  	}
    23  }