Skip to content

Commit

Permalink
log charts path
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Sep 3, 2024
1 parent 6dec88d commit fb06fec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/k8s/pkg/helm/chainlink/chainlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func NewVersioned(index int, helmVersion string, props map[string]any, overrideS
if b, err := strconv.ParseBool(os.Getenv(config.EnvVarLocalCharts)); err == nil && b {
chartPath = fmt.Sprintf("%s/chainlink", projectpath.ChartsRoot)
}
log.Warn().Str("ChartPath", chartPath).Msg("Loading chart from path")
return Chart{
Index: index,
Name: fmt.Sprintf("%s-%d", AppName, index),
Expand Down
1 change: 1 addition & 0 deletions lib/k8s/pkg/helm/ethereum/geth.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ func NewVersioned(helmVersion string, props *Props) environment.ConnectedChart {
if b, err := strconv.ParseBool(os.Getenv(config.EnvVarLocalCharts)); err == nil && b {
chartPath = fmt.Sprintf("%s/geth", projectpath.ChartsRoot)
}
log.Warn().Str("ChartPath", chartPath).Msg("Loading chart from path")
return Chart{
HelmProps: &HelmProps{
Name: "geth",
Expand Down
1 change: 1 addition & 0 deletions lib/k8s/pkg/helm/mockserver/mockserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func NewVersioned(helmVersion string, props map[string]interface{}) environment.
if b, err := strconv.ParseBool(os.Getenv(config.EnvVarLocalCharts)); err == nil && b {
chartPath = fmt.Sprintf("%s/mockserver", projectpath.ChartsRoot)
}
log.Warn().Str("ChartPath", chartPath).Msg("Loading chart from path")
return Chart{
Name: "mockserver",
Path: chartPath,
Expand Down
1 change: 1 addition & 0 deletions lib/k8s/pkg/helm/reorg/reorg.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func NewVersioned(helmVersion string, props *Props) environment.ConnectedChart {
if b, err := strconv.ParseBool(os.Getenv(config.EnvVarLocalCharts)); err == nil && b {
chartPath = fmt.Sprintf("%s/geth-reorg", projectpath.ChartsRoot)
}
log.Warn().Str("ChartPath", chartPath).Msg("Loading chart from path")
return Chart{
Name: strings.ReplaceAll(strings.ToLower(targetProps.NetworkName), " ", "-"), // name cannot contain spaces
Path: chartPath,
Expand Down
1 change: 1 addition & 0 deletions lib/k8s/pkg/helm/wiremock/wiremock.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func NewVersioned(helmVersion string, props map[string]interface{}) environment.
if b, err := strconv.ParseBool(os.Getenv(config.EnvVarLocalCharts)); err == nil && b {
chartPath = fmt.Sprintf("%s/wiremock", projectpath.ChartsRoot)
}
log.Warn().Str("ChartPath", chartPath).Msg("Loading chart from path")
return Chart{
Name: "wiremock",
Path: chartPath,
Expand Down

0 comments on commit fb06fec

Please sign in to comment.