We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad60e4 commit 35e2ab7Copy full SHA for 35e2ab7
builder/build/code_build.go
@@ -292,6 +292,10 @@ func (s *slugBuild) runBuildJob(re *Request) error {
292
{Name: "CODE_COMMIT_MESSAGE", Value: re.Commit.Message},
293
{Name: "LANGUAGE", Value: re.Lang.String()},
294
}
295
+ // Add LANG_GOODRAIN_ME from environment variable if set
296
+ if langGoodRainMe := os.Getenv("LANG_GOODRAIN_ME"); langGoodRainMe != "" {
297
+ envs = append(envs, corev1.EnvVar{Name: "LANG_GOODRAIN_ME", Value: langGoodRainMe})
298
+ }
299
if re.ServerType == "oss" {
300
envs = append(envs, corev1.EnvVar{Name: "PACKAGE_DOWNLOAD_URL", Value: re.RepositoryURL})
301
envs = append(envs, corev1.EnvVar{Name: "PACKAGE_DOWNLOAD_USER", Value: re.CodeSouceInfo.User})
0 commit comments