[MM-64296] Help for AI: Respect env overrides for consoleLevel (#31278)
* respect env overrides for consoleLevel; add tests * clean up test * merge conflict * improve parallelizability * be better commenting * better name for fn, comment explaining why we're using it * empty * empty * empty --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
efc8094bc2
Коммит
c0f1cbf727
@@ -182,8 +182,8 @@ func UpdateAssetsSubpathFromConfig(config *model.Config) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Similarly, don't rewrite during a CI build, when the assets may not even be present.
|
||||
if os.Getenv("IS_CI") == "true" {
|
||||
// Similarly, don't rewrite during a CI build, or a local testing build, when the assets may not even be present.
|
||||
if os.Getenv("IS_CI") == "true" || os.Getenv("IS_LOCAL_TESTING") == "true" {
|
||||
mlog.Debug("Skipping update to assets subpath since CI build")
|
||||
return nil
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user