Skip to content

Commit 5a76b26

Browse files
authored
Forward SETH_LOG_LEVEL env to remote runner (#1565)
1 parent a4290be commit 5a76b26

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/k8s/config/overrides.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ const (
109109
EnvBase64ConfigOverride = "BASE64_CONFIG_OVERRIDE"
110110
EnvBase64ConfigOverriderDescription = "Base64-encoded TOML config (should contain at least chainlink image and version)"
111111
EnvBase64ConfigOverrideExample = "W0NoYWlubGlua0ltYWdlXQppbWFnZT0icHVibGljLmVjci5hd3MvY2hhaW5saW5rL2NoYWlubGluayIKdmVyc2lvbj0iMi43LjEtYXV0b21hdGlvbi0yMDIzMTEyNyIKCltBdXRvbWF0aW9uXQpbQXV0b21hdGlvbi5HZW5lcmFsXQpkdXJhdGlvbj0yMDAK"
112+
113+
EnvSethLogLevel = "SETH_LOG_LEVEL"
114+
EnvSethLogLevelDescription = "Specifies the log level used by Seth"
115+
EnvSethLogLevelExample = "info"
112116
)
113117

114118
var (

lib/k8s/environment/runner.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ func jobEnvVars(props *Props) *[]*k8s.EnvVar {
434434
config.EnvVarInternalDockerRepo,
435435
config.EnvVarLocalCharts,
436436
config.EnvBase64ConfigOverride,
437+
config.EnvSethLogLevel,
437438
}
438439
for _, k := range lookups {
439440
v, success := os.LookupEnv(k)

0 commit comments

Comments
 (0)