Skip to content

Migrating remaining CAPZ + Windows jobs to use templates/scripting from windows-testing repo#37115

Closed
marosset wants to merge 1 commit into
kubernetes:masterfrom
marosset:update-remaining-capz-windows-tests
Closed

Migrating remaining CAPZ + Windows jobs to use templates/scripting from windows-testing repo#37115
marosset wants to merge 1 commit into
kubernetes:masterfrom
marosset:update-remaining-capz-windows-tests

Conversation

@marosset

Copy link
Copy Markdown
Contributor

@k8s-ci-robot k8s-ci-robot added the sig/windows Categorizes an issue or PR as relevant to SIG Windows. label May 27, 2026
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 27, 2026
@k8s-ci-robot k8s-ci-robot requested a review from andyzhangx May 27, 2026 17:49
@k8s-ci-robot k8s-ci-robot added the area/config Issues or PRs related to code in /config label May 27, 2026
@k8s-ci-robot k8s-ci-robot requested a review from feiskyer May 27, 2026 17:49
@k8s-ci-robot k8s-ci-robot added area/jobs area/provider/azure Issues or PRs related to azure provider sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/testing Categorizes an issue or PR as relevant to SIG Testing. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 27, 2026
preset-azure-community: "true"
extra_refs:
- org: kubernetes-sigs
repo: cluster-api-provider-azure

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we need to check out the CAPZ repo for this test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should still be doing that.
The diff is weird but my intention was to delete the Windows 2019 job here.
If you look at the file view (https://github.com/marosset/test-infra/blob/561a2c5ba60a3b22133f27abac31d56980e8b302/config/jobs/kubernetes-csi/csi-driver-smb/csi-driver-smb-config.yaml) all of the jobs that reference the windows-testing repo still reference CAPZ/cloud-provider-azure

@mboersma mboersma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

azurefile-csi-driver-config.yaml still has three other jobs using preset-azure-windows (pull-azurefile-csi-driver-e2e-migration-windows at line 179, external-e2e-smb at 250, external-e2e-nfs at 305). Just want to confirm that those are out of scope for this PR.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: marosset, mboersma
Once this PR has been reviewed and has the lgtm label, please ask for approval from andyzhangx. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@marosset

Copy link
Copy Markdown
Contributor Author

/lgtm

azurefile-csi-driver-config.yaml still has three other jobs using preset-azure-windows (pull-azurefile-csi-driver-e2e-migration-windows at line 179, external-e2e-smb at 250, external-e2e-nfs at 305). Just want to confirm that those are out of scope for this PR.

I probably missed those, let me take a look

@marosset

Copy link
Copy Markdown
Contributor Author

/lgtm

azurefile-csi-driver-config.yaml still has three other jobs using preset-azure-windows (pull-azurefile-csi-driver-e2e-migration-windows at line 179, external-e2e-smb at 250, external-e2e-nfs at 305). Just want to confirm that those are out of scope for this PR.

pull-azurefile-csi-driver-e2e-migration-windows looks correct.
For the other 2, i don't know why those had preset-azure-windows set.

That preset just sets the following which shouldn't cause anything to run on Windows machines.
I'll keep cleaning that up out of scope

- labels:
    preset-azure-windows: "true"
  env:
  - name: WIN_BUILD
    value: https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/build/build-windows-k8s.sh
  - name: K8S_SSH_PUBLIC_KEY_PATH
    value: /etc/ssh-key-secret/ssh-public # from preset-k8s-ssh label
  - name: K8S_SSH_PRIVATE_KEY_PATH
    value: /etc/ssh-key-secret/ssh-private # from preset-k8s-ssh label
- labels:

…om windows-testing repo

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
@marosset marosset force-pushed the update-remaining-capz-windows-tests branch from 561a2c5 to 20bad5a Compare May 27, 2026 19:53
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 27, 2026

@andyzhangx andyzhangx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/hold

we need to make sure capz windows test works on k8s 1.33 or later version

description: "Run E2E Windows tests on a capz Windows 2022 cluster for SMB CSI driver."
testgrid-num-columns-recent: '30'
- name: pull-csi-driver-smb-e2e-windows-2019
- name: pull-csi-driver-smb-e2e-windows-2022-hostprocess

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls don't change the existing test name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is just showing up as a complicated diff because I removed some jobs.

Once #37125 merges, i will rebase this PR which should have a cleaning diff

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 28, 2026
@marosset

marosset commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

I'm going to split this PR into multiple ones.
/close

@k8s-ci-robot

Copy link
Copy Markdown
Contributor

@marosset: Closed this PR.

Details

In response to this:

I'm going to split this PR into multiple ones.
/close

Instructions 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Issues or PRs related to code in /config area/jobs area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/testing Categorizes an issue or PR as relevant to SIG Testing. sig/windows Categorizes an issue or PR as relevant to SIG Windows. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants