Skip to content

Commit

Permalink
add failed seeds metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Fedotov committed Apr 6, 2020
1 parent daa9ed4 commit db94c25
Show file tree
Hide file tree
Showing 10 changed files with 167 additions and 382 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.DS_Store
/build/bin
/build/release
/dist
59 changes: 59 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
- go mod download
snapshot:
name_template: "0.4"
env_files:
github_token: ~/.github_token
checksum:
algorithm: sha256
builds:
-
dir: .
main: exporter.go
goos:
- linux
goarch:
- amd64
hooks:
post: ./scripts/rpm_build.sh -v {{ .Version }}
env:
- CGO_ENABLED=0
- GO111MODULE=on
archives:
-
id: systemd
replacements:
amd64: x86_64
files:
- etc/systemd/*
name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
nfpms:
-
id: systemd
vendor: GitHub
homepage: https://github.com/MaxFedotov/orcus-exporter
maintainer: MaxFedotov <[email protected]>
description: "Orcus Prometheus Exporter"
file_name_template: "{{ .ProjectName }}-{{ .Version }}.{{ .Arch }}"
license: Apache 2.0
formats:
- deb
bindir: /usr/bin
empty_folders:
- /var/log/orcus-exporter
files:
"etc/systemd/orcus-exporter.service": "/etc/systemd/system/orcus-exporter.service"
scripts:
preinstall: "scripts/pre-install.sh"
overrides:
rpm:
replacements:
amd64: x86_64
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

293 changes: 0 additions & 293 deletions build.sh

This file was deleted.

Loading

0 comments on commit db94c25

Please sign in to comment.