backups: add backup daemon to run every n minutes, keep x most recent backups

This commit is contained in:
Harvey Tindall
2023-12-21 13:03:16 +00:00
parent c0c91b4aad
commit 733ab37539
5 changed files with 162 additions and 1 deletions
-1
View File
@@ -161,7 +161,6 @@ func newUpdater(buildroneURL, namespace, repo, version, commit, buildType string
if runtime.GOOS == "windows" {
binary += ".exe"
}
fmt.Println("monitoring", tag)
return &Updater{
httpClient: &http.Client{Timeout: 10 * time.Second},
timeoutHandler: common.NewTimeoutHandler("updater", buildroneURL, true),