migrate from genofire to sum7
This commit is contained in:
parent
e0cdf1a139
commit
6b5934628a
14
README.md
14
README.md
|
@ -1,10 +1,10 @@
|
|||
# hook2xmpp
|
||||
|
||||
|
||||
[![pipeline status](https://dev.sum7.eu/genofire/hook2xmpp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
|
||||
[![coverage report](https://dev.sum7.eu/genofire/hook2xmpp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
|
||||
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/hook2xmpp)](https://goreportcard.com/report/dev.sum7.eu/genofire/hook2xmpp)
|
||||
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/hook2xmpp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/hook2xmpp)
|
||||
[![pipeline status](https://dev.sum7.eu/sum7/hook2xmpp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
|
||||
[![coverage report](https://dev.sum7.eu/sum7/hook2xmpp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
|
||||
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/sum7/hook2xmpp)](https://goreportcard.com/report/dev.sum7.eu/genofire/hook2xmpp)
|
||||
[![GoDoc](https://godoc.org/dev.sum7.eu/sum7/hook2xmpp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/hook2xmpp)
|
||||
|
||||
|
||||
## Get hook2xmpp
|
||||
|
@ -13,14 +13,14 @@
|
|||
|
||||
Latest Build binary from ci here:
|
||||
|
||||
[Download All](https://dev.sum7.eu/genofire/hook2xmpp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
||||
[Download All](https://dev.sum7.eu/sum7/hook2xmpp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
||||
|
||||
[Download Binary](https://dev.sum7.eu/genofire/hook2xmpp/-/jobs/artifacts/master/raw/bin/hook2xmpp?inline=false&job=build-my-project)
|
||||
[Download Binary](https://dev.sum7.eu/sum7/hook2xmpp/-/jobs/artifacts/master/raw/bin/hook2xmpp?inline=false&job=build-my-project)
|
||||
|
||||
#### Build
|
||||
|
||||
```bash
|
||||
go get -u dev.sum7.eu/genofire/hook2xmpp
|
||||
go get -u dev.sum7.eu/sum7/hook2xmpp
|
||||
```
|
||||
|
||||
## Configure
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/bdlm/log"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
const hookType = "circleci"
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/mitchellh/mapstructure"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
var eventHeader = map[string]string{
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/bdlm/log"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
var eventHeader = map[string]string{
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/bdlm/log"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
const hookType = "grafana"
|
||||
|
|
12
main.go
12
main.go
|
@ -11,12 +11,12 @@ import (
|
|||
"github.com/bdlm/log"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
_ "dev.sum7.eu/genofire/hook2xmpp/circleci"
|
||||
_ "dev.sum7.eu/genofire/hook2xmpp/git"
|
||||
_ "dev.sum7.eu/genofire/hook2xmpp/gitlab"
|
||||
_ "dev.sum7.eu/genofire/hook2xmpp/grafana"
|
||||
_ "dev.sum7.eu/genofire/hook2xmpp/prometheus"
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
_ "dev.sum7.eu/sum7/hook2xmpp/circleci"
|
||||
_ "dev.sum7.eu/sum7/hook2xmpp/git"
|
||||
_ "dev.sum7.eu/sum7/hook2xmpp/gitlab"
|
||||
_ "dev.sum7.eu/sum7/hook2xmpp/grafana"
|
||||
_ "dev.sum7.eu/sum7/hook2xmpp/prometheus"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
var config = runtime.Config{}
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"github.com/prometheus/alertmanager/notify/webhook"
|
||||
"gosrc.io/xmpp"
|
||||
|
||||
"dev.sum7.eu/genofire/hook2xmpp/runtime"
|
||||
"dev.sum7.eu/sum7/hook2xmpp/runtime"
|
||||
)
|
||||
|
||||
const hookType = "prometheus"
|
||||
|
|
Loading…
Reference in New Issue