k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/cluster-api/templates/cluster-api-periodics.yaml.tpl (about)

     1  periodics:
     2  - name: periodic-cluster-api-test-{{ ReplaceAll $.branch "." "-" }}
     3    cluster: eks-prow-build-cluster
     4    interval: {{ $.config.Interval }}
     5    decorate: true
     6    rerun_auth_config:
     7      github_team_slugs:
     8      - org: kubernetes-sigs
     9        slug: cluster-api-maintainers
    10    extra_refs:
    11    - org: kubernetes-sigs
    12      repo: cluster-api
    13      base_ref: {{ $.branch }}
    14      path_alias: sigs.k8s.io/cluster-api
    15    spec:
    16      containers:
    17      - image: {{ $.config.TestImage }}
    18        command:
    19        - runner.sh
    20        - ./scripts/ci-test.sh
    21        resources:
    22          requests:
    23            cpu: 7300m
    24            memory: 8Gi
    25          limits:
    26            cpu: 7300m
    27            memory: 8Gi
    28    annotations:
    29      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
    30      testgrid-tab-name: capi-test-{{ ReplaceAll $.branch "." "-" }}
    31      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
    32      testgrid-num-failures-to-alert: "4"
    33  - name: periodic-cluster-api-test-mink8s-{{ ReplaceAll $.branch "." "-" }}
    34    cluster: eks-prow-build-cluster
    35    interval: {{ $.config.Interval }}
    36    decorate: true
    37    rerun_auth_config:
    38      github_team_slugs:
    39      - org: kubernetes-sigs
    40        slug: cluster-api-maintainers
    41    extra_refs:
    42    - org: kubernetes-sigs
    43      repo: cluster-api
    44      base_ref: {{ $.branch }}
    45      path_alias: sigs.k8s.io/cluster-api
    46    spec:
    47      containers:
    48      - image: {{ $.config.TestImage }}
    49        command:
    50        - runner.sh
    51        - ./scripts/ci-test.sh
    52        env:
    53        # This value determines the minimum Kubernetes
    54        # supported version for Cluster API management cluster
    55        # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions)
    56        # docs (look for minimum supported k8s version for management cluster, i.e N-3).
    57        #
    58        # To check the latest available envtest in Kubebuilder for the minor version we determined above, please
    59        # refer to https://github.com/kubernetes-sigs/kubebuilder/tree/tools-releases.
    60        - name: KUBEBUILDER_ENVTEST_KUBERNETES_VERSION
    61          value: "{{ $.config.KubebuilderEnvtestKubernetesVersion }}"
    62        resources:
    63          requests:
    64            cpu: 7300m
    65            memory: 8Gi
    66          limits:
    67            cpu: 7300m
    68            memory: 8Gi
    69    annotations:
    70      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
    71      testgrid-tab-name: capi-test-mink8s-{{ ReplaceAll $.branch "." "-" }}
    72      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
    73      testgrid-num-failures-to-alert: "4"
    74  - name: periodic-cluster-api-e2e-{{ ReplaceAll $.branch "." "-" }}
    75    cluster: eks-prow-build-cluster
    76    interval: {{ $.config.Interval }}
    77    decorate: true
    78    rerun_auth_config:
    79      github_team_slugs:
    80      - org: kubernetes-sigs
    81        slug: cluster-api-maintainers
    82    labels:
    83      preset-dind-enabled: "true"
    84      preset-kind-volume-mounts: "true"
    85    extra_refs:
    86    - org: kubernetes-sigs
    87      repo: cluster-api
    88      base_ref: {{ $.branch }}
    89      path_alias: sigs.k8s.io/cluster-api
    90    - org: kubernetes
    91      repo: kubernetes
    92      base_ref: master
    93      path_alias: k8s.io/kubernetes
    94    spec:
    95      containers:
    96        - image: {{ $.config.TestImage }}
    97          args:
    98            - runner.sh
    99            - "./scripts/ci-e2e.sh"
   100          env:
   101              # enable IPV6 in bootstrap image
   102            - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   103              value: "true"
   104            - name: GINKGO_SKIP
   105              value: "\\[Conformance\\]"
   106          # we need privileged mode in order to do docker in docker
   107          securityContext:
   108            privileged: true
   109          resources:
   110            requests:
   111              cpu: 3000m
   112              memory: 8Gi
   113            limits:
   114              cpu: 3000m
   115              memory: 8Gi
   116    annotations:
   117      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
   118      testgrid-tab-name: capi-e2e-{{ ReplaceAll $.branch "." "-" }}
   119      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
   120      testgrid-num-failures-to-alert: "4"
   121  - name: periodic-cluster-api-e2e-mink8s-{{ ReplaceAll $.branch "." "-" }}
   122    cluster: eks-prow-build-cluster
   123    interval: {{ $.config.Interval }}
   124    decorate: true
   125    rerun_auth_config:
   126      github_team_slugs:
   127      - org: kubernetes-sigs
   128        slug: cluster-api-maintainers
   129    labels:
   130      preset-dind-enabled: "true"
   131      preset-kind-volume-mounts: "true"
   132    extra_refs:
   133    - org: kubernetes-sigs
   134      repo: cluster-api
   135      base_ref: {{ $.branch }}
   136      path_alias: sigs.k8s.io/cluster-api
   137    - org: kubernetes
   138      repo: kubernetes
   139      base_ref: master
   140      path_alias: k8s.io/kubernetes
   141    spec:
   142      containers:
   143      - image: {{ $.config.TestImage }}
   144        args:
   145        - runner.sh
   146        - "./scripts/ci-e2e.sh"
   147        env:
   148          # enable IPV6 in bootstrap image
   149        - name: "DOCKER_IN_DOCKER_IPV6_ENABLED"
   150          value: "true"
   151        - name: GINKGO_SKIP
   152          value: "\\[Conformance\\]"
   153        # This value determines the minimum Kubernetes
   154        # supported version for Cluster API management cluster
   155        # and can be found by referring to [Supported Kubernetes Version](https://cluster-api.sigs.k8s.io/reference/versions.html#supported-kubernetes-versions)
   156        # docs (look for minimum supported k8s version for management cluster, i.e N-3).
   157        # Please also make sure to refer a version where a kindest/node image exists
   158        # for (see https://github.com/kubernetes-sigs/kind/releases/)
   159        - name: KUBERNETES_VERSION_MANAGEMENT
   160          value: "{{ $.config.KubernetesVersionManagement }}"
   161        # we need privileged mode in order to do docker in docker
   162        securityContext:
   163          privileged: true
   164        resources:
   165          requests:
   166            cpu: 3000m
   167            memory: 8Gi
   168          limits:
   169            cpu: 3000m
   170            memory: 8Gi
   171    annotations:
   172      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
   173      testgrid-tab-name: capi-e2e-mink8s-{{ ReplaceAll $.branch "." "-" }}
   174      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
   175      testgrid-num-failures-to-alert: "4"
   176  {{ if eq $.branch "release-1.5" "release-1.6" | not }}
   177  - name: periodic-cluster-api-e2e-conformance-{{ ReplaceAll $.branch "." "-" }}
   178    cluster: eks-prow-build-cluster
   179    interval: {{ $.config.Interval }}
   180    decorate: true
   181    rerun_auth_config:
   182      github_team_slugs:
   183      - org: kubernetes-sigs
   184        slug: cluster-api-maintainers
   185    labels:
   186      preset-dind-enabled: "true"
   187      preset-kind-volume-mounts: "true"
   188    extra_refs:
   189    - org: kubernetes-sigs
   190      repo: cluster-api
   191      base_ref: {{ $.branch }}
   192      path_alias: sigs.k8s.io/cluster-api
   193    - org: kubernetes
   194      repo: kubernetes
   195      base_ref: master
   196      path_alias: k8s.io/kubernetes
   197    spec:
   198      containers:
   199      - image: {{ $.config.TestImage }}
   200        args:
   201        - runner.sh
   202        - "./scripts/ci-e2e.sh"
   203        env:
   204        - name: GINKGO_FOCUS
   205          value: "\\[Conformance\\] \\[K8s-Install\\]"
   206        # we need privileged mode in order to do docker in docker
   207        securityContext:
   208          privileged: true
   209        resources:
   210          requests:
   211            cpu: 4000m
   212            memory: 4Gi
   213          limits:
   214            cpu: 4000m
   215            memory: 4Gi
   216    annotations:
   217      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
   218      testgrid-tab-name: capi-e2e-conformance-{{ ReplaceAll $.branch "." "-" }}
   219      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
   220      testgrid-num-failures-to-alert: "4"
   221  - name: periodic-cluster-api-e2e-conformance-ci-latest-{{ ReplaceAll $.branch "." "-" }}
   222    cluster: eks-prow-build-cluster
   223    interval: {{ $.config.Interval }}
   224    decorate: true
   225    rerun_auth_config:
   226      github_team_slugs:
   227      - org: kubernetes-sigs
   228        slug: cluster-api-maintainers
   229    labels:
   230      preset-dind-enabled: "true"
   231      preset-kind-volume-mounts: "true"
   232    extra_refs:
   233    - org: kubernetes-sigs
   234      repo: cluster-api
   235      base_ref: {{ $.branch }}
   236      path_alias: sigs.k8s.io/cluster-api
   237    - org: kubernetes
   238      repo: kubernetes
   239      base_ref: master
   240      path_alias: k8s.io/kubernetes
   241    spec:
   242      containers:
   243      - image: {{ $.config.TestImage }}
   244        args:
   245        - runner.sh
   246        - "./scripts/ci-e2e.sh"
   247        env:
   248        - name: GINKGO_FOCUS
   249          value: "\\[Conformance\\] \\[K8s-Install-ci-latest\\]"
   250        # we need privileged mode in order to do docker in docker
   251        securityContext:
   252          privileged: true
   253        resources:
   254          requests:
   255            cpu: 4000m
   256            memory: 4Gi
   257          limits:
   258            cpu: 4000m
   259            memory: 4Gi
   260    annotations:
   261      testgrid-dashboards: sig-cluster-lifecycle-cluster-api{{ if eq $.branch "main" | not -}}{{ TrimPrefix $.branch "release" }}{{- end }}
   262      testgrid-tab-name: capi-e2e-conformance-ci-latest-{{ ReplaceAll $.branch "." "-" }}
   263      testgrid-alert-email: sig-cluster-lifecycle-cluster-api-alerts@kubernetes.io
   264      testgrid-num-failures-to-alert: "4"
   265  {{ end -}}