-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[gnmi] Migrate gnmi, telemetry, and watchdog containers to Debian Trixie #25957
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
Changes from all commits
ba60414
b5bb680
46eafe2
3ab684d
b710dcf
6a7c7e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,28 +8,28 @@ $(DOCKER_GNMI)_PATH = $(DOCKERS_PATH)/$(DOCKER_GNMI_STEM) | |
|
|
||
| $(DOCKER_GNMI)_DEPENDS += $(SONIC_MGMT_COMMON) | ||
| $(DOCKER_GNMI)_DEPENDS += $(SONIC_TELEMETRY) | ||
| $(DOCKER_GNMI)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BOOKWORM)_DBG_DEPENDS) | ||
| $(DOCKER_GNMI)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_TRIXIE)_DBG_DEPENDS) | ||
|
|
||
| $(DOCKER_GNMI)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BOOKWORM) | ||
| $(DOCKER_GNMI)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_TRIXIE) | ||
|
|
||
| $(DOCKER_GNMI)_VERSION = 1.0.0 | ||
| $(DOCKER_GNMI)_PACKAGE_NAME = gnmi | ||
|
|
||
| $(DOCKER_GNMI)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BOOKWORM)_DBG_IMAGE_PACKAGES) | ||
| $(DOCKER_GNMI)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_TRIXIE)_DBG_IMAGE_PACKAGES) | ||
|
|
||
| # Ensure docker-telemetry-watchdog (which uses a docker-sonic-gnmi-based image) | ||
| # is built before the docker-sonic-gnmi debug image, because the debug image build removes | ||
| # its docker-sonic-gnmi base image during cleanup. | ||
| $(DOCKER_GNMI_DBG)_AFTER += $(DOCKER_TELEMETRY_WATCHDOG) | ||
|
|
||
| SONIC_DOCKER_IMAGES += $(DOCKER_GNMI) | ||
| SONIC_BOOKWORM_DOCKERS += $(DOCKER_GNMI) | ||
| SONIC_TRIXIE_DOCKERS += $(DOCKER_GNMI) | ||
| ifeq ($(INCLUDE_SYSTEM_GNMI), y) | ||
| SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_GNMI) | ||
| endif | ||
|
Comment on lines
25
to
29
|
||
|
|
||
| SONIC_DOCKER_DBG_IMAGES += $(DOCKER_GNMI_DBG) | ||
| SONIC_BOOKWORM_DBG_DOCKERS += $(DOCKER_GNMI_DBG) | ||
| SONIC_TRIXIE_DBG_DOCKERS += $(DOCKER_GNMI_DBG) | ||
| ifeq ($(INCLUDE_SYSTEM_GNMI), y) | ||
| SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_GNMI_DBG) | ||
| endif | ||
|
|
||
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.
$(DOCKER_GNMI_DBG)_AFTER += $(DOCKER_TELEMETRY_WATCHDOG)now points at a docker image that is still categorized as Bookworm-only (see rules/docker-telemetry-watchdog.mk), so when building withBLDENV=trixiethere may be no rule to producetarget/docker-telemetry-watchdog.gz, causing the GNMI debug image build to fail. Consider either migrating docker-telemetry-watchdog to Trixie as part of this change, or making this_AFTERdependency conditional so it only applies when the dependency image is part of the currentDOCKER_IMAGESset.