github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/k8s/examples/dump/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  	e := environment.New(nil).
    11  		AddHelm(ethereum.New(nil)).
    12  		AddHelm(chainlink.New(0, nil))
    13  	if err := e.Run(); err != nil {
    14  		panic(err)
    15  	}
    16  	if err := e.DumpLogs("logs/mytest"); err != nil {
    17  		panic(err)
    18  	}
    19  }