k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/cloud-provider-vsphere/cloud-provider-vsphere-config-1.26-minus.yaml (about)

     1  presubmits:
     2    kubernetes/cloud-provider-vsphere:
     3  
     4    - name: pull-cloud-provider-vsphere-verify-fmt-1-26-minus
     5      cluster: eks-prow-build-cluster
     6      always_run: false
     7      run_if_changed: '\.go$|hack/check-format\.sh'
     8      decorate: true
     9      branches:
    10      - ^release-1.2[2-6]$
    11      path_alias: k8s.io/cloud-provider-vsphere
    12      spec:
    13        containers:
    14        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    15          command:
    16          - make
    17          args:
    18          - fmt
    19          resources:
    20            limits:
    21              cpu: 2
    22              memory: 4Gi
    23            requests:
    24              cpu: 2
    25              memory: 4Gi
    26      annotations:
    27        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
    28        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
    29        testgrid-tab-name: pr-verify-fmt-1-26-minus
    30        description: Verifies the Golang sources have been formatted
    31  
    32    - name: pull-cloud-provider-vsphere-verify-lint-1-26-minus
    33      cluster: eks-prow-build-cluster
    34      always_run: false
    35      run_if_changed: '\.go$|hack/check-lint\.sh'
    36      decorate: true
    37      branches:
    38      - ^release-1.2[2-6]$
    39      path_alias: k8s.io/cloud-provider-vsphere
    40      spec:
    41        containers:
    42        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    43          command:
    44          - make
    45          args:
    46          - lint
    47          resources:
    48            limits:
    49              cpu: 2
    50              memory: 4Gi
    51            requests:
    52              cpu: 2
    53              memory: 4Gi
    54      annotations:
    55        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
    56        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
    57        testgrid-tab-name: pr-verify-lint-1-26-minus
    58        description: Verifies the Golang sources are linted
    59  
    60    - name: pull-cloud-provider-vsphere-verify-vet-1-26-minus
    61      cluster: eks-prow-build-cluster
    62      always_run: false
    63      run_if_changed: '\.go$|hack/check-vet\.sh'
    64      decorate: true
    65      branches:
    66      - ^release-1.2[2-6]$
    67      path_alias: k8s.io/cloud-provider-vsphere
    68      spec:
    69        containers:
    70        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    71          command:
    72          - make
    73          args:
    74          - vet
    75          resources:
    76            limits:
    77              cpu: 2
    78              memory: 4Gi
    79            requests:
    80              cpu: 2
    81              memory: 4Gi
    82      annotations:
    83        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
    84        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
    85        testgrid-tab-name: pr-verify-vet-1-26-minus
    86        description: Vets the Golang sources have been vetted
    87  
    88    - name: pull-cloud-provider-vsphere-verify-staticcheck-1-26-minus
    89      cluster: eks-prow-build-cluster
    90      always_run: false
    91      run_if_changed: '\.go$|hack/check-staticcheck\.sh$|go.mod'
    92      decorate: true
    93      branches:
    94      - ^release-1.2[2-6]$
    95      path_alias: k8s.io/cloud-provider-vsphere
    96      spec:
    97        containers:
    98        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    99          command:
   100          - make
   101          args:
   102          - staticcheck
   103          resources:
   104            limits:
   105              cpu: 2
   106              memory: 4Gi
   107            requests:
   108              cpu: 2
   109              memory: 4Gi
   110      annotations:
   111        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   112        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
   113        testgrid-tab-name: pr-verify-staticheck-1-26-minus
   114        description: Verifies the Golang sources pass a static source checker
   115  
   116    # Builds the CCM and CSI binaries.
   117    - name: pull-cloud-provider-vsphere-build-1-26-minus
   118      cluster: eks-prow-build-cluster
   119      decorate: true
   120      branches:
   121      - ^release-1.2[2-6]$
   122      path_alias: k8s.io/cloud-provider-vsphere
   123      skip_submodules: true
   124      always_run: false
   125      run_if_changed: '\.go$|go.mod|Dockerfile|Makefile'
   126      skip_report: false
   127      spec:
   128        containers:
   129        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   130          command:
   131          - "make"
   132          args:
   133          - "build"
   134          resources:
   135            limits:
   136              cpu: 2
   137              memory: 4Gi
   138            requests:
   139              cpu: 2
   140              memory: 4Gi
   141      annotations:
   142        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   143        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
   144  
   145    # Executes the unit tests.
   146    - name: pull-cloud-provider-vsphere-unit-test-1-26-minus
   147      cluster: eks-prow-build-cluster
   148      decorate: true
   149      branches:
   150      - ^release-1.2[2-6]$
   151      path_alias: k8s.io/cloud-provider-vsphere
   152      skip_submodules: true
   153      always_run: false
   154      run_if_changed: '\.go$|go.mod'
   155      skip_report: false
   156      spec:
   157        containers:
   158        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   159          command:
   160          - "make"
   161          args:
   162          - "unit-test"
   163          resources:
   164            limits:
   165              cpu: 2
   166              memory: 4Gi
   167            requests:
   168              cpu: 2
   169              memory: 4Gi
   170      annotations:
   171        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   172        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
   173  
   174    # Executes the integration tests.
   175    - name: pull-cloud-provider-vsphere-integration-test-1-26-minus
   176      cluster: eks-prow-build-cluster
   177      decorate: true
   178      labels:
   179        preset-dind-enabled: "true"
   180        preset-kind-volume-mounts: "true"
   181      branches:
   182      - ^release-1.2[2-6]$
   183      path_alias: k8s.io/cloud-provider-vsphere
   184      skip_submodules: true
   185      always_run: false
   186      run_if_changed: '\.go$|go.mod'
   187      skip_report: false
   188      spec:
   189        containers:
   190        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   191          command:
   192          - "make"
   193          args:
   194          - "integration-test"
   195          resources:
   196            limits:
   197              cpu: 2
   198              memory: 4Gi
   199            requests:
   200              cpu: 2
   201              memory: 4Gi
   202          securityContext:
   203            privileged: true
   204      annotations:
   205        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   206        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
   207  
   208    # Executes the test coverage.
   209    - name: pull-cloud-provider-vsphere-coverage-1-26-minus
   210      cluster: eks-prow-build-cluster
   211      always_run: true
   212      decorate: true
   213      path_alias: k8s.io/cloud-provider-vsphere
   214      branches:
   215      - ^release-1.2[2-6]$
   216      extra_refs:
   217      - org: kubernetes
   218        repo: test-infra
   219        base_ref: master
   220        path_alias: k8s.io/test-infra
   221      spec:
   222        containers:
   223        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   224          command:
   225          - runner.sh
   226          - bash
   227          args:
   228          - -c
   229          - |
   230            result=0
   231            ./scripts/ci-test-coverage.sh || result=$?
   232            cp coverage.* ${ARTIFACTS}
   233            cd ../../k8s.io/test-infra/gopherage
   234            GO111MODULE=on go build .
   235            ./gopherage filter --exclude-path="zz_generated,generated\.go" "${ARTIFACTS}/coverage.out" > "${ARTIFACTS}/filtered.cov" || result=$?
   236            ./gopherage html "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/coverage.html" || result=$?
   237            ./gopherage junit --threshold 0 "${ARTIFACTS}/filtered.cov" > "${ARTIFACTS}/junit_coverage.xml" || result=$?
   238            exit $result
   239          resources:
   240            limits:
   241              cpu: 2
   242              memory: 4Gi
   243            requests:
   244              cpu: 2
   245              memory: 4Gi
   246          securityContext:
   247            privileged: true
   248      annotations:
   249        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   250        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com
   251        testgrid-tab-name: pr-verify-test-coverage-1-26-minus
   252        description: Shows the test coverage of the Golang sources
   253  
   254    # Executes the e2e tests.
   255    - name: pull-cloud-provider-vsphere-e2e-test-1-26-minus
   256      decorate: true
   257      labels:
   258        preset-dind-enabled: "true"
   259        # Borrows CAPV credentials for cloud provider e2e testing
   260        preset-cloud-provider-vsphere-e2e-config-capv: "true"
   261        preset-cloud-provider-vsphere-e2e-config: "true"
   262        preset-kind-volume-mounts: "true"
   263      branches:
   264      - ^release-1.2[2-6]$
   265      path_alias: k8s.io/cloud-provider-vsphere
   266      skip_submodules: true
   267      always_run: false
   268      run_if_changed: '\.go$|go.mod|hack/e2e\.sh|test/e2e/|charts/vsphere-cpi/'
   269      skip_report: false
   270      optional: true
   271      spec:
   272        containers:
   273        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   274          command:
   275          - runner.sh
   276          args:
   277          - ./hack/e2e.sh
   278          securityContext:
   279            privileged: true
   280          resources:
   281            requests:
   282              cpu: "4000m"
   283              memory: "6Gi"
   284      annotations:
   285        testgrid-dashboards: vmware-presubmits-cloud-provider-vsphere, presubmits-cloud-provider-vsphere-blocking
   286        testgrid-alert-email: k8s-testing-cloud-provider-vsphere+alerts@groups.vmware.com