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

     1  presubmits:
     2    kubernetes-sigs/cluster-api-provider-aws:
     3    - name: pull-cluster-api-provider-aws-test
     4      cluster: eks-prow-build-cluster
     5      branches:
     6      # The script this job runs is not in all branches.
     7      - ^main$
     8      always_run: true
     9      optional: false
    10      decorate: true
    11      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
    12      spec:
    13        containers:
    14        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
    15          command:
    16          - "./scripts/ci-test.sh"
    17          resources:
    18            requests:
    19              cpu: "8"
    20              memory: "16Gi"
    21            limits:
    22              cpu: "8"
    23              memory: "16Gi"
    24      annotations:
    25        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
    26        testgrid-tab-name: pr-test
    27    - name: pull-cluster-api-provider-aws-apidiff-main
    28      cluster: eks-prow-build-cluster
    29      decorate: true
    30      path_alias: sigs.k8s.io/cluster-api-provider-aws
    31      always_run: true
    32      optional: true
    33      labels:
    34        preset-service-account: "true"
    35      branches:
    36      # The script this job runs is not in all branches.
    37      - ^main$
    38      spec:
    39        containers:
    40        - command:
    41          - runner.sh
    42          - ./scripts/ci-apidiff.sh
    43          image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
    44          resources:
    45            requests:
    46              cpu: 7300m
    47              memory: 9Gi
    48            limits:
    49              cpu: 7300m
    50              memory: 9Gi
    51      annotations:
    52        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
    53        testgrid-tab-name: pr-apidiff-main
    54    - name: pull-cluster-api-provider-aws-build
    55      cluster: eks-prow-build-cluster
    56      always_run: true
    57      optional: false
    58      decorate: true
    59      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
    60      spec:
    61        containers:
    62        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
    63          command:
    64          - "./scripts/ci-build.sh"
    65          resources:
    66            requests:
    67              cpu: "4"
    68              memory: "8Gi"
    69            limits:
    70              cpu: "4"
    71              memory: "8Gi"
    72      annotations:
    73        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
    74        testgrid-tab-name: pr-build
    75    - name: pull-cluster-api-provider-aws-build-docker
    76      cluster: eks-prow-build-cluster
    77      labels:
    78        preset-dind-enabled: "true"
    79        preset-kind-volume-mounts: "true"
    80      always_run: true
    81      optional: false
    82      decorate: true
    83      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
    84      spec:
    85        containers:
    86        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
    87          command:
    88          - runner.sh
    89          args:
    90          - ./scripts/ci-docker-build.sh
    91          resources:
    92            requests:
    93              cpu: "4"
    94              memory: "8Gi"
    95            limits:
    96              cpu: "4"
    97              memory: "8Gi"
    98          # docker-in-docker needs privileged mode
    99          securityContext:
   100              privileged: true
   101      annotations:
   102        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   103        testgrid-tab-name: pr-build-docker
   104    - name: pull-cluster-api-provider-aws-verify
   105      cluster: eks-prow-build-cluster
   106      always_run: true
   107      branches:
   108      # The script this job runs is not in all branches.
   109      - ^main$
   110      optional: false
   111      decorate: true
   112      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   113      spec:
   114        containers:
   115        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   116          command:
   117          - "runner.sh"
   118          - "make"
   119          - "verify"
   120          resources:
   121            requests:
   122              cpu: "1"
   123              memory: "2Gi"
   124            limits:
   125              cpu: "1"
   126              memory: "2Gi"
   127          # docker-in-docker needs privileged mode
   128          securityContext:
   129              privileged: true
   130      annotations:
   131        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   132        testgrid-tab-name: pr-verify
   133      labels:
   134        preset-dind-enabled: "true"
   135    # conformance test
   136    - name: pull-cluster-api-provider-aws-e2e-conformance
   137      cluster: eks-prow-build-cluster
   138      branches:
   139      # The script this job runs is not in all branches.
   140      - ^main$
   141      labels:
   142        preset-dind-enabled: "true"
   143        preset-kind-volume-mounts: "true"
   144        preset-service-account: "true"
   145        preset-aws-ssh: "true"
   146        preset-aws-credential: "true"
   147      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   148      always_run: false
   149      optional: true
   150      decorate: true
   151      decoration_config:
   152        timeout: 5h
   153      max_concurrency: 1
   154      extra_refs:
   155      - org: kubernetes-sigs
   156        repo: image-builder
   157        base_ref: main
   158        path_alias: "sigs.k8s.io/image-builder"
   159      - org: kubernetes
   160        repo: kubernetes
   161        base_ref: master
   162        path_alias: k8s.io/kubernetes
   163      spec:
   164        containers:
   165          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   166            command:
   167              - "runner.sh"
   168              - "./scripts/ci-conformance.sh"
   169            env:
   170              - name: BOSKOS_HOST
   171                value: "boskos.test-pods.svc.cluster.local"
   172              - name: AWS_REGION
   173                value: "us-west-2"
   174            # we need privileged mode in order to do docker in docker
   175            securityContext:
   176              privileged: true
   177            resources:
   178              requests:
   179                # these are both a bit below peak usage during build
   180                # this is mostly for building kubernetes
   181                memory: "9Gi"
   182                cpu: 2
   183              limits:
   184                cpu: 2
   185                memory: "9Gi"
   186      annotations:
   187        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   188        testgrid-tab-name: pr-conformance
   189        testgrid-num-columns-recent: '20'
   190    # conformance test against kubernetes main branch with `kind` + cluster-api-provider-aws
   191    - name: pull-cluster-api-provider-aws-e2e-conformance-with-ci-artifacts
   192      cluster: eks-prow-build-cluster
   193      branches:
   194      # The script this job runs is not in all branches.
   195      - ^main$
   196      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   197      always_run: false
   198      optional: true
   199      decorate: true
   200      decoration_config:
   201        timeout: 5h
   202      max_concurrency: 1
   203      labels:
   204        preset-dind-enabled: "true"
   205        preset-kind-volume-mounts: "true"
   206        preset-service-account: "true"
   207        preset-aws-ssh: "true"
   208        preset-aws-credential: "true"
   209      spec:
   210        containers:
   211          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   212            command:
   213              - "runner.sh"
   214              - "./scripts/ci-conformance.sh"
   215            env:
   216              - name: BOSKOS_HOST
   217                value: "boskos.test-pods.svc.cluster.local"
   218              - name: AWS_REGION
   219                value: "us-west-2"
   220              - name: E2E_ARGS
   221                value: "-kubetest.use-ci-artifacts"
   222            securityContext:
   223              privileged: true
   224            resources:
   225              requests:
   226                cpu: 2
   227                memory: "9Gi"
   228              limits:
   229                cpu: 2
   230                memory: "9Gi"
   231      annotations:
   232        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   233        testgrid-tab-name: pr-conformance-main-k8s-main
   234        testgrid-num-columns-recent: '20'
   235    - name: pull-cluster-api-provider-aws-e2e-blocking
   236      cluster: eks-prow-build-cluster
   237      branches:
   238        # The script this job runs is not in all branches.
   239        - ^main$
   240      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   241      #run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|exp|feature|hack|pkg|test|util)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
   242      always_run: false
   243      optional: true
   244      decorate: true
   245      decoration_config:
   246        timeout: 5h
   247      max_concurrency: 1
   248      labels:
   249        preset-dind-enabled: "true"
   250        preset-kind-volume-mounts: "true"
   251        preset-service-account: "true"
   252        preset-aws-ssh: "true"
   253        preset-aws-credential: "true"
   254      spec:
   255        containers:
   256          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   257            command:
   258              - "runner.sh"
   259              - "./scripts/ci-e2e.sh"
   260            env:
   261              - name: GINKGO_FOCUS
   262                value: "\\[PR-Blocking\\]"
   263              - name: BOSKOS_HOST
   264                value: "boskos.test-pods.svc.cluster.local"
   265              - name: AWS_REGION
   266                value: "us-west-2"
   267              # Parallelize tests
   268              - name: GINKGO_ARGS
   269                value: "-nodes 20"
   270            securityContext:
   271              privileged: true
   272            resources:
   273              requests:
   274                cpu: 2
   275                memory: "9Gi"
   276              limits:
   277                cpu: 2
   278                memory: "9Gi"
   279      annotations:
   280        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   281        testgrid-tab-name: pr-quick-e2e-main
   282        testgrid-num-columns-recent: '20'
   283    - name: pull-cluster-api-provider-aws-e2e
   284      cluster: eks-prow-build-cluster
   285      branches:
   286      # The script this job runs is not in all branches.
   287      - ^main$
   288      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   289      always_run: false
   290      optional: true
   291      decorate: true
   292      decoration_config:
   293        timeout: 5h
   294      max_concurrency: 1
   295      labels:
   296        preset-dind-enabled: "true"
   297        preset-kind-volume-mounts: "true"
   298        preset-service-account: "true"
   299        preset-aws-ssh: "true"
   300        preset-aws-credential: "true"
   301      spec:
   302        containers:
   303          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   304            command:
   305              - "runner.sh"
   306              - "./scripts/ci-e2e.sh"
   307            env:
   308              - name: BOSKOS_HOST
   309                value: "boskos.test-pods.svc.cluster.local"
   310              - name: AWS_REGION
   311                value: "us-west-2"
   312            securityContext:
   313              privileged: true
   314            resources:
   315              requests:
   316                cpu: 2
   317                memory: "9Gi"
   318              limits:
   319                cpu: 2
   320                memory: "9Gi"
   321      annotations:
   322        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   323        testgrid-tab-name: pr-e2e-main
   324        testgrid-num-columns-recent: '20'
   325    - name: pull-cluster-api-provider-aws-e2e-eks
   326      cluster: eks-prow-build-cluster
   327      branches:
   328      # The script this job runs is not in all branches.
   329      - ^main$
   330      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   331      always_run: false
   332      optional: true
   333      decorate: true
   334      decoration_config:
   335        timeout: 5h
   336      max_concurrency: 1
   337      labels:
   338        preset-dind-enabled: "true"
   339        preset-kind-volume-mounts: "true"
   340        preset-service-account: "true"
   341        preset-aws-ssh: "true"
   342        preset-aws-credential: "true"
   343      spec:
   344        containers:
   345          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   346            command:
   347              - "runner.sh"
   348              - "./scripts/ci-e2e-eks.sh"
   349            env:
   350              - name: BOSKOS_HOST
   351                value: "boskos.test-pods.svc.cluster.local"
   352              - name: AWS_REGION
   353                value: "us-west-2"
   354            securityContext:
   355              privileged: true
   356            resources:
   357              requests:
   358                cpu: 2
   359                memory: "9Gi"
   360              limits:
   361                cpu: 2
   362                memory: "9Gi"
   363      annotations:
   364        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   365        testgrid-tab-name: pr-e2e-eks-main
   366        testgrid-num-columns-recent: '20'
   367    - name: pull-cluster-api-provider-aws-e2e-eks-gc
   368      cluster: eks-prow-build-cluster
   369      branches:
   370      # The script this job runs is not in all branches.
   371      - ^main$
   372      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   373      always_run: false
   374      optional: true
   375      decorate: true
   376      decoration_config:
   377        timeout: 5h
   378      max_concurrency: 1
   379      labels:
   380        preset-dind-enabled: "true"
   381        preset-kind-volume-mounts: "true"
   382        preset-service-account: "true"
   383        preset-aws-ssh: "true"
   384        preset-aws-credential: "true"
   385      spec:
   386        containers:
   387          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   388            command:
   389              - "runner.sh"
   390              - "./scripts/ci-e2e-eks-gc.sh"
   391            env:
   392              - name: BOSKOS_HOST
   393                value: "boskos.test-pods.svc.cluster.local"
   394              - name: AWS_REGION
   395                value: "us-west-2"
   396            securityContext:
   397              privileged: true
   398            resources:
   399              limits:
   400                cpu: 2
   401                memory: "9Gi"
   402              requests:
   403                cpu: 2
   404                memory: "9Gi"
   405      annotations:
   406        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   407        testgrid-tab-name: pr-e2e-eks-gc-main
   408        testgrid-num-columns-recent: '20'
   409    - name: pull-cluster-api-provider-aws-e2e-eks-testing
   410      cluster: eks-prow-build-cluster
   411      branches:
   412      # The script this job runs is not in all branches.
   413      - ^main$
   414      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   415      always_run: false
   416      optional: true
   417      decorate: true
   418      decoration_config:
   419        timeout: 5h
   420      max_concurrency: 1
   421      labels:
   422        preset-dind-enabled: "true"
   423        preset-kind-volume-mounts: "true"
   424        preset-service-account: "true"
   425        preset-aws-ssh: "true"
   426        preset-aws-credential: "true"
   427      spec:
   428        containers:
   429          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-1.29
   430            command:
   431              - "runner.sh"
   432              - "./scripts/ci-e2e-eks.sh"
   433            env:
   434              - name: BOSKOS_HOST
   435                value: "boskos.test-pods.svc.cluster.local"
   436              - name: AWS_REGION
   437                value: "us-west-2"
   438              - name: GINKGO_ARGS
   439                value: "-nodes 2"
   440            securityContext:
   441              privileged: true
   442            resources:
   443              requests:
   444                cpu: 2
   445                memory: "9Gi"
   446              limits:
   447                cpu: 2
   448                memory: "9Gi"
   449      annotations:
   450        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   451        testgrid-tab-name: pr-e2e-eks-main-testing
   452        testgrid-num-columns-recent: '20'