Skip to content

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

Open
wangxinbot wants to merge 1 commit intosonic-net:202505from
wangxinbot:cherry-pick-22794-202505
Open

[Cherry-pick 202505] ansible: support pulling ceos_image from docker registry and enhance image discovery#23255
wangxinbot wants to merge 1 commit intosonic-net:202505from
wangxinbot:cherry-pick-22794-202505

Conversation

@wangxinbot
Copy link
Contributor

@wangxinbot wangxinbot commented Mar 24, 2026

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

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

Conflicts resolved in ansible/roles/vm_set/tasks/add_ceos_list.yml.

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

…image discovery

Cherry-pick of sonic-net#22794 and sonic-net#23299 to 202505 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>
@wangxinbot wangxinbot force-pushed the cherry-pick-22794-202505 branch from 7b8d21a to 47ee140 Compare March 25, 2026 09:39
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@wangxinbot wangxinbot changed the title [Cherry-pick 202505] ansible: support pulling ceos_image from docker registry [Cherry-pick 202505] ansible: support pulling ceos_image from docker registry and enhance image discovery Mar 25, 2026
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.

3 participants