Sync branch magefile with main #104308
@ -24,6 +24,7 @@ import (
|
|||||||
"projects.blender.org/studio/flamenco/internal/worker"
|
"projects.blender.org/studio/flamenco/internal/worker"
|
||||||
"projects.blender.org/studio/flamenco/internal/worker/cli_runner"
|
"projects.blender.org/studio/flamenco/internal/worker/cli_runner"
|
||||||
"projects.blender.org/studio/flamenco/pkg/sysinfo"
|
"projects.blender.org/studio/flamenco/pkg/sysinfo"
|
||||||
|
"projects.blender.org/studio/flamenco/pkg/website"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -296,8 +297,10 @@ func upstreamBufferOrDie(client worker.FlamencoClient, timeService clock.Clock)
|
|||||||
|
|
||||||
func logFatalManagerDiscoveryError(err error, discoverTimeout time.Duration) {
|
func logFatalManagerDiscoveryError(err error, discoverTimeout time.Duration) {
|
||||||
if errors.Is(err, context.DeadlineExceeded) {
|
if errors.Is(err, context.DeadlineExceeded) {
|
||||||
log.Fatal().Str("timeout", discoverTimeout.String()).Msg("could not discover Manager in time")
|
log.Fatal().Stringer("timeout", discoverTimeout).
|
||||||
|
Msgf("could not discover Manager in time, see %s", website.CannotFindManagerHelpURL)
|
||||||
} else {
|
} else {
|
||||||
log.Fatal().Err(err).Msg("auto-discovery error")
|
log.Fatal().Err(err).
|
||||||
|
Msgf("auto-discovery error, see %s", website.CannotFindManagerHelpURL)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,6 +5,7 @@ package website
|
|||||||
const (
|
const (
|
||||||
DocVariablesURL = "https://flamenco.blender.org/usage/variables/blender/"
|
DocVariablesURL = "https://flamenco.blender.org/usage/variables/blender/"
|
||||||
WorkerCredsUnknownHelpURL = "https://flamenco.blender.org/faq/#what-does-unknown-worker-is-trying-to-communicate-mean"
|
WorkerCredsUnknownHelpURL = "https://flamenco.blender.org/faq/#what-does-unknown-worker-is-trying-to-communicate-mean"
|
||||||
|
CannotFindManagerHelpURL = "https://flamenco.blender.org/faq/#my-worker-cannot-find-my-manager-what-do-i-do"
|
||||||
BugReportURL = "https://flamenco.blender.org/get-involved"
|
BugReportURL = "https://flamenco.blender.org/get-involved"
|
||||||
ShamanRequirementsURL = "https://flamenco.blender.org/usage/shared-storage/shaman/#requirements"
|
ShamanRequirementsURL = "https://flamenco.blender.org/usage/shared-storage/shaman/#requirements"
|
||||||
WorkerConfigURL = "https://flamenco.blender.org/usage/worker-configuration/"
|
WorkerConfigURL = "https://flamenco.blender.org/usage/worker-configuration/"
|
||||||
|
Loading…
Reference in New Issue
Block a user