Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rajrohanyadav committed Nov 21, 2024
1 parent 6036f38 commit 4ed7f0c
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,52 @@ nfpms:
formats:
- deb
- rpm

- id: linux-fips
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}_fips"
vendor: "New Relic, Inc."
homepage: "https://www.newrelic.com/infrastructure"
maintainer: "New Relic Infrastructure Team <[email protected]>"
description: "New Relic Infrastructure redis Integration extend the core New Relic\nInfrastructure agent's capabilities to allow you to collect metric and\nlive state data from redis components."
license: "https://newrelic.com/terms (also see LICENSE installed with this package)"

builds:
- nri-nix-fips

dependencies:
- newrelic-infra (>= 1.20.0)

bindir: "/var/db/newrelic-infra/newrelic-integrations/bin"

contents:
- src: "redis-config.yml.sample"
dst: "/etc/newrelic-infra/integrations.d/redis-config.yml.sample"
- src: "redis-log.yml.example"
dst: "/etc/newrelic-infra/logging.d/redis-log.yml.example"
- src: "CHANGELOG.md"
dst: "/usr/share/doc/nri-redis/CHANGELOG.md"
- src: "README.md"
dst: "/usr/share/doc/nri-redis/README.md"
- src: "LICENSE"
dst: "/usr/share/doc/nri-redis/LICENSE"
- src: "legacy/redis-definition.yml"
dst: "/var/db/newrelic-infra/newrelic-integrations/redis-definition.yml"
type: config

overrides:
rpm:
file_name_template: >-
{{- .ProjectName }}-
{{- .Version }}-1.
{{- if eq .Arch "amd64" -}}x86_64
{{- else -}}
{{ .Arch }}_fips
{{- end }}
# Formats to be generated.
formats:
- deb
- rpm

archives:
- id: nri-nix
Expand Down

0 comments on commit 4ed7f0c

Please sign in to comment.