k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/sig-windows/release-master-windows-presubmits.yaml (about)

     1  # generated by ./config/jobs/kubernetes-sigs/sig-windows/generate-presubmits.sh.
     2  presets:
     3  - labels:
     4      preset-capz-windows-common-pull: "true"
     5    env:
     6    - name: WINDOWS
     7      value: "true"
     8    - name: CONFORMANCE_NODES
     9      value: "4"
    10    - name: AZURE_NODE_MACHINE_TYPE
    11      value: "Standard_D4s_v3"
    12  presubmits:
    13    kubernetes/kubernetes:
    14    - name: pull-kubernetes-e2e-capz-windows-master
    15      decorate: true
    16      always_run: false
    17      optional: true
    18      run_if_changed: 'azure.*\.go$|.*windows\.go$|test/e2e/windows/.*'
    19      path_alias: k8s.io/kubernetes
    20      branches:
    21        - master
    22        - main
    23      labels:
    24        preset-dind-enabled: "true"
    25        preset-kind-volume-mounts: "true"
    26        preset-azure-cred-only: "true"
    27        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
    28        preset-capz-windows-2022: "true"
    29        preset-capz-containerd-1-7-latest: "true"
    30        preset-capz-windows-common-pull: "true"
    31        preset-azure-capz-sa-cred: "true"
    32        preset-windows-private-registry-cred: "true" # Needed for WS 2022 images
    33      extra_refs:
    34      - org: kubernetes-sigs
    35        repo: cluster-api-provider-azure
    36        base_ref: release-1.13
    37        path_alias: sigs.k8s.io/cluster-api-provider-azure
    38        workdir: false
    39      - org: kubernetes-sigs
    40        repo: cloud-provider-azure
    41        base_ref: master
    42        path_alias: sigs.k8s.io/cloud-provider-azure
    43        workdir: false
    44      - org: kubernetes-sigs
    45        repo: windows-testing
    46        base_ref: master
    47        path_alias: k8s.io/windows-testing
    48        workdir: true
    49      spec:
    50        containers:
    51        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    52          command:
    53          - "runner.sh"
    54          - "env"
    55          - "KUBERNETES_VERSION=latest"
    56          - "./capz/run-capz-e2e.sh"
    57          securityContext:
    58            privileged: true
    59          resources:
    60            requests:
    61              cpu: 2
    62              memory: "9Gi"
    63      annotations:
    64        fork-per-release: "true"
    65        fork-per-release-replacements: "KUBERNETES_VERSION=latest -> KUBERNETES_VERSION=latest-{{.Version}}"
    66        testgrid-dashboards: sig-windows-presubmit
    67        testgrid-tab-name: pull-kubernetes-e2e-capz-windows
    68        testgrid-num-columns-recent: '30'
    69    - name: pull-kubernetes-e2e-capz-windows-serial-slow
    70      decorate: true
    71      decoration_config:
    72        timeout: 4h
    73      always_run: false
    74      optional: true
    75      path_alias: k8s.io/kubernetes
    76      branches:
    77        - master
    78        - main
    79      labels:
    80        preset-dind-enabled: "true"
    81        preset-kind-volume-mounts: "true"
    82        preset-azure-cred-only: "true"
    83        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
    84        preset-capz-windows-2022: "true"
    85        preset-capz-containerd-1-7-latest: "true"
    86        preset-capz-windows-common-pull: "true"
    87        preset-windows-private-registry-cred: "true"
    88        preset-azure-capz-sa-cred: "true"
    89      extra_refs:
    90      - org: kubernetes-sigs
    91        repo: cluster-api-provider-azure
    92        base_ref: release-1.13
    93        path_alias: sigs.k8s.io/cluster-api-provider-azure
    94        workdir: false
    95      - org: kubernetes-sigs
    96        repo: cloud-provider-azure
    97        base_ref: master
    98        path_alias: sigs.k8s.io/cloud-provider-azure
    99        workdir: false
   100      - org: kubernetes-sigs
   101        repo: windows-testing
   102        base_ref: master
   103        path_alias: k8s.io/windows-testing
   104        workdir: true
   105      spec:
   106        containers:
   107        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   108          command:
   109            - "runner.sh"
   110            - "env"
   111            - "KUBERNETES_VERSION=latest"
   112            - "./capz/run-capz-e2e.sh"
   113          securityContext:
   114            privileged: true
   115          resources:
   116            requests:
   117              cpu: 2
   118              memory: "9Gi"
   119          env:
   120            - name: GINKGO_FOCUS
   121              value: (\[sig-windows\]|\[sig-scheduling\].SchedulerPreemption|\[sig-apps\].CronJob).*(\[Serial\]|\[Slow\])|(\[Serial\]|\[Slow\]).*(\[Conformance\]|\[NodeConformance\])|\[sig-api-machinery\].Garbage.collector
   122            - name: GINKGO_SKIP
   123              value: \[LinuxOnly\]|device.plugin.for.Windows|RebootHost|\[sig-autoscaling\].\[Feature:HPA\]
   124      annotations:
   125        testgrid-dashboards: sig-windows-presubmit
   126        testgrid-tab-name: pull-kubernetes-e2e-capz-windows-serial-slow
   127        testgrid-num-columns-recent: '30'
   128    - name: pull-kubernetes-e2e-capz-windows-serial-slow-hpa
   129      decorate: true
   130      always_run: false
   131      optional: true
   132      path_alias: k8s.io/kubernetes
   133      branches:
   134        - master
   135        - main
   136      labels:
   137        preset-dind-enabled: "true"
   138        preset-kind-volume-mounts: "true"
   139        preset-azure-cred-only: "true"
   140        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   141        preset-capz-windows-2022: "true"
   142        preset-capz-containerd-1-7-latest: "true"
   143        preset-capz-windows-common-pull: "true"
   144        preset-windows-private-registry-cred: "true"
   145        preset-azure-capz-sa-cred: "true"
   146      extra_refs:
   147      - org: kubernetes-sigs
   148        repo: cluster-api-provider-azure
   149        base_ref: release-1.13
   150        path_alias: sigs.k8s.io/cluster-api-provider-azure
   151        workdir: false
   152      - org: kubernetes-sigs
   153        repo: cloud-provider-azure
   154        base_ref: master
   155        path_alias: sigs.k8s.io/cloud-provider-azure
   156        workdir: false
   157      - org: kubernetes-sigs
   158        repo: windows-testing
   159        base_ref: master
   160        path_alias: k8s.io/windows-testing
   161        workdir: true
   162      spec:
   163        containers:
   164        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   165          command:
   166            - "runner.sh"
   167            - "env"
   168            - "KUBERNETES_VERSION=latest"
   169            - "./capz/run-capz-e2e.sh"
   170          securityContext:
   171            privileged: true
   172          resources:
   173            requests:
   174              cpu: 2
   175              memory: "9Gi"
   176          env:
   177            - name: GINKGO_FOCUS
   178              value: (\[sig-autoscaling\].\[Feature:HPA\]).*(\[Serial\]|\[Slow\])
   179            - name: GINKGO_SKIP
   180              value: \[LinuxOnly\]
   181      annotations:
   182        testgrid-dashboards: sig-windows-presubmit
   183        testgrid-tab-name: pull-kubernetes-e2e-capz-windows-serial-slow-hpa
   184        testgrid-num-columns-recent: '30'
   185    - name: pull-kubernetes-e2e-capz-windows-alpha-features
   186      decorate: true
   187      always_run: false
   188      optional: true
   189      path_alias: k8s.io/kubernetes
   190      branches:
   191        - master
   192        - main
   193      labels:
   194        preset-dind-enabled: "true"
   195        preset-kind-volume-mounts: "true"
   196        preset-azure-cred-only: "true"
   197        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   198        preset-capz-windows-2022: "true"
   199        preset-capz-windows-common-pull: "true"
   200        preset-windows-private-registry-cred: "true"
   201        preset-azure-capz-sa-cred: "true"
   202      extra_refs:
   203        - org: kubernetes-sigs
   204          repo: cluster-api-provider-azure
   205          base_ref: release-1.13
   206          path_alias: sigs.k8s.io/cluster-api-provider-azure
   207          workdir: false
   208        - org: kubernetes-sigs
   209          repo: cloud-provider-azure
   210          base_ref: master
   211          path_alias: sigs.k8s.io/cloud-provider-azure
   212          workdir: false
   213        - org: kubernetes-sigs
   214          repo: windows-testing
   215          base_ref: master
   216          path_alias: k8s.io/windows-testing
   217          workdir: true
   218      spec:
   219        containers:
   220          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   221            command:
   222              - "runner.sh"
   223              - "env"
   224              - "KUBERNETES_VERSION=latest"
   225              - "./capz/run-capz-e2e.sh"
   226            securityContext:
   227              privileged: true
   228            resources:
   229              requests:
   230                cpu: 2
   231                memory: "9Gi"
   232            env:
   233              - name: NODE_FEATURE_GATES
   234                value: "PodAndContainerStatsFromCRI=true"
   235              - name: WINDOWS_CONTAINERD_URL
   236                value: "https://github.com/kubernetes-sigs/sig-windows-tools/releases/download/windows-containerd-nightly/windows-containerd.tar.gz"
   237      annotations:
   238        testgrid-dashboards: sig-windows-presubmit
   239        testgrid-tab-name: pull-kubernetes-e2e-capz-windows-alpha-features
   240        testgrid-num-columns-recent: '30'
   241    - name: pull-kubernetes-e2e-capz-windows-alpha-feature-vpa
   242      decorate: true
   243      always_run: false
   244      optional: true
   245      path_alias: k8s.io/kubernetes
   246      branches:
   247        - master
   248        - main
   249      labels:
   250        preset-dind-enabled: "true"
   251        preset-kind-volume-mounts: "true"
   252        preset-azure-cred-only: "true"
   253        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   254        preset-capz-windows-2022: "true"
   255        preset-capz-windows-common-pull: "true"
   256        preset-windows-private-registry-cred: "true"
   257        preset-capz-containerd-1-7-latest: "true"
   258        preset-azure-capz-sa-cred: "true"
   259      extra_refs:
   260        - org: kubernetes-sigs
   261          repo: cluster-api-provider-azure
   262          base_ref: release-1.13
   263          path_alias: sigs.k8s.io/cluster-api-provider-azure
   264          workdir: false
   265        - org: kubernetes-sigs
   266          repo: cloud-provider-azure
   267          base_ref: master
   268          path_alias: sigs.k8s.io/cloud-provider-azure
   269          workdir: false
   270        - org: kubernetes-sigs
   271          repo: windows-testing
   272          base_ref: master
   273          path_alias: k8s.io/windows-testing
   274          workdir: true
   275      spec:
   276        containers:
   277          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   278            command:
   279              - "runner.sh"
   280              - "env"
   281              - "KUBERNETES_VERSION=latest"
   282              - "./capz/run-capz-e2e.sh"
   283            securityContext:
   284              privileged: true
   285            resources:
   286              requests:
   287                cpu: 2
   288                memory: "9Gi"
   289            env:
   290              - name: API_SERVER_FEATURE_GATES
   291                value: "InPlacePodVerticalScaling=true"
   292              - name: NODE_FEATURE_GATES
   293                value: "InPlacePodVerticalScaling=true"
   294              - name: SCHEDULER_FEATURE_GATES
   295                value: "InPlacePodVerticalScaling=true"
   296              - name: GINKGO_FOCUS
   297                value: (\[Feature:InPlacePodVerticalScaling\]|\[sig-windows\]) # run the feature and a few windows related tests
   298      annotations:
   299        testgrid-dashboards: sig-windows-presubmit
   300        testgrid-tab-name: pull-kubernetes-e2e-capz-windows-alpha-feature-vertical-pod-autoscaler
   301        testgrid-num-columns-recent: '30'
   302    - name: pull-kubernetes-e2e-capz-master-windows-nodelogquery
   303      decorate: true
   304      always_run: false
   305      optional: true
   306      path_alias: k8s.io/kubernetes
   307      branches:
   308        - master
   309        - main
   310      labels:
   311        preset-dind-enabled: "true"
   312        preset-kind-volume-mounts: "true"
   313        preset-azure-cred-only: "true"
   314        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   315        preset-capz-windows-common: "true"
   316        preset-capz-windows-2022: "true"
   317        preset-windows-private-registry-cred: "true"
   318        preset-capz-containerd-1-7-latest: "true"
   319      extra_refs:
   320      - org: kubernetes-sigs
   321        repo: cluster-api-provider-azure
   322        base_ref: main
   323        path_alias: sigs.k8s.io/cluster-api-provider-azure
   324      - org: kubernetes-sigs
   325        repo: windows-testing
   326        base_ref: master
   327        path_alias: sigs.k8s.io/windows-testing
   328        workdir: true
   329      - org: kubernetes-sigs
   330        repo: cloud-provider-azure
   331        base_ref: master
   332        path_alias: sigs.k8s.io/cloud-provider-azure
   333        workdir: false
   334      spec:
   335        containers:
   336          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   337            command:
   338              - "runner.sh"
   339              - "env"
   340              - "KUBERNETES_VERSION=latest"
   341              - "./capz/run-capz-e2e.sh"
   342            securityContext:
   343              privileged: true
   344            resources:
   345              requests:
   346                cpu: 2
   347                memory: "9Gi"
   348            env:
   349              - name: GINKGO_FOCUS
   350                value: \[Feature:NodeLogQuery\] # run the NodeLogQuery tests
   351              - name: GINKGO_SKIP
   352                value: \[Serial\]|\[Slow\]
   353              - name: NODE_FEATURE_GATES
   354                value: "NodeLogQuery=true"
   355      annotations:
   356        testgrid-dashboards: sig-windows-presubmit
   357        testgrid-tab-name: pull-master-windows-nodelogquery
   358        testgrid-num-columns-recent: '30'
   359    kubernetes-sigs/windows-testing:
   360    - name: pull-e2e-capz-windows-2022-extension
   361      decorate: true
   362      always_run: false
   363      optional: true
   364      run_if_changed: 'capz/.*'
   365      decoration_config:
   366        timeout: 3h
   367      path_alias: k8s.io/windows-testing
   368      branches:
   369        - master
   370      labels:
   371        preset-dind-enabled: "true"
   372        preset-kind-volume-mounts: "true"
   373        preset-azure-cred-only: "true"
   374        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   375        preset-windows-private-registry-cred: "true"
   376        preset-capz-windows-common: "true"
   377        preset-capz-containerd-1-7-latest: "true"
   378        preset-azure-capz-sa-cred: "true"
   379        preset-capz-windows-2022: "true"
   380      extra_refs:
   381      - org: kubernetes-sigs
   382        repo: cluster-api-provider-azure
   383        base_ref: release-1.13
   384        path_alias: sigs.k8s.io/cluster-api-provider-azure
   385        workdir: false
   386      - org: kubernetes-sigs
   387        repo: cloud-provider-azure
   388        base_ref: master
   389        path_alias: sigs.k8s.io/cloud-provider-azure
   390        workdir: false
   391      spec:
   392        containers:
   393          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   394            command:
   395              - "runner.sh"
   396              - "env"
   397              - "KUBERNETES_VERSION=latest"
   398              - "./capz/run-capz-e2e.sh"
   399            securityContext:
   400              privileged: true
   401            resources:
   402              requests:
   403                cpu: 2
   404                memory: "9Gi"
   405            env:
   406            - name: GINKGO_FOCUS
   407              value: \[sig-windows\] # run just a subset to speed up testing time
   408      annotations:
   409        testgrid-dashboards: sig-windows-presubmit
   410        testgrid-tab-name: pull-e2e-capz-windows-extension
   411    - name: pull-e2e-run-capz-sh-windows-2022-hyperv
   412      decorate: true
   413      always_run: false
   414      optional: true
   415      run_if_changed: 'helpers/hyper-v-mutating-webhook/.*'
   416      decoration_config:
   417        timeout: 3h
   418      path_alias: k8s.io/windows-testing
   419      branches:
   420        - master
   421      labels:
   422        preset-dind-enabled: "true"
   423        preset-kind-volume-mounts: "true"
   424        preset-azure-cred-only: "true"
   425        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   426        preset-windows-private-registry-cred: "true"
   427        preset-capz-windows-common: "true"
   428        preset-capz-containerd-1-7-latest: "true"
   429        preset-capz-windows-2022: "true"
   430      extra_refs:
   431      - org: kubernetes-sigs
   432        repo: cluster-api-provider-azure
   433        base_ref: main
   434        path_alias: sigs.k8s.io/cluster-api-provider-azure
   435        workdir: false
   436      - org: kubernetes-sigs
   437        repo: cloud-provider-azure
   438        base_ref: master
   439        path_alias: sigs.k8s.io/cloud-provider-azure
   440        workdir: false
   441      spec:
   442        containers:
   443          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   444            command:
   445              - "runner.sh"
   446              - "env"
   447              - "KUBERNETES_VERSION=latest"
   448              - "./capz/run-capz-e2e.sh"
   449            securityContext:
   450              privileged: true
   451            resources:
   452              requests:
   453                cpu: 2
   454                memory: "9Gi"
   455            env:
   456            - name: HYPERV
   457              value: "true"
   458            - name: GINKGO_FOCUS
   459              value: \[Feature:WindowsHyperVContainers\] # run just a subset to speed up testing time
   460            - name: GINKGO_SKIP
   461              value: \[LinuxOnly\] #must set some value otherwise default is used.  The focus of WindowsHyperVContainers will select just those tests
   462      annotations:
   463        testgrid-dashboards: sig-windows-presubmit
   464        testgrid-tab-name: pull-e2e-run-capz-sh-windows-2022-hyperv
   465    - name: pull-e2e-capz-windows-2022-extension-gmsa
   466      decorate: true
   467      always_run: false
   468      optional: true
   469      run_if_changed: 'capz/gmsa/.*|capz/templates/gmsa.yaml'
   470      decoration_config:
   471        timeout: 3h
   472      path_alias: k8s.io/windows-testing
   473      branches:
   474        - master
   475      labels:
   476        preset-dind-enabled: "true"
   477        preset-kind-volume-mounts: "true"
   478        preset-azure-cred-only: "true"
   479        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   480        preset-windows-private-registry-cred: "true"
   481        preset-capz-windows-common: "true"
   482        preset-capz-containerd-1-7-latest: "true"
   483        preset-capz-windows-2022: "true"
   484      extra_refs:
   485      - org: kubernetes-sigs
   486        repo: cluster-api-provider-azure
   487        base_ref: main
   488        path_alias: sigs.k8s.io/cluster-api-provider-azure
   489        workdir: false
   490      - org: kubernetes-sigs
   491        repo: cloud-provider-azure
   492        base_ref: master
   493        path_alias: sigs.k8s.io/cloud-provider-azure
   494        workdir: false
   495      spec:
   496        containers:
   497          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   498            command:
   499              - "runner.sh"
   500              - "env"
   501              - "KUBERNETES_VERSION=latest"
   502              - "./capz/run-capz-e2e.sh"
   503            securityContext:
   504              privileged: true
   505            resources:
   506              requests:
   507                cpu: 2
   508                memory: "9Gi"
   509            env:
   510            - name: GINKGO_NODES
   511              value: "1"
   512            - name: GMSA
   513              value: "true"
   514            - name: GINKGO_FOCUS
   515              value: GMSA
   516            - name: GINKGO_SKIP
   517              value: \[LinuxOnly\] #must set some value otherwise default is used.  The focus of GMSA will select just those tests
   518      annotations:
   519        testgrid-dashboards: sig-windows-presubmit
   520        testgrid-tab-name: pull-e2e-capz-windows-extension-gmsa
   521    - name: pull-e2e-capz-validate-pr-templates
   522      decorate: true
   523      always_run: false
   524      optional: true
   525      run_if_changed: 'capz/templates/pr/.*'
   526      decoration_config:
   527        timeout: 3h
   528      path_alias: k8s.io/windows-testing
   529      branches:
   530        - master
   531      labels:
   532        preset-dind-enabled: "true"
   533        preset-kind-volume-mounts: "true"
   534        preset-azure-cred-only: "true"
   535        preset-azure-anonymous-pull: "true" # Sets REGISTRY which is needed when building CCM/CNM images
   536        preset-capz-containerd-1-7-latest: "true"
   537        preset-capz-windows-common: "true"
   538        preset-capz-windows-2022: "true"
   539        preset-windows-private-registry-cred: "true"
   540      extra_refs:
   541      - org: kubernetes
   542        repo: kubernetes
   543        base_ref: master
   544        path_alias: k8s.io/kubernetes
   545        workdir: false
   546      - org: kubernetes-sigs
   547        repo: cluster-api-provider-azure
   548        base_ref: release-1.13
   549        path_alias: sigs.k8s.io/cluster-api-provider-azure
   550        workdir: false
   551      - org: kubernetes-sigs
   552        repo: cloud-provider-azure
   553        base_ref: master
   554        path_alias: sigs.k8s.io/cloud-provider-azure
   555        workdir: false
   556      spec:
   557        containers:
   558          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   559            command:
   560              - "runner.sh"
   561              - "env"
   562              - "KUBERNETES_VERSION=latest"
   563              - "./capz/run-capz-e2e.sh"
   564            securityContext:
   565              privileged: true
   566            resources:
   567              requests:
   568                cpu: 2
   569                memory: "9Gi"
   570            env:
   571            - name: GINKGO_FOCUS
   572              value: \[sig-windows\] # run just a subset to speed up testing time
   573            - name: TEST_K8S # set to true to trigger the IS_PRESUBMIT workflow in capz_run_e2e.sh
   574              value: "true" # https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/b1c0d6f6d27c602eae98c0fac87974dfda9182ab/hack/util.sh#L32-L42
   575      annotations:
   576        testgrid-dashboards: sig-windows-presubmit
   577        testgrid-tab-name: pull-e2e-capz-windows-validate-pr-templates