<commit_before>presubmits:
  kubernetes-sigs/vsphere-csi-driver:

  - name: pull-vsphere-csi-driver-verify-fmt
    always_run: false
    run_if_changed: '\.go$|hack\/check-format\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - fmt
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-fmt
      description: Verifies the Golang sources have been formatted


  - name: pull-vsphere-csi-driver-verify-vet
    always_run: false
    run_if_changed: '\.go$|hack\/check-vet\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - vet
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-vet
      description: Vets the Golang sources have been vetted

  - name: pull-vsphere-csi-driver-verify-golangci-lint
    always_run: false
    run_if_changed: '\.go'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
        - image: golangci/golangci-lint:v1.44.2
          command:
            - make
          args:
            - golangci-lint
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-golangci-lint
      description: Verifies the Golang sources are verified with golangci-lint

  # Runs 'shellcheck' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-shell
    always_run: false
    run_if_changed: '.*\.\w*sh$'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/cluster-api-provider-vsphere/extra/shellcheck:v0.6.0
        command:
        - /bin/shellcheck.sh
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-shell
      testgrid-alert-email: <EMAIL>
      description: Verifies the shell scripts have been linted

  # Runs 'mdlint' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-markdown
    always_run: false
    run_if_changed: '.*\.md$'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/cluster-api-provider-vsphere/extra/mdlint:0.17.0
        command:
        - /nodejs/bin/node
        args:
        - /md/lint
        - .
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-markdown
      testgrid-alert-email: <EMAIL>
      description: Verifies the markdown has been linted

  # Runs 'staticcheck' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-staticcheck
    always_run: false
    run_if_changed: '\.go$|hack\/check-staticcheck\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - staticcheck
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-staticcheck
      testgrid-alert-email: <EMAIL>
      description: Verifies Go sources pass a static source checker

  # Builds the CSI binary
  - name: pull-vsphere-csi-driver-build
    always_run: false
    run_if_changed: '^(cmd|pkg|go.mod)'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    skip_report: false
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "build"
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>

  # Executes the unit tests.
  - name: pull-vsphere-csi-driver-unit-test
    always_run: false
    run_if_changed: '\.go$|go\.mod'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    skip_report: false
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "unit-test"
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>

postsubmits:
  kubernetes-sigs/vsphere-csi-driver:

  # Deploys the CSI image after all merges to master
  - name: post-vsphere-csi-driver-deploy
    decorate: true
    labels:
      preset-dind-enabled: "true"
      preset-kind-volume-mounts: "true"
      preset-cloud-provider-vsphere-e2e-config: "true"
    max_concurrency: 1
    branches:
    - ^master$
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "deploy"
        securityContext:
          privileged: true
    annotations:
      testgrid-dashboards: vmware-postsubmits-vsphere-csi-driver
      testgrid-num-columns-recent: '20'
      testgrid-alert-email: <EMAIL>

  # Deploys the CSI image for tagged releases
  - name: post-vsphere-csi-driver-release
    decorate: true
    labels:
      preset-dind-enabled: "true"
      preset-cloud-provider-vsphere-e2e-config: "true"
    max_concurrency: 1
    branches:
    - ^v(\d)+\.(\d)+\.(\d)+(-(alpha|beta|rc)\.(\d)+)?$
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "push-images"
        securityContext:
          privileged: true
    rerun_auth_config:
      github_users:
      - codenrhoden
    annotations:
      testgrid-dashboards: vmware-postsubmits-vsphere-csi-driver
      testgrid-num-columns-recent: '20'
      testgrid-alert-email: <EMAIL>
<commit_msg>update golangci-lint to v1.49.0 for vsphere-csi-driver<commit_after>presubmits:
  kubernetes-sigs/vsphere-csi-driver:

  - name: pull-vsphere-csi-driver-verify-fmt
    always_run: false
    run_if_changed: '\.go$|hack\/check-format\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - fmt
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-fmt
      description: Verifies the Golang sources have been formatted


  - name: pull-vsphere-csi-driver-verify-vet
    always_run: false
    run_if_changed: '\.go$|hack\/check-vet\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - vet
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-vet
      description: Vets the Golang sources have been vetted

  - name: pull-vsphere-csi-driver-verify-golangci-lint
    always_run: false
    run_if_changed: '\.go'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
        - image: golangci/golangci-lint:v1.49.0
          command:
            - make
          args:
            - golangci-lint
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>
      testgrid-tab-name: pr-verify-golangci-lint
      description: Verifies the Golang sources are verified with golangci-lint

  # Runs 'shellcheck' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-shell
    always_run: false
    run_if_changed: '.*\.\w*sh$'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/cluster-api-provider-vsphere/extra/shellcheck:v0.6.0
        command:
        - /bin/shellcheck.sh
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-shell
      testgrid-alert-email: <EMAIL>
      description: Verifies the shell scripts have been linted

  # Runs 'mdlint' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-markdown
    always_run: false
    run_if_changed: '.*\.md$'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/cluster-api-provider-vsphere/extra/mdlint:0.17.0
        command:
        - /nodejs/bin/node
        args:
        - /md/lint
        - .
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-markdown
      testgrid-alert-email: <EMAIL>
      description: Verifies the markdown has been linted

  # Runs 'staticcheck' on appropriate sources
  - name: pull-vsphere-csi-driver-verify-staticcheck
    always_run: false
    run_if_changed: '\.go$|hack\/check-staticcheck\.sh'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - make
        args:
        - staticcheck
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-tab-name: pr-verify-staticcheck
      testgrid-alert-email: <EMAIL>
      description: Verifies Go sources pass a static source checker

  # Builds the CSI binary
  - name: pull-vsphere-csi-driver-build
    always_run: false
    run_if_changed: '^(cmd|pkg|go.mod)'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    skip_report: false
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "build"
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>

  # Executes the unit tests.
  - name: pull-vsphere-csi-driver-unit-test
    always_run: false
    run_if_changed: '\.go$|go\.mod'
    decorate: true
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    skip_report: false
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "unit-test"
    annotations:
      testgrid-dashboards: vmware-presubmits-vsphere-csi-driver
      testgrid-alert-email: <EMAIL>

postsubmits:
  kubernetes-sigs/vsphere-csi-driver:

  # Deploys the CSI image after all merges to master
  - name: post-vsphere-csi-driver-deploy
    decorate: true
    labels:
      preset-dind-enabled: "true"
      preset-kind-volume-mounts: "true"
      preset-cloud-provider-vsphere-e2e-config: "true"
    max_concurrency: 1
    branches:
    - ^master$
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "deploy"
        securityContext:
          privileged: true
    annotations:
      testgrid-dashboards: vmware-postsubmits-vsphere-csi-driver
      testgrid-num-columns-recent: '20'
      testgrid-alert-email: <EMAIL>

  # Deploys the CSI image for tagged releases
  - name: post-vsphere-csi-driver-release
    decorate: true
    labels:
      preset-dind-enabled: "true"
      preset-cloud-provider-vsphere-e2e-config: "true"
    max_concurrency: 1
    branches:
    - ^v(\d)+\.(\d)+\.(\d)+(-(alpha|beta|rc)\.(\d)+)?$
    path_alias: sigs.k8s.io/vsphere-csi-driver
    skip_submodules: true
    spec:
      containers:
      - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20220922-dcf27e1579-master
        command:
        - "make"
        args:
        - "push-images"
        securityContext:
          privileged: true
    rerun_auth_config:
      github_users:
      - codenrhoden
    annotations:
      testgrid-dashboards: vmware-postsubmits-vsphere-csi-driver
      testgrid-num-columns-recent: '20'
      testgrid-alert-email: <EMAIL>

{'fraction_non_alphanumeric': 0.11097285947585349, 'fraction_numerical': 0.022241231822070145, 'mean_word_length': 2.3851013424585417, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6744872', 'n_tokens_mistral': 4834, 'n_tokens_neox': 4606, 'n_words': 743}