Skip to content

Commit

Permalink
Support for ARM (#131)
Browse files Browse the repository at this point in the history
- Support for ARM
  • Loading branch information
alvarocabanas authored Jun 8, 2021
1 parent 9f65ec3 commit 6382797
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 47 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.16.2 (2021-06-08)
### Changed
- Support for ARM

## 2.16.1 (2021-06-07)
### Changed
- New argument topic_source to be either broker or zookeeper (default broker)
Expand Down
71 changes: 25 additions & 46 deletions build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,67 +29,46 @@ builds:
pre: build/windows/set_exe_properties.sh {{ .Env.TAG }} "kafka"

nfpms:
- id: nri-deb
builds:
- nri-nix
- id: linux
file_name_template: "{{ .ProjectName }}_{{ .Version }}-1_{{ .Arch }}"
vendor: "New Relic, Inc."
homepage: "https://www.newrelic.com/infrastructure"
maintainer: "New Relic Infrastructure Team <[email protected]>"
description: "New Relic Infrastructure kafka Integration extend the core New Relic\nInfrastructure agent's capabilities to allow you to collect metric and\nlive state data from kafka components."
license: "https://newrelic.com/terms (also see LICENSE installed with this package)"
# Formats to be generated.
formats:
- deb
bindir: "/var/db/newrelic-infra/newrelic-integrations/bin"
contents:
- src: kafka-config.yml.sample
dst: /etc/newrelic-infra/integrations.d/kafka-config.yml.sample
- src: CHANGELOG.md
dst: /usr/share/doc/nri-kafka/CHANGELOG.md
- src: README.md
dst: /usr/share/doc/nri-kafka/README.md
- src: LICENSE
dst: /usr/share/doc/nri-kafka/LICENSE
- src: kafka-definition.yml
dst: /var/db/newrelic-infra/newrelic-integrations/kafka-definition.yml
type: config

builds:
- nri-nix

dependencies:
- "newrelic-infra"
- "nrjmx"

- id: nri-rpm
builds:
- nri-nix
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
vendor: "New Relic, Inc."
homepage: "https://www.newrelic.com/infrastructure"
maintainer: "New Relic Infrastructure Team <[email protected]>"
description: "New Relic Infrastructure kafka Integration extend the core New Relic\nInfrastructure agent's capabilities to allow you to collect metric and\nlive state data from kafka components."
license: "https://newrelic.com/terms (also see LICENSE installed with this package)"
# Formats to be generated.
formats:
- rpm
bindir: "/var/db/newrelic-infra/newrelic-integrations/bin"

contents:
- src: kafka-config.yml.sample
dst: /etc/newrelic-infra/integrations.d/kafka-config.yml.sample
- src: CHANGELOG.md
dst: /usr/share/doc/nri-kafka/CHANGELOG.md
- src: README.md
dst: /usr/share/doc/nri-kafka/README.md
- src: LICENSE
dst: /usr/share/doc/nri-kafka/LICENSE
- src: kafka-definition.yml
dst: /var/db/newrelic-infra/newrelic-integrations/kafka-definition.yml
- src: "kafka-config.yml.sample"
dst: "/etc/newrelic-infra/integrations.d/kafka-config.yml.sample"
- src: "CHANGELOG.md"
dst: "/usr/share/doc/nri-kafka/CHANGELOG.md"
- src: "README.md"
dst: "/usr/share/doc/nri-kafka/README.md"
- src: "LICENSE"
dst: "/usr/share/doc/nri-kafka/LICENSE"
- src: "kafka-definition.yml"
dst: "/var/db/newrelic-infra/newrelic-integrations/kafka-definition.yml"
type: config
dependencies:
- "newrelic-infra"
- "nrjmx"

overrides:
rpm:
file_name_template: "{{ .ProjectName }}-{{ .Version }}-1.{{ .Arch }}"
replacements:
amd64: 1.x86_64
amd64: x86_64

# Formats to be generated.
formats:
- deb
- rpm

archives:
- id: nri-nix
Expand All @@ -112,4 +91,4 @@ archives:

# we use custom publisher for fixing archives and signing them
release:
disable: true
disable: true
2 changes: 1 addition & 1 deletion build/release.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BUILD_DIR := ./bin/
GORELEASER_VERSION := v0.154.0
GORELEASER_VERSION := v0.169.0
GORELEASER_BIN ?= bin/goreleaser

bin:
Expand Down

0 comments on commit 6382797

Please sign in to comment.