Skip to content

Commit

Permalink
fix: updating deps for goreleaser and security dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shairozan committed Dec 28, 2023
1 parent 4bbbecc commit 238a493
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 154 deletions.
24 changes: 12 additions & 12 deletions cmd/server/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nfpms:
id: gridengine_prometheus
# You can change the name of the package.
# Default: `{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}`
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"

# Your app's vendor.
# Default is empty.
Expand Down Expand Up @@ -48,18 +48,18 @@ nfpms:
# Empty folders that should be created and managed by the packager
# implementation.
# Default is empty.
empty_folders:
- /var/log/gridengine_prometheus
- /etc/gridengine_prometheus

# Files or directories to add to your package (beyond the binary).
# Keys are source paths/globs to get the files from.
# Values are the destination locations of the files in the package.
files:
"scripts/gridengine_prometheus.service": "/etc/systemd/system/gridengine_prometheus.service"
"scripts/gridengine_prometheus.sh" : "/etc/init.d/gridengine_prometheus"
"scripts/gridengine_prometheus.yaml" : "/etc/gridengine_prometheus/config.yaml"

contents:
- dst: /var/log/gridengine_prometheus
type: dir
- dst: /etc/gridengine_prometheus
type: dir
- src: "scripts/gridengine_prometheus.service"
dst: "/etc/systemd/system/gridengine_prometheus.service"
- src: "scripts/gridengine_prometheus.sh"
dst: "/etc/init.d/gridengine_prometheus"
- src: "scripts/gridengine_prometheus.yaml"
dst: "/etc/gridengine_prometheus/config.yaml"

# Scripts to execute during the installation of the package.
# Keys are the possible targets during the installation process
Expand Down
32 changes: 28 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,37 @@
module github.com/metrumresearchgroup/gridengine_prometheus

go 1.13
go 1.21

require (
github.com/mattn/goveralls v0.0.8 // indirect
github.com/metrumresearchgroup/gogridengine v0.0.2-0.20231228183543-e3c94448505d
github.com/prometheus/client_golang v1.2.1
github.com/prometheus/client_golang v1.18.0
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.5
github.com/spf13/viper v1.6.2
golang.org/x/tools v0.1.0 // indirect
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/fsnotify/fsnotify v1.4.7 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/pelletier/go-toml v1.2.0 // indirect
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/spf13/afero v1.1.2 // indirect
github.com/spf13/cast v1.3.0 // indirect
github.com/spf13/jwalterweatherman v1.0.0 // indirect
github.com/spf13/pflag v1.0.3 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/ini.v1 v1.51.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 238a493

Please sign in to comment.