github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/k8s/examples/quick-debug/env.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/environment"
     5  	"github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/pkg/helm/chainlink"
     6  	"github.com/smartcontractkit/chainlink-testing-framework/libs/k8s/pkg/helm/ethereum"
     7  )
     8  
     9  func main() {
    10  	err := environment.New(&environment.Config{
    11  		Labels:            []string{"type=construction-in-progress"},
    12  		NamespacePrefix:   "new-environment",
    13  		KeepConnection:    true,
    14  		RemoveOnInterrupt: true,
    15  	}).
    16  		AddHelm(ethereum.New(nil)).
    17  		AddHelm(chainlink.New(0, nil)).
    18  		Run()
    19  	if err != nil {
    20  		panic(err)
    21  	}
    22  }