k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes-sigs/cluster-api-provider-openstack/cluster-api-provider-openstack-presubmits.yaml (about)

     1  presubmits:
     2    kubernetes-sigs/cluster-api-provider-openstack:
     3    - name: pull-cluster-api-provider-openstack-build
     4      cluster: eks-prow-build-cluster
     5      always_run: true
     6      optional: false
     7      decorate: true
     8      path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
     9      labels:
    10        preset-dind-enabled: "true"
    11      spec:
    12        containers:
    13        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    14          command:
    15          - "./scripts/ci-build.sh"
    16          # docker-in-docker needs privileged mode
    17          securityContext:
    18            privileged: true
    19          resources:
    20            requests:
    21              memory: "3Gi"
    22              cpu: "3"
    23            limits:
    24              memory: "3Gi"
    25              cpu: "3"
    26      annotations:
    27        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
    28        testgrid-tab-name: pr-build
    29    - name: pull-cluster-api-provider-openstack-test
    30      cluster: eks-prow-build-cluster
    31      always_run: true
    32      optional: false
    33      decorate: true
    34      path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
    35      spec:
    36        containers:
    37        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    38          command:
    39          - "./scripts/ci-test.sh"
    40          resources:
    41            requests:
    42              memory: "6Gi"
    43              cpu: "4"
    44            limits:
    45              memory: "6Gi"
    46              cpu: "4"
    47      annotations:
    48        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
    49        testgrid-tab-name: pr-test
    50    - name: pull-cluster-api-provider-openstack-e2e-test
    51      cluster: k8s-infra-prow-build
    52      labels:
    53        preset-service-account: "true"
    54        preset-dind-enabled: "true"
    55        preset-kind-volume-mounts: "true"
    56      path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
    57      skip_if_only_changed: '^(docs/|LICENSE|netlify.toml|OWNERS|OWNERS_ALIASES|SECURITY_CONTACTS|tilt-provider.json|.github/|.gitignore|.golangci.yml)|\\.md$'
    58      optional: false
    59      decorate: true
    60      decoration_config:
    61        timeout: 5h
    62      extra_refs:
    63      - org: kubernetes-sigs
    64        repo: image-builder
    65        base_ref: main
    66        path_alias: "sigs.k8s.io/image-builder"
    67      spec:
    68        containers:
    69        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    70          env:
    71          - name: "BOSKOS_HOST"
    72            value: "boskos.test-pods.svc.cluster.local"
    73          - name: E2E_GINKGO_FOCUS
    74            value: "\\[PR-Blocking\\]"
    75          command:
    76          - "runner.sh"
    77          - "./scripts/ci-e2e.sh"
    78          # we need privileged mode in order to do docker in docker
    79          securityContext:
    80            privileged: true
    81          resources:
    82            requests:
    83              # these are both a bit below peak usage during build
    84              # this is mostly for building kubernetes
    85              memory: "3Gi"
    86              # during the tests more like 3-20m is used
    87              cpu: 2000m
    88            limits:
    89              memory: "3Gi"
    90              cpu: 2000m
    91      annotations:
    92        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
    93        testgrid-tab-name: pr-e2e-test
    94    - name: pull-cluster-api-provider-openstack-conformance-test
    95      cluster: k8s-infra-prow-build
    96      labels:
    97        preset-service-account: "true"
    98        preset-dind-enabled: "true"
    99        preset-kind-volume-mounts: "true"
   100      path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
   101      always_run: false
   102      optional: true
   103      decorate: true
   104      decoration_config:
   105        timeout: 5h
   106      extra_refs:
   107      - org: kubernetes-sigs
   108        repo: image-builder
   109        base_ref: main
   110        path_alias: "sigs.k8s.io/image-builder"
   111      - org: kubernetes
   112        repo: kubernetes
   113        base_ref: master
   114        path_alias: k8s.io/kubernetes
   115      spec:
   116        containers:
   117        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   118          env:
   119          - name: "BOSKOS_HOST"
   120            value: "boskos.test-pods.svc.cluster.local"
   121          command:
   122          - "runner.sh"
   123          - "./scripts/ci-conformance.sh"
   124          - "--use-ci-artifacts"
   125          # we need privileged mode in order to do docker in docker
   126          securityContext:
   127            privileged: true
   128          resources:
   129            requests:
   130              # these are both a bit below peak usage during build
   131              # this is mostly for building kubernetes
   132              memory: "3Gi"
   133              # during the tests more like 3-20m is used
   134              cpu: 2000m
   135            limits:
   136              memory: "3Gi"
   137              cpu: 2000m
   138      annotations:
   139        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
   140        testgrid-tab-name: pr-conformance-test
   141    - name: pull-cluster-api-provider-openstack-e2e-full-test
   142      cluster: k8s-infra-prow-build
   143      labels:
   144        preset-service-account: "true"
   145        preset-dind-enabled: "true"
   146        preset-kind-volume-mounts: "true"
   147      path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
   148      always_run: false
   149      optional: true
   150      decorate: true
   151      decoration_config:
   152        timeout: 5h
   153      extra_refs:
   154      - org: kubernetes-sigs
   155        repo: image-builder
   156        base_ref: main
   157        path_alias: "sigs.k8s.io/image-builder"
   158      spec:
   159        containers:
   160        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   161          env:
   162          - name: "BOSKOS_HOST"
   163            value: "boskos.test-pods.svc.cluster.local"
   164          # The PR-Blocking tests are run as in pull-cluster-api-provider-openstack-e2e-test
   165          # so we skip them here and run only the rest.
   166          - name: E2E_GINKGO_SKIP
   167            value: "\\[PR-Blocking\\]"
   168          # These tests can use more than 2 machines per cluster and even 2 clusters
   169          # per test for clusterctl upgrade tests, so we limit the parallel jobs
   170          # to avoid capacity issues.
   171          - name: E2E_GINKGO_PARALLEL
   172            value: "1"
   173          command:
   174          - "runner.sh"
   175          - "./scripts/ci-e2e.sh"
   176          # we need privileged mode in order to do docker in docker
   177          securityContext:
   178            privileged: true
   179          resources:
   180            requests:
   181              # these are both a bit below peak usage during build
   182              # this is mostly for building kubernetes
   183              memory: "3Gi"
   184              # during the tests more like 3-20m is used
   185              cpu: 2000m
   186            limits:
   187              memory: "3Gi"
   188              cpu: 2000m
   189      annotations:
   190        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
   191        testgrid-tab-name: pr-e2e-full-test