feat(engine): add docker compose installation script#3353
Draft
feat(engine): add docker compose installation script#3353
Conversation
Contributor
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
371c021 to
0276659
Compare
kduret
reviewed
Apr 28, 2026
…treon-broker - centreon-engine bookworm image with entrypoint scripts (config, plugin watcher, logs) - centreon-broker bookworm image with entrypoint scripts (api_control, broker bootstrap) - docker-collect.yml workflow building both images via matrix on PR/manual dispatch Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
…tegrate dockerize into collect workflow - Inline container.d scripts into container.sh for broker (remove container.d complexity) - Delete docker-collect.yml and add dockerize-engine-broker job to collect.yml to avoid duplicating the package job Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
5399eb1 to
ad76a30
Compare
- Use apt-plugins-stable for amd64 and apt-plugins-unstable for arm64 (bookworm arm64 libssh-session-perl now available in unstable) - Remove cpanm ARM fallback from engine Dockerfile - Add arm64 to dockerize-engine-broker matrix in collect.yml - Fail fast with clear error if deb cache is missing for a given arch - Ensure bookworm amd64+arm64 packages are built when build-docker-collect label is set Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Replace per-arch matrix jobs with a single buildx multi-platform build: - Remove arch dimension from dockerize matrix - Restore both amd64 and arm64 deb caches, sort into packages-centreon/<arch>/ - Add setup-qemu-action to support arm64 emulation on amd64 runner - Build with platforms: linux/amd64,linux/arm64 → single manifest tag - Add ARG TARGETARCH in extractor stage of engine and broker Dockerfiles Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Official Debian bookworm arm64 has libssh-session-perl 0.8 / libnet-curl-perl 0.54 but centreon-plugin-* requires >= 1.1. Centreon's arm64 bookworm packages are not yet in apt-plugins-stable (tracked in MON-198411). For arm64: install the three XS modules from CPAN and create an equivs shim package (centreon-arm64-perl-shims) that satisfies APT dependency checks on the plugin install. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Draft PR for MON-196927.
Deliver installation script (Docker compose) to deploy the latest
centreon-engineDocker image on an existing Docker environment. Sets env varsPOLLER_TOKEN,UUID, installs plugins viadnf install, ensures connection to broker & gorgone.Derived from
fth-docker-collect(umbrella branch — poller-in-container epic MON-192897).Test plan
🤖 Generated with Claude Code
Summary by Aikido
🚀 New Features
⚡ Enhancements
🔧 Refactors
More info