Skip to content

Commit db94c25

Browse files
author
Maksim Fedotov
committed
add failed seeds metrics
1 parent daa9ed4 commit db94c25

File tree

10 files changed

+167
-382
lines changed

10 files changed

+167
-382
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
.DS_Store
2-
/build/bin
3-
/build/release
2+
/dist

.goreleaser.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Make sure to check the documentation at http://goreleaser.com
2+
before:
3+
hooks:
4+
- go mod download
5+
snapshot:
6+
name_template: "0.4"
7+
env_files:
8+
github_token: ~/.github_token
9+
checksum:
10+
algorithm: sha256
11+
builds:
12+
-
13+
dir: .
14+
main: exporter.go
15+
goos:
16+
- linux
17+
goarch:
18+
- amd64
19+
hooks:
20+
post: ./scripts/rpm_build.sh -v {{ .Version }}
21+
env:
22+
- CGO_ENABLED=0
23+
- GO111MODULE=on
24+
archives:
25+
-
26+
id: systemd
27+
replacements:
28+
amd64: x86_64
29+
files:
30+
- etc/systemd/*
31+
name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
32+
nfpms:
33+
-
34+
id: systemd
35+
vendor: GitHub
36+
homepage: https://github.com/MaxFedotov/orcus-exporter
37+
maintainer: MaxFedotov <m.a.fedotov@gmail.com>
38+
description: "Orcus Prometheus Exporter"
39+
file_name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
40+
license: Apache 2.0
41+
formats:
42+
- deb
43+
bindir: /usr/bin
44+
empty_folders:
45+
- /var/log/orcus-exporter
46+
files:
47+
"etc/systemd/orcus-exporter.service": "/etc/systemd/system/orcus-exporter.service"
48+
scripts:
49+
preinstall: "scripts/pre-install.sh"
50+
overrides:
51+
rpm:
52+
replacements:
53+
amd64: x86_64
54+
changelog:
55+
sort: asc
56+
filters:
57+
exclude:
58+
- '^docs:'
59+
- '^test:'

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

build.sh

Lines changed: 0 additions & 293 deletions
This file was deleted.

0 commit comments

Comments
 (0)