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

     1  presubmits:
     2    kubernetes-sigs/cluster-api-operator:
     3    - name: pull-cluster-api-operator-build-main
     4      cluster: eks-prow-build-cluster
     5      decorate: true
     6      path_alias: sigs.k8s.io/cluster-api-operator
     7      always_run: true
     8      labels:
     9        preset-service-account: "true"
    10      branches:
    11      # The script this job runs is not in all branches.
    12      - ^main$
    13      spec:
    14        containers:
    15        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
    16          command:
    17          - runner.sh
    18          - ./scripts/ci-build.sh
    19          resources:
    20            requests:
    21              cpu: "1"
    22              memory: "2Gi"
    23            limits:
    24              cpu: "1"
    25              memory: "2Gi"
    26      annotations:
    27        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
    28        testgrid-tab-name: capi-operator-pr-build-main
    29    - name: pull-cluster-api-operator-make-main
    30      cluster: eks-prow-build-cluster
    31      decorate: true
    32      path_alias: sigs.k8s.io/cluster-api-operator
    33      always_run: true
    34      labels:
    35        preset-service-account: "true"
    36        preset-dind-enabled: "true"
    37      branches:
    38      # The script this job runs is not in all branches.
    39      - ^main$
    40      spec:
    41        containers:
    42        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
    43          command:
    44          - runner.sh
    45          - ./scripts/ci-make.sh
    46          # docker-in-docker needs privileged mode
    47          securityContext:
    48            privileged: true
    49          resources:
    50            requests:
    51              cpu: "4"
    52              memory: "8Gi"
    53            limits:
    54              cpu: "4"
    55              memory: "8Gi"
    56      annotations:
    57        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
    58        testgrid-tab-name: capi-operator-pr-make-main
    59    - name: pull-cluster-api-operator-apidiff-main
    60      cluster: eks-prow-build-cluster
    61      decorate: true
    62      path_alias: sigs.k8s.io/cluster-api-operator
    63      optional: true
    64      labels:
    65        preset-service-account: "true"
    66      branches:
    67      # The script this job runs is not in all branches.
    68      - ^main$
    69      run_if_changed: '^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
    70      spec:
    71        containers:
    72        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
    73          command:
    74          - runner.sh
    75          - ./scripts/ci-apidiff.sh
    76          resources:
    77            requests:
    78              cpu: "1"
    79              memory: "2Gi"
    80            limits:
    81              cpu: "1"
    82              memory: "2Gi"
    83      annotations:
    84        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
    85        testgrid-tab-name: capi-operator-pr-apidiff-main
    86    - name: pull-cluster-api-operator-verify-main
    87      cluster: eks-prow-build-cluster
    88      decorate: true
    89      path_alias: sigs.k8s.io/cluster-api-operator
    90      always_run: true
    91      labels:
    92        preset-service-account: "true"
    93      branches:
    94      # The script this job runs is not in all branches.
    95      - ^main$
    96      spec:
    97        containers:
    98        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
    99          command:
   100          - "runner.sh"
   101          - ./scripts/ci-verify.sh
   102          resources:
   103            requests:
   104              cpu: "1"
   105              memory: "2Gi"
   106            limits:
   107              cpu: "1"
   108              memory: "2Gi"
   109      annotations:
   110        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
   111        testgrid-tab-name: capi-operator-pr-verify-main
   112    - name: pull-cluster-api-operator-test-main
   113      cluster: eks-prow-build-cluster
   114      decorate: true
   115      path_alias: sigs.k8s.io/cluster-api-operator
   116      labels:
   117        preset-service-account: "true"
   118      branches:
   119      # The script this job runs is not in all branches.
   120      - ^main$
   121      run_if_changed: '^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
   122      spec:
   123        containers:
   124        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
   125          args:
   126          - runner.sh
   127          - ./scripts/ci-test.sh
   128          resources:
   129            requests:
   130              cpu: "1"
   131              memory: "2Gi"
   132            limits:
   133              cpu: "1"
   134              memory: "2Gi"
   135      annotations:
   136        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
   137        testgrid-tab-name: capi-operator-pr-test-main
   138    - name: pull-cluster-api-operator-e2e-main
   139      path_alias: "sigs.k8s.io/cluster-api-operator"
   140      optional: false
   141      decorate: true
   142      run_if_changed: '^((api|cmd|config|controllers|hack|internal|scripts|test|util|webhook)/|go\.mod|go\.sum|Dockerfile|Makefile)'
   143      max_concurrency: 5
   144      labels:
   145        preset-dind-enabled: "true"
   146        preset-kind-volume-mounts: "true"
   147      branches:
   148      - ^main$
   149      spec:
   150        containers:
   151        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.27
   152          command:
   153            - runner.sh
   154          args:
   155            - ./scripts/ci-e2e.sh
   156          # docker-in-docker needs privileged mode
   157          securityContext:
   158            privileged: true
   159          env:
   160          - name: GITHUB_TOKEN
   161            valueFrom:
   162              secretKeyRef:
   163                name: cluster-lifecycle-github-token
   164                key: cluster-lifecycle-github-token
   165          resources:
   166            requests:
   167              cpu: "4"
   168              memory: "8Gi"
   169            limits:
   170              cpu: "4"
   171              memory: "8Gi"
   172      annotations:
   173        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-operator
   174        testgrid-tab-name: capi-operator-pr-e2e-main