I’ve been trying to figure out how to build a collector-sidecar package, since I’ve had some changes merged in and would like to deploy to my environment. It looks like it uses fpm-cook to build the package, per the Makefile but when i try make package-linux I get:
===> Copying ../../build/0.1.0/linux/amd64/graylog-collector-sidecar to cache /home/gitlab-runner/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:1387:in `copy': unknown file type: ../../build/0.1.0/linux/amd64/graylog-collector-sidecar (RuntimeError)
This suggests to me that i should be running make package-linux from a different directory, but there aren’t any directions. If i move the build directory to a location it wants, then it fails because there’s an issue finding …/…/collectors/filebeat/linux/x86_64/filebeat
How is the collector-sidecar package built usually?