migrate from genofire to sum7

This commit is contained in:
Martin/Geno 2019-08-08 15:49:25 +02:00
parent e0cdf1a139
commit 6b5934628a
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
7 changed files with 18 additions and 18 deletions

View File

@ -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

View File

@ -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"

View File

@ -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{

View File

@ -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{

View File

@ -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
View File

@ -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{}

View File

@ -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"