unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50794] [PATCH] gnu: Add runitor
@ 2021-09-25  2:44 Stephen Paul Weber
  2021-10-13  9:10 ` bug#50794: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Paul Weber @ 2021-09-25  2:44 UTC (permalink / raw)
  To: 50794; +Cc: Stephen Paul Weber

* gnu/packages/admin.scm (runitor): New variable.
---
 gnu/packages/admin.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 9ee371be71..1e3082d36b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4797,3 +4797,31 @@ setup, maintenance, supervision, or any long-running processes.")
       (description "Utility to convert @code{lsof} output to a graph showing
 FIFO and UNIX interprocess communication.")
       (license license:bsd-2))))
+
+(define-public runitor
+  (package
+    (name "runitor")
+    (version "0.8.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/bdd/runitor")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32 "0vjfbyrbp5ywgzdz9j3x0qgjvnq7nw7193x8v9yy6k2cih1zsacn"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:unpack-path "bdd.fi/x/runitor"
+       #:go ,go-1.17
+       #:build-flags '(,(string-append "-ldflags=-X main.Version=" version))
+       #:import-path "bdd.fi/x/runitor/cmd/runitor"
+       #:install-source? #f))
+    (home-page "https://github.com/bdd/runitor")
+    (synopsis "Command runner with healthchecks.io integration")
+    (description
+      "Runitor runs the supplied command, captures its output, and based on its
+exit code reports successful or failed execution to
+@url{https://healthchecks.io,https://healthchecks.io} or your private instance.")
+    (license license:bsd-0)))
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#50794: [PATCH] gnu: Add runitor
  2021-09-25  2:44 [bug#50794] [PATCH] gnu: Add runitor Stephen Paul Weber
@ 2021-10-13  9:10 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-10-13  9:10 UTC (permalink / raw)
  To: Stephen Paul Weber; +Cc: 50794-done

Stephen Paul Weber <singpolyma@singpolyma.net> skribis:

> * gnu/packages/admin.scm (runitor): New variable.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-13  9:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25  2:44 [bug#50794] [PATCH] gnu: Add runitor Stephen Paul Weber
2021-10-13  9:10 ` bug#50794: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).