icinga

Icinga2 API client in Go
git clone https://git.olowe.co/icinga
Log | Files | Refs | README | LICENSE

commit 87154adc3ffe738b0e1223d666c0ae63e1926399
parent b717ce9bd51371aefd55ccd6ddf623f83aed8e29
Author: Oliver Lowe <o@olowe.co>
Date:   Fri,  4 Feb 2022 14:06:28 +1100

Run a full test on builds.sr.ht for every commit

On OpenBSD. Why not?

Diffstat:
A.build.yml | 18++++++++++++++++++
MREADME.md | 2++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/.build.yml b/.build.yml @@ -0,0 +1,18 @@ +image: openbsd/latest +packages: + - go + - icinga2 +sources: + - https://git.sr.ht/~otl/icinga +tasks: + - icinga_setup: | + doas icinga2 api setup + doas tee /etc/icinga2/conf.d/api-users.conf <<EOF + object ApiUser "icinga" { + password = name + permissions = ["*"] + } + EOF + doas rcctl enable icinga2 + doas rcctl start icinga2 + - test: cd icinga && go test diff --git a/README.md b/README.md @@ -1,5 +1,7 @@ package icinga provides a client to the Icinga2 HTTP API. +[![builds.sr.ht status](https://builds.sr.ht/~otl/icinga.svg)](https://builds.sr.ht/~otl/icinga?) + [![godocs.io](http://godocs.io/olowe.co/icinga?status.svg)](http://godocs.io/olowe.co/icinga) Send patches, questions or a friendly "hello" to the mailing list: [~otl/icinga@lists.sr.ht](mailto:~otl/icinga@lists.sr.ht) 🙂