Skip to content

[Cherry-pick 202511] ansible: support pulling ceos_image from docker registry and enhance image discovery#23300

Merged
vmittal-msft merged 1 commit intosonic-net:202511from
wangxinbot:cherry-pick-22794-202511
Mar 25, 2026
Merged

[Cherry-pick 202511] ansible: support pulling ceos_image from docker registry and enhance image discovery#23300
vmittal-msft merged 1 commit intosonic-net:202511from
wangxinbot:cherry-pick-22794-202511

Conversation

@wangxinbot
Copy link
Copy Markdown
Contributor

Cherry-pick of #22794 and #23299 to 202511 branch.

This PR replaces #23252 (auto-created by mssonicbld) with the combined changes from both PRs.

Original PRs:

Combined changes include:

  1. Support for pulling ceos_image from a configured docker registry (ceos_registry)
  2. Enhanced image discovery: when ceos_registry is not defined, discovers pre-pulled registry images locally via docker images | grep, avoiding unnecessary local image builds that trigger S360 alerts

Supersedes #23252.

…image discovery

Cherry-pick of sonic-net#22794 and sonic-net#23299 to 202511 branch.

Original PRs:
- sonic-net#22794
- sonic-net#23299

Includes enhanced ceos image discovery: when ceos_registry is not defined,
a consolidated 'docker images | grep' discovers pre-pulled registry images
locally, avoiding unnecessary local image builds that trigger S360 alerts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Xin Wang <xiwang5@microsoft.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@vmittal-msft vmittal-msft merged commit 53b4ce2 into sonic-net:202511 Mar 25, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants