Skip to content

Commit

Permalink
add otel package
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-christophe81 committed Feb 9, 2024
1 parent 9d1b047 commit 8fbd77a
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
42 changes: 42 additions & 0 deletions packaging/centreon-engine-otel-listener-debuginfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "centreon-engine-otel-listener-debuginfo"
arch: "${ARCH}"
platform: "linux"
version_schema: "none"
version: "${VERSION}"
release: "${RELEASE}${DIST}"
section: "default"
priority: "optional"
maintainer: "Centreon <[email protected]>"
description: |
Debuginfo package for centreon-engine.
Commit: @COMMIT_HASH@
vendor: "Centreon"
homepage: "https://www.centreon.com"
license: "Apache-2.0"

contents:
- src: "../lib/libotl_server.so.debug"
dst: "/usr/lib/debug/usr/lib64/centreon-engine/libotl_server.so.debug"
file_info:
mode: 0644

overrides:
rpm:
depends:
- centreon-engine-otel-listener = ${VERSION}-${RELEASE}${DIST}
deb:
depends:
- centreon-engine-otel-listener (= ${VERSION}-${RELEASE}${DIST})
conflicts:
- centreon-engine-otel-listener-dbgsym
replaces:
- centreon-engine-otel-listener-dbgsym
provides:
- centreon-engine-otel-listener-dbgsym

rpm:
summary: Debuginfo package for centreon-engine-otel-listener.
compression: zstd
signature:
key_file: ${RPM_SIGNING_KEY_FILE}
key_id: ${RPM_SIGNING_KEY_ID}
34 changes: 34 additions & 0 deletions packaging/centreon-engine-otel-listener.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "centreon-engine-otel-listener"
arch: "${ARCH}"
platform: "linux"
version_schema: "none"
version: "${VERSION}"
release: "${RELEASE}${DIST}"
section: "default"
priority: "optional"
maintainer: "Centreon <[email protected]>"
description: |
Centreon Engine OpenTelemetry listener.
Commit: @COMMIT_HASH@
vendor: "Centreon"
homepage: "https://www.centreon.com"
license: "Apache-2.0"

contents:
- src: "../lib/libotl_server.so"
dst: "/usr/lib64/centreon-engine/libotl_server.so"

overrides:
rpm:
depends:
- centreon-engine-daemon = ${VERSION}-${RELEASE}${DIST}
deb:
depends:
- centreon-engine-daemon (= ${VERSION}-${RELEASE}${DIST})

rpm:
summary: Centreon Engine OpenTelemetry listener.
compression: zstd
signature:
key_file: ${RPM_SIGNING_KEY_FILE}
key_id: ${RPM_SIGNING_KEY_ID}

0 comments on commit 8fbd77a

Please sign in to comment.