fix: migrate to codeberg

This commit is contained in:
genofire 2023-10-23 20:36:14 +02:00
parent 8c7ccf7e9f
commit db65d47ea9
6 changed files with 1171 additions and 259 deletions

View File

@ -1,7 +1,7 @@
##
# Compile application
##
FROM golang:alpine AS build-env
FROM docker.io/library/golang:alpine AS build-env
WORKDIR /app
COPY . .
# ge dependencies

View File

@ -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].
Run: `go install -v dev.sum7.eu/genofire/oven-exporter@latest`
Run: `go install -v codeberg.org/Mediathek/oven-exporter@latest`
==== Configuration

22
go.mod
View File

@ -1,20 +1,16 @@
module dev.sum7.eu/genofire/oven-exporter
module codeberg.org/Mediathek/oven-exporter
go 1.16
require (
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-kit/kit v0.10.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/knadh/koanf v1.5.0
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/common v0.40.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/stretchr/testify v1.8.2 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/zap v1.24.0
golang.org/x/tools v0.6.0 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
github.com/prometheus/client_golang v1.17.0
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/stretchr/testify v1.8.4
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0
)

1400
go.sum

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@ import (
"github.com/prometheus/client_golang/prometheus/promhttp"
"go.uber.org/zap"
"dev.sum7.eu/genofire/oven-exporter/api"
"codeberg.org/Mediathek/oven-exporter/api"
)
var configExtParser = map[string]koanf.Parser{

View File

@ -1,7 +1,7 @@
package main
import (
"dev.sum7.eu/genofire/oven-exporter/api"
"codeberg.org/Mediathek/oven-exporter/api"
"github.com/prometheus/client_golang/prometheus"
"go.uber.org/zap"
)