Refactoring listener app with configurable fallback (#3096)

This commit is contained in:
Nikola Jokic
2023-12-08 13:41:06 +01:00
committed by GitHub
parent 202a97ab12
commit b78cadd901
22 changed files with 2590 additions and 7 deletions

View File

@@ -203,6 +203,8 @@ func main() {
log.Info("Using default AutoscalingListener logging parameters", "LogLevel", actionsgithubcom.DefaultScaleSetListenerLogLevel, "LogFormat", actionsgithubcom.DefaultScaleSetListenerLogFormat)
}
actionsgithubcom.SetListenerEntrypoint(os.Getenv("LISTENER_ENTRYPOINT"))
var webhookServer webhook.Server
if port != 0 {
webhookServer = webhook.NewServer(webhook.Options{