Add Windows images to CI registry for WINC tests#75347
Add Windows images to CI registry for WINC tests#75347openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
Conversation
4c8e8ef to
b6edca7
Compare
694c9f1 to
acf6483
Compare
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-gcp-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
acf6483 to
776c3c7
Compare
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-gcp-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
776c3c7 to
2e86cb0
Compare
2e86cb0 to
79cf7b7
Compare
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-gcp-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
79cf7b7 to
dc761f9
Compare
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-gcp-ipi-ovn-winc-f7 |
|
@rrasouli: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
025e695 to
c81a0ae
Compare
|
/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-azure-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-ipi-ovn-winc-f7 periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-gcp-ipi-ovn-winc-f7 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deepsm007, rrasouli, weinliu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@rrasouli: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Setup ImageTagMirrorSet to redirect mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell for fast local image pulls. This mirrors the functionality from cucushift-winc-prepare (PR openshift#75347) which pre-mirrors Windows images via core-services/image-mirroring/_config.yaml. Without this, Windows pods timeout pulling 1-2GB nanoserver images from mcr.microsoft.com. With mirroring, images pull from CI registry in <30 seconds. Changes: - Add setup_image_mirroring() function from cucushift-winc-prepare - Call before creating workloads to setup ITMS redirection - Remove useless 30m wait (nodes won't be Ready if not ready) - Workloads continue using mcr.microsoft.com URLs (ITMS redirects transparently)
Windows nanoserver images (1-2GB compressed) take 15-20 minutes to pull over slow Prow CI networking. Temporary workaround until PR openshift#75347 merges to main, which adds image mirroring to CI registry. After that merges, we can rebase and reduce timeout back to 5m. Changes: - Increase Windows workload timeout: 5m → 20m - Remove duplicate image mirroring code (wait for PR openshift#75347) - Add TODO to reduce timeout after PR openshift#75347 merges
Setup ImageTagMirrorSet to redirect mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell for fast local image pulls. This mirrors the functionality from cucushift-winc-prepare (PR openshift#75347) which pre-mirrors Windows images via core-services/image-mirroring/_config.yaml. Without this, Windows pods timeout pulling 1-2GB nanoserver images from mcr.microsoft.com. With mirroring, images pull from CI registry in <30 seconds. Changes: - Add setup_image_mirroring() function from cucushift-winc-prepare - Call before creating workloads to setup ITMS redirection - Remove useless 30m wait (nodes won't be Ready if not ready) - Workloads continue using mcr.microsoft.com URLs (ITMS redirects transparently)
Windows nanoserver images (1-2GB compressed) take 15-20 minutes to pull over slow Prow CI networking. Temporary workaround until PR openshift#75347 merges to main, which adds image mirroring to CI registry. After that merges, we can rebase and reduce timeout back to 5m. Changes: - Increase Windows workload timeout: 5m → 20m - Remove duplicate image mirroring code (wait for PR openshift#75347) - Add TODO to reduce timeout after PR openshift#75347 merges
Setup ImageTagMirrorSet to redirect mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell for fast local image pulls. This mirrors the functionality from cucushift-winc-prepare (PR openshift#75347) which pre-mirrors Windows images via core-services/image-mirroring/_config.yaml. Without this, Windows pods timeout pulling 1-2GB nanoserver images from mcr.microsoft.com. With mirroring, images pull from CI registry in <30 seconds. Changes: - Add setup_image_mirroring() function from cucushift-winc-prepare - Call before creating workloads to setup ITMS redirection - Remove useless 30m wait (nodes won't be Ready if not ready) - Workloads continue using mcr.microsoft.com URLs (ITMS redirects transparently)
Windows nanoserver images (1-2GB compressed) take 15-20 minutes to pull over slow Prow CI networking. Temporary workaround until PR openshift#75347 merges to main, which adds image mirroring to CI registry. After that merges, we can rebase and reduce timeout back to 5m. Changes: - Increase Windows workload timeout: 5m → 20m - Remove duplicate image mirroring code (wait for PR openshift#75347) - Add TODO to reduce timeout after PR openshift#75347 merges
Setup ImageTagMirrorSet to redirect mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell for fast local image pulls. This mirrors the functionality from cucushift-winc-prepare (PR openshift#75347) which pre-mirrors Windows images via core-services/image-mirroring/_config.yaml. Without this, Windows pods timeout pulling 1-2GB nanoserver images from mcr.microsoft.com. With mirroring, images pull from CI registry in <30 seconds. Changes: - Add setup_image_mirroring() function from cucushift-winc-prepare - Call before creating workloads to setup ITMS redirection - Remove useless 30m wait (nodes won't be Ready if not ready) - Workloads continue using mcr.microsoft.com URLs (ITMS redirects transparently)
Windows nanoserver images (1-2GB compressed) take 15-20 minutes to pull over slow Prow CI networking. Temporary workaround until PR openshift#75347 merges to main, which adds image mirroring to CI registry. After that merges, we can rebase and reduce timeout back to 5m. Changes: - Increase Windows workload timeout: 5m → 20m - Remove duplicate image mirroring code (wait for PR openshift#75347) - Add TODO to reduce timeout after PR openshift#75347 merges
PR openshift#75347 merged to upstream/main adding Windows image mirroring to CI registry. Now we can use it in BYOH workflows: Changes: - Add setup_image_mirroring() function (from cucushift-winc-prepare) - Call it before creating workloads to setup ImageTagMirrorSet - Redirects mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell - Reduce Windows workload timeout: 20m → 5m (images pull from local CI registry in <30s) This enables fast Windows container image pulls from mirrored CI registry instead of slow internet pulls from mcr.microsoft.com.
Setup ImageTagMirrorSet to redirect mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell for fast local image pulls. This mirrors the functionality from cucushift-winc-prepare (PR openshift#75347) which pre-mirrors Windows images via core-services/image-mirroring/_config.yaml. Without this, Windows pods timeout pulling 1-2GB nanoserver images from mcr.microsoft.com. With mirroring, images pull from CI registry in <30 seconds. Changes: - Add setup_image_mirroring() function from cucushift-winc-prepare - Call before creating workloads to setup ITMS redirection - Remove useless 30m wait (nodes won't be Ready if not ready) - Workloads continue using mcr.microsoft.com URLs (ITMS redirects transparently)
Windows nanoserver images (1-2GB compressed) take 15-20 minutes to pull over slow Prow CI networking. Temporary workaround until PR openshift#75347 merges to main, which adds image mirroring to CI registry. After that merges, we can rebase and reduce timeout back to 5m. Changes: - Increase Windows workload timeout: 5m → 20m - Remove duplicate image mirroring code (wait for PR openshift#75347) - Add TODO to reduce timeout after PR openshift#75347 merges
PR openshift#75347 merged to upstream/main adding Windows image mirroring to CI registry. Now we can use it in BYOH workflows: Changes: - Add setup_image_mirroring() function (from cucushift-winc-prepare) - Call it before creating workloads to setup ImageTagMirrorSet - Redirects mcr.microsoft.com/powershell to registry.ci.openshift.org/microsoft/powershell - Reduce Windows workload timeout: 20m → 5m (images pull from local CI registry in <30s) This enables fast Windows container image pulls from mirrored CI registry instead of slow internet pulls from mcr.microsoft.com.
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Enable Windows container tests in Prow CI by pre-mirroring Windows images to registry.ci.openshift.org and using ImageTagMirrorSet for transparent redirection. Changes: 1. Add Windows PowerShell images to supplemental CI images: - mcr.microsoft.com/powershell:lts-nanoserver-1809 (Server 2019) - mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 (Server 2022) 2. Create ImageTagMirrorSet in cucushift-winc-prepare: - Redirects mcr.microsoft.com/powershell → registry.ci.openshift.org/microsoft/powershell - Works in both connected (CI registry) and disconnected (ephemeral mirror) modes How it works: - CI infrastructure automatically mirrors images to registry.ci.openshift.org - ITMS transparently redirects image pulls during test execution - Tests continue using mcr.microsoft.com URLs in ConfigMap - No test code changes required Supported Windows versions: - Server 2019 (1809) - TODO: Remove after AMI upgrades - Server 2022 (ltsc2022) - Default Note: Server 2025 (ltsc2025) will be added when Microsoft publishes the image Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Summary
Enable Windows container tests in Prow CI by adding Windows PowerShell images and CSI driver images to the supplemental CI images registry and creating ImageTagMirrorSet for transparent redirection.
Problem
WINC tests use Windows container images from
mcr.microsoft.com/powershelland CSI driver images frommcr.microsoft.comandregistry.k8s.iowhich may not be accessible in all Prow CI environments. Tests need a reliable way to pull these images without depending on external registries.Solution
1. Pre-Mirror Windows Images to CI Registry
Added Windows PowerShell and CSI driver images to
core-services/image-mirroring/_config.yaml:PowerShell Containers:
Azure CSI Driver Images (for OCP-66352):
vSphere CSI Driver Images (for OCP-66352):
These images are automatically mirrored by CI infrastructure to
registry.ci.openshift.org.Note: Windows Server 2025 (
lts-nanoserver-ltsc2025) will be added when Microsoft publishes the image.2. Create ImageTagMirrorSet for Transparent Redirection
Updated
cucushift-winc-prepareto create ITMS that redirects image pulls:How It Works
Connected Prow CI (default):
registry.ci.openshift.orgcucushift-winc-preparecreates ITMS during test setupmcr.microsoft.com/powershell:lts-nanoserver-ltsc2022)registry.ci.openshift.orgDisconnected Environments (vSphere with bastion):
${SHARED_DIR}/mirror_registry_urlImages Covered
Windows PowerShell Containers (OCP-42204)
Used by webserver tests and general Windows workloads:
mcr.microsoft.com/powershell:lts-nanoserver-1809(Server 2019)mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022(Server 2022)CSI Driver Images (OCP-66352)
Used by Windows storage tests on Azure and vSphere:
mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v2.8.0mcr.microsoft.com/k8s/csi/azurefile-csi:v1.35.0registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.7.0registry.k8s.io/csi-vsphere/driver:v3.3.0registry.k8s.io/sig-storage/livenessprobe:v2.9.0Supported Windows Versions
lts-nanoserver-1809lts-nanoserver-ltsc2022lts-nanoserver-ltsc2025Benefits
✅ No test code changes - ConfigMap still contains upstream MCR URLs
✅ Uses standard CI infrastructure - Leverages existing image mirroring system
✅ Works in multiple environments - Connected Prow, disconnected vSphere, Jenkins
✅ Simple and maintainable - No on-the-fly image mirroring during tests
✅ Covers storage tests - CSI driver images included for OCP-66352
✅ Reproducible CI - Pinned CSI driver versions ensure consistent test behavior
Files Modified
core-services/image-mirroring/_config.yaml- Add Windows PowerShell and CSI driver images to supplemental CI imagesci-operator/step-registry/cucushift/winc/prepare/cucushift-winc-prepare-commands.sh- Create ITMS for redirectionTesting Plan
After merge, CI infrastructure will automatically mirror the images. Then:
debug-winc-aws-ipi)oc get imagetagmirrorset winc-test-tagmirrorsetshows correct configurationRelated PRs