-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial deb and rpm packaging #405
Conversation
Codecov Report
@@ Coverage Diff @@
## master #405 +/- ##
=======================================
Coverage 85.16% 85.16%
=======================================
Files 177 177
Lines 9505 9505
=======================================
Hits 8095 8095
Misses 1089 1089
Partials 321 321
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we also want to publish deb/rpm packages for ARM?
Good point. Will update to build ARM packages as well. |
5307a4e
to
14be184
Compare
@jchengsfx can you update this PR to reflect the changes introduced in open-telemetry/opentelemetry-collector#1360? Let's merge this today before we release v0.6 |
- Uses https://github.com/jordansissel/fpm - Adds `deb-package` and `rpm-package` targets to Makefile - Builds simple deb and rpm packages that installs the otelcontribcol binary to `/usr/bin/otelcontribcol` - Adds deb and rpm packages to circleci workspace for github release - TODO: create service scripts
- Add support for arm64 packages - Move files to internal/buildscripts/packaging/ - Use single Dockerfile for local deb and rpm builds - Explicitly set output dir for packages in circleci
- Install `otel-contrib-collector` systemd service and run as `otel:otel` user:group - Add simple installation test scripts using systemd-in-docker images
…405) * migrate code base to use "github.com/stretchr/testify/require" in receiver/zipkinreceiver * use require.Equal and replase t.Error with require
Based on the OpenCensus agent exporter. Fixes #343 Co-authored-by: Chris Kleinknecht <[email protected]>
Fixes open-telemetry#16450 The original packaging tests for the Linux packages (deb, rpm) that were created in open-telemetry#405 used a bit of gnarly work around in order to allow very limited Systemd functionality to be used in Docker/Containerd At the time when those packaging tests were written, podman was already able to run Systemd, but podman was not included in Ubuntu 20.04 yet ... Now that Podman is available in Ubuntu 22.04, running SystemD in Podman just works. Signed-off-by: Christoph Wegener <[email protected]>
Fixes open-telemetry#16450 The original packaging tests for the Linux packages (deb, rpm) that were created in open-telemetry#405 used a bit of gnarly work around in order to allow very limited Systemd functionality to be used in Docker/Containerd At the time when those packaging tests were written, podman was already able to run Systemd, but podman was not included in Ubuntu 20.04 yet ... Now that Podman is available in Ubuntu 22.04, running SystemD in Podman just works. Signed-off-by: Christoph Wegener <[email protected]>
Fixes #16450 The original packaging tests for the Linux packages (deb, rpm) that were created in #405 used a bit of gnarly work around in order to allow very limited Systemd functionality to be used in Docker/Containerd At the time when those packaging tests were written, podman was already able to run Systemd, but podman was not included in Ubuntu 20.04 yet ... Now that Podman is available in Ubuntu 22.04, running SystemD in Podman just works. Signed-off-by: Christoph Wegener <[email protected]>
Fixes open-telemetry#16450 The original packaging tests for the Linux packages (deb, rpm) that were created in open-telemetry#405 used a bit of gnarly work around in order to allow very limited Systemd functionality to be used in Docker/Containerd At the time when those packaging tests were written, podman was already able to run Systemd, but podman was not included in Ubuntu 20.04 yet ... Now that Podman is available in Ubuntu 22.04, running SystemD in Podman just works. Signed-off-by: Christoph Wegener <[email protected]>
Description:
deb-package
andrpm-package
targets to Makefilebinary to
/usr/bin/otelcontribcol
otel-contrib-collector
systemd service and run asotel:otel
user:groupTesting:
Documentation:
deb/README.md
andrpm/README.md