Skip to content

Commit

Permalink
fix: add correct config to the bundle (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchezgavier committed Mar 22, 2021
1 parent 571a261 commit 43f8bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ archives:
- nri-nix
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Version }}_{{ .Arch }}_dirty"
files:
- docker-config.yml.sample
- docker-config.yml
- docker-definition.yml
format: tar.gz

Expand Down
2 changes: 1 addition & 1 deletion build/nix/fix_archives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ find dist -regex ".*_dirty\.tar.gz" | while read tarball_dirty; do
echo "===> Move files inside ${tarball}"
mv ${TARBALL_CONTENT_PATH}/nri-${INTEGRATION} "${TARBALL_CONTENT_PATH}/var/db/newrelic-infra/newrelic-integrations/bin/"
mv ${TARBALL_CONTENT_PATH}/${INTEGRATION}-definition.yml ${TARBALL_CONTENT_PATH}/var/db/newrelic-infra/newrelic-integrations/
mv ${TARBALL_CONTENT_PATH}/${INTEGRATION}-config.yml.sample ${TARBALL_CONTENT_PATH}/etc/newrelic-infra/integrations.d/
mv ${TARBALL_CONTENT_PATH}/${INTEGRATION}-config.yml ${TARBALL_CONTENT_PATH}/etc/newrelic-infra/integrations.d/

echo "===> Creating tarball ${TARBALL_CLEAN}"
cd ${TARBALL_CONTENT_PATH}
Expand Down

0 comments on commit 43f8bd9

Please sign in to comment.