From: Stephen Paul Weber <singpolyma@singpolyma.net>
To: 50794@debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma@singpolyma.net>
Subject: [bug#50794] [PATCH] gnu: Add runitor
Date: Fri, 24 Sep 2021 21:44:39 -0500 [thread overview]
Message-ID: <20210925024439.15575-1-singpolyma@singpolyma.net> (raw)
* 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
next reply other threads:[~2021-09-25 2:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-25 2:44 Stephen Paul Weber [this message]
2021-10-13 9:10 ` bug#50794: [PATCH] gnu: Add runitor Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210925024439.15575-1-singpolyma@singpolyma.net \
--to=singpolyma@singpolyma.net \
--cc=50794@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.