fix: migrate to codeberg
This commit is contained in:
parent
8c7ccf7e9f
commit
db65d47ea9
|
@ -1,7 +1,7 @@
|
||||||
##
|
##
|
||||||
# Compile application
|
# Compile application
|
||||||
##
|
##
|
||||||
FROM golang:alpine AS build-env
|
FROM docker.io/library/golang:alpine AS build-env
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
# ge dependencies
|
# ge dependencies
|
|
@ -14,7 +14,7 @@ This Exporter use the REST-API of OvenMediaEngine, to setting it up, that a look
|
||||||
|
|
||||||
Install https://golang.org/doc/install[golang].
|
Install https://golang.org/doc/install[golang].
|
||||||
|
|
||||||
Run: `go install -v dev.sum7.eu/genofire/oven-exporter@latest`
|
Run: `go install -v codeberg.org/Mediathek/oven-exporter@latest`
|
||||||
|
|
||||||
==== Configuration
|
==== Configuration
|
||||||
|
|
||||||
|
|
22
go.mod
22
go.mod
|
@ -1,20 +1,16 @@
|
||||||
module dev.sum7.eu/genofire/oven-exporter
|
module codeberg.org/Mediathek/oven-exporter
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
||||||
github.com/fsnotify/fsnotify v1.6.0 // indirect
|
|
||||||
github.com/go-kit/kit v0.10.0 // indirect
|
|
||||||
github.com/knadh/koanf v1.5.0
|
github.com/knadh/koanf v1.5.0
|
||||||
github.com/pelletier/go-toml v1.9.5 // indirect
|
github.com/pelletier/go-toml v1.9.5 // indirect
|
||||||
github.com/prometheus/client_golang v1.14.0
|
github.com/prometheus/client_golang v1.17.0
|
||||||
github.com/prometheus/common v0.40.0 // indirect
|
github.com/prometheus/client_model v0.5.0 // indirect
|
||||||
github.com/prometheus/procfs v0.9.0 // indirect
|
github.com/prometheus/common v0.45.0 // indirect
|
||||||
github.com/stretchr/testify v1.8.2 // indirect
|
github.com/prometheus/procfs v0.12.0 // indirect
|
||||||
go.uber.org/atomic v1.10.0 // indirect
|
github.com/stretchr/testify v1.8.4
|
||||||
go.uber.org/multierr v1.9.0 // indirect
|
go.uber.org/multierr v1.11.0 // indirect
|
||||||
go.uber.org/zap v1.24.0
|
go.uber.org/zap v1.26.0
|
||||||
golang.org/x/tools v0.6.0 // indirect
|
|
||||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
|
||||||
)
|
)
|
||||||
|
|
2
main.go
2
main.go
|
@ -16,7 +16,7 @@ import (
|
||||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/oven-exporter/api"
|
"codeberg.org/Mediathek/oven-exporter/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
var configExtParser = map[string]koanf.Parser{
|
var configExtParser = map[string]koanf.Parser{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"dev.sum7.eu/genofire/oven-exporter/api"
|
"codeberg.org/Mediathek/oven-exporter/api"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue