<commit_before>---
# E2E test scenario using local dev images and manifests built from the source tree for following providers:
# - cluster-api
# - bootstrap kubeadm
# - control-plane kubeadm
# - vsphere

providers:
  - name: cluster-api
    type: CoreProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "http://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/core-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/core-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/core-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"

  - name: kubeadm
    type: BootstrapProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/bootstrap-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/bootstrap-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/bootstrap-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
      - sourcePath: "../data/shared/metadata.yaml"

  - name: kubeadm
    type: ControlPlaneProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/control-plane-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/control-plane-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/control-plane-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
      - sourcePath: "../data/shared/metadata.yaml"

  - name: vsphere
    type: InfrastructureProvider
    versions:
      - name: v0.7.12
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.7.12/infrastructure-components.yaml
        type: url
        contract: v1alpha3
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          # TODO: v1a3 cluster-template includes WORKLOAD_CONTROL_PLANE_ENDPOINT_IP
          - sourcePath: "../data/metadata.yaml"
          - sourcePath: "../data/infrastructure-vsphere/capi-upgrades/v1alpha3/cluster-template.yaml"
      - name: v0.8.2
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.8.2/infrastructure-components.yaml
        type: url
        contract: v1alpha4
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          - sourcePath: "../data/metadata.yaml"
          - sourcePath: "../data/infrastructure-vsphere/capi-upgrades/v1alpha4/cluster-template.yaml"
      - name: v1.0.1
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v1.0.1/infrastructure-components.yaml
        type: url
        contract: v1beta1
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          # Add a cluster template
          - sourcePath: "../data/infrastructure-vsphere/cluster-template.yaml"
          - sourcePath: "../data/infrastructure-vsphere/cluster-template-remote-management.yaml"
          - sourcePath: "../data/metadata.yaml"

variables:
  KUBERNETES_VERSION: "v1.20.1"
  CNI: "./data/cni/calico/calico.yaml"
  EXP_CLUSTER_RESOURCE_SET: "true"
  CONTROL_PLANE_MACHINE_COUNT: 1
  WORKER_MACHINE_COUNT: 1
  IP_FAMILY: "IPv4"
  CLUSTER_CLASS_NAME: "quick-start"
  # Following CAPV variables should be set before testing
  VSPHERE_TLS_THUMBPRINT: "fd00:c2b6:b24b:be67:2827:688d:e6a1:6a3b:16:2C:31:6A:03:6A:D1:5D:C7:79:D8:DE"
  VSPHERE_DATACENTER:  "SDDC-Datacenter"
  VSPHERE_FOLDER: "clusterapi"
  VSPHERE_RESOURCE_POOL: "clusterapi"
  VSPHERE_DATASTORE: "WorkloadDatastore"
  VSPHERE_STORAGE_POLICY: "Cluster API vSphere Storage Policy"
  VSPHERE_NETWORK: "sddc-cgw-network-6"
  VSPHERE_TEMPLATE: "ubuntu-1804-kube-v1.20.1"
  VSPHERE_INSECURE: "true"
  INIT_WITH_BINARY_V1ALPHA3: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/clusterctl-{OS}-{ARCH}"
  INIT_WITH_BINARY_V1ALPHA4: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/clusterctl-{OS}-{ARCH}"
  INIT_WITH_KUBERNETES_VERSION: "v1.20.1"
  VSPHERE_INSECURE_CSI: "true"
  KUBETEST_CONFIGURATION: "./data/kubetest/conformance.yaml"
  NODE_DRAIN_TIMEOUT: "60s"
  CLUSTER_TOPOLOGY: "true"
intervals:<commit_msg>Sync vsphere-cpi with capi<commit_after>---
# E2E test scenario using local dev images and manifests built from the source tree for following providers:
# - cluster-api
# - bootstrap kubeadm
# - control-plane kubeadm
# - vsphere

providers:
  - name: cluster-api
    type: CoreProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "http://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/core-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/core-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/core-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"

  - name: kubeadm
    type: BootstrapProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/bootstrap-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/bootstrap-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/bootstrap-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
      - sourcePath: "../data/shared/metadata.yaml"

  - name: kubeadm
    type: ControlPlaneProvider
    versions:
    - name: v0.3.25 # latest published release in the v1alpha3 series; this is used for v1alpha3 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/control-plane-components.yaml"
      type: "url"
      contract: v1alpha3
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v0.4.7 # latest published release in the v1alpha4 series; this is used for v1alpha4 --> v1beta1 clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/control-plane-components.yaml"
      type: "url"
      contract: v1alpha4
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
        - sourcePath: "../data/shared/metadata.yaml"
    - name: v1.0.1 # latest published release in the v1beta1 series; this is used for v1beta1 --> main clusterctl upgrades test only.
      value: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.0.1/control-plane-components.yaml"
      type: "url"
      contract: v1beta1
      replacements:
        - old: "imagePullPolicy: Always"
          new: "imagePullPolicy: IfNotPresent"
      files:
      - sourcePath: "../data/shared/metadata.yaml"

  - name: vsphere
    type: InfrastructureProvider
    versions:
      - name: v0.7.12
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.7.12/infrastructure-components.yaml
        type: url
        contract: v1alpha3
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          # TODO: v1a3 cluster-template includes WORKLOAD_CONTROL_PLANE_ENDPOINT_IP
          - sourcePath: "../data/metadata.yaml"
          - sourcePath: "../data/infrastructure-vsphere/capi-upgrades/v1alpha3/cluster-template.yaml"
      - name: v0.8.2
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v0.8.2/infrastructure-components.yaml
        type: url
        contract: v1alpha4
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          - sourcePath: "../data/metadata.yaml"
          - sourcePath: "../data/infrastructure-vsphere/capi-upgrades/v1alpha4/cluster-template.yaml"
      - name: v1.0.1
        value: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/releases/download/v1.0.1/infrastructure-components.yaml
        type: url
        contract: v1beta1
        replacements:
          - old: "imagePullPolicy: Always"
            new: "imagePullPolicy: IfNotPresent"
        files:
          # Add a cluster template
          - sourcePath: "../data/infrastructure-vsphere/cluster-template.yaml"
          - sourcePath: "../data/infrastructure-vsphere/cluster-template-remote-management.yaml"
          - sourcePath: "../data/metadata.yaml"

variables:
  KUBERNETES_VERSION: "v1.23.5"
  CNI: "./data/cni/calico/calico.yaml"
  EXP_CLUSTER_RESOURCE_SET: "true"
  CONTROL_PLANE_MACHINE_COUNT: 1
  WORKER_MACHINE_COUNT: 1
  IP_FAMILY: "IPv4"
  CLUSTER_CLASS_NAME: "quick-start"
  # Following CAPV variables should be set before testing
  VSPHERE_TLS_THUMBPRINT: "AA:70:F9:CF:5A:5F:CF:6C:81:15:E0:A1:88:B9:E9:2B:DC:19:0E:D0"
  VSPHERE_DATACENTER:  "SDDC-Datacenter"
  VSPHERE_FOLDER: "clusterapi"
  VSPHERE_RESOURCE_POOL: "clusterapi"
  VSPHERE_DATASTORE: "WorkloadDatastore"
  VSPHERE_STORAGE_POLICY: "Cluster API vSphere Storage Policy"
  VSPHERE_NETWORK: "sddc-cgw-network-6"
  VSPHERE_TEMPLATE: "ubuntu-2004-kube-v1.23.5"
  VSPHERE_INSECURE: "true"
  VSPHERE_INSECURE_CSI: "true"
  INIT_WITH_BINARY_V1ALPHA3: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.3.25/clusterctl-{OS}-{ARCH}"
  INIT_WITH_BINARY_V1ALPHA4: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v0.4.7/clusterctl-{OS}-{ARCH}"
  INIT_WITH_KUBERNETES_VERSION: "v1.23.5"
  KUBETEST_CONFIGURATION: "./data/kubetest/conformance.yaml"
  NODE_DRAIN_TIMEOUT: "60s"
  CLUSTER_TOPOLOGY: "true"
intervals:
{'fraction_non_alphanumeric': 0.11654311093301276, 'fraction_numerical': 0.02931944166165765, 'mean_word_length': 2.840471915875866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, 'https://': 26, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '904893', 'n_tokens_mistral': 5160, 'n_tokens_neox': 4924, 'n_words': 984}