kubernetes-sigs / windows-testing

Containers, scripts and documentation for running Kubernetes tests with Windows nodes
Apache License 2.0
40 stars 54 forks source link

Parameterize k8s_unit_windows.ps1 to accept a list of packages #435

Closed claudiubelu closed 3 months ago

claudiubelu commented 3 months ago

We want to be able to run the unit tests only on a subset of packages, reducing the amount of total time spent by the job. For this, we need to be able to specify a list of packages to test.

Added testPackages argument to the k8s_unit_windows.ps1 script.

ci-k8s-unit-test.sh can be configured with the TEST_PACKAGES env variable, which will then pass to the k8s_unit_windows.ps1 script if given.

k8s-ci-robot commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: claudiubelu, jsturtevant

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: - ~~[OWNERS](https://github.com/kubernetes-sigs/windows-testing/blob/master/OWNERS)~~ [claudiubelu,jsturtevant] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment