Skip to content

Unify the build/test strategy of OSS GCE PD CSI Driver for Linux and Windows #899

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

Merged

Conversation

mauriciopoppe
Copy link
Member

@mauriciopoppe mauriciopoppe commented Jan 14, 2022

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind cleanup
/kind feature

What this PR does / why we need it:
Unifies the build/test strategy of OSS GCE PD CSI Driver for Linux and Windows

Implementation steps:

  • Update the shell script for Windows CI runs setting --kube-version=master --bringup-cluster=true --teardown-cluster=true, that way the k8s-integration binary will download and compile the kubernetes codebase, bringup and teardown the cluster.
  • Changes to k8s-integration
    • Remove the condition to get a project from Boskos only for Linux, this should apply to Windows too
    • During the cluster bootstrap add a variable to control the number of Windows nodes in addition to the Linux nodes
  • Update the test-infra configs for the Windows CI jobs removing the bootstrap scenario and making them similar to the Linux configuration.

Next steps:

  • Before merging it I'll update the Windows presubmit job first and then all the periodic jobs in test-infra, run it again and remove the hold

Which issue(s) this PR fixes:

Another step to fix #892

Does this PR introduce a user-facing change?:

NONE

/hold
/cc @mattcary @jingxu97

@k8s-ci-robot k8s-ci-robot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. release-note-none Denotes a PR that doesn't merit a release note. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 14, 2022
@@ -98,6 +100,14 @@ func clusterUpGCE(k8sDir, gceZone string, numNodes int, imageType string) error
return err
}

// the chain is NUM_WINDOOWS_NODES -> --num-windows-nodes -> NUM_WINDOWS_NODES
Copy link
Contributor

Choose a reason for hiding this comment

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

WINDOOWS typo

@mauriciopoppe mauriciopoppe force-pushed the use-compiled-binaries branch 2 times, most recently from defb219 to bc4fcc6 Compare January 14, 2022 23:57
@mauriciopoppe
Copy link
Member Author

/test pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019

1 similar comment
@mauriciopoppe
Copy link
Member Author

/test pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019

@mauriciopoppe
Copy link
Member Author

/test pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019

1 similar comment
@mauriciopoppe
Copy link
Member Author

/test pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019

@mauriciopoppe
Copy link
Member Author

/hold cancel

Verified that pull-gcp-compute-persistent-disk-csi-driver-e2e-windows-2019 succeeded

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 20, 2022
@jingxu97
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 21, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jingxu97, mauriciopoppe

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2022
@k8s-ci-robot k8s-ci-robot merged commit 3e43404 into kubernetes-sigs:master Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI tests aren't using the e2e.test binary compiled from the latest kubernetes master codebase
4 participants