diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-18 16:38:15 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-18 16:38:15 +0200 |
| commit | 6d6ab671dbb600e790853ca1ab02046807f19b9c (patch) | |
| tree | 05d4673fc007f3e07b7306143b1d6d5c411fcfdc /Magefile.go | |
| parent | 22589c1b41f8653764b583a87016122ff0131181 (diff) | |
clear resolved prometheus alerts from state
When Prometheus alerts stop firing, they were previously left in state
and became stale. Now they are automatically removed when no longer
in the firing alerts list from Prometheus.
Also fix Magefile Openbsd target to run build before deploy sequentially
instead of using mg.Deps which runs them in parallel.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'Magefile.go')
| -rw-r--r-- | Magefile.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Magefile.go b/Magefile.go index 03cbd97..0ddb7bc 100644 --- a/Magefile.go +++ b/Magefile.go @@ -75,9 +75,12 @@ func Test() error { } // Openbsd builds and deploys the gogios binary for OpenBSD. +// Runs sequentially to ensure build completes before deploy. func Openbsd() error { - mg.Deps(BuildOpenbsd, DeployOpenbsd) - return nil + if err := BuildOpenbsd(); err != nil { + return err + } + return DeployOpenbsd() } // BuildOpenbsd builds the gogios binary for OpenBSD. |
