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

     1  presubmits:
     2    kubernetes-sigs/cluster-api-provider-aws:
     3    - name: pull-cluster-api-provider-aws-test-release-2-2
     4      cluster: eks-prow-build-cluster
     5      branches:
     6      # The script this job runs is not in all branches.
     7      - ^release-2.2$
     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:v20231113-7213ea5323-1.25
    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-release-2-2
    27    - name: pull-cluster-api-provider-aws-apidiff-release-2-2
    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      - ^release-2.2$
    38      spec:
    39        containers:
    40        - command:
    41          - runner.sh
    42          - ./scripts/ci-apidiff.sh
    43          image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    44          resources:
    45            requests:
    46              cpu: "8"
    47              memory: "16Gi"
    48            limits:
    49              cpu: "8"
    50              memory: "16Gi"
    51      annotations:
    52        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
    53        testgrid-tab-name: pr-apidiff-release-2-2
    54    - name: pull-cluster-api-provider-aws-build-release-2-2
    55      cluster: eks-prow-build-cluster
    56      always_run: true
    57      optional: false
    58      decorate: true
    59      branches:
    60        # The script this job runs is not in all branches.
    61        - ^release-2.2$
    62      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
    63      spec:
    64        containers:
    65        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    66          command:
    67          - "./scripts/ci-build.sh"
    68          resources:
    69            requests:
    70              cpu: "1"
    71              memory: "2Gi"
    72            limits:
    73              cpu: "1"
    74              memory: "2Gi"
    75      annotations:
    76        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
    77        testgrid-tab-name: pr-build-release-2-2
    78    - name: pull-cluster-api-provider-aws-verify-release-2-2
    79      cluster: eks-prow-build-cluster
    80      always_run: true
    81      branches:
    82      # The script this job runs is not in all branches.
    83      - ^release-2.2$
    84      optional: false
    85      decorate: true
    86      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
    87      spec:
    88        containers:
    89        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    90          command:
    91          - "runner.sh"
    92          - "make"
    93          - "verify"
    94          resources:
    95            requests:
    96              cpu: "1"
    97              memory: "2Gi"
    98            limits:
    99              cpu: "1"
   100              memory: "2Gi"
   101          # docker-in-docker needs privileged mode
   102          securityContext:
   103              privileged: true
   104      annotations:
   105        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   106        testgrid-tab-name: pr-verify-release-2-2
   107      labels:
   108        preset-dind-enabled: "true"
   109    # conformance test
   110    - name: pull-cluster-api-provider-aws-e2e-conformance-release-2-2
   111      cluster: eks-prow-build-cluster
   112      branches:
   113      # The script this job runs is not in all branches.
   114      - ^release-2.2$
   115      labels:
   116        preset-dind-enabled: "true"
   117        preset-kind-volume-mounts: "true"
   118        preset-service-account: "true"
   119        preset-aws-ssh: "true"
   120        preset-aws-credential: "true"
   121      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   122      always_run: false
   123      optional: true
   124      decorate: true
   125      decoration_config:
   126        timeout: 5h
   127      max_concurrency: 1
   128      extra_refs:
   129      - org: kubernetes-sigs
   130        repo: image-builder
   131        base_ref: main
   132        path_alias: "sigs.k8s.io/image-builder"
   133      - org: kubernetes
   134        repo: kubernetes
   135        base_ref: master
   136        path_alias: k8s.io/kubernetes
   137      spec:
   138        containers:
   139          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   140            command:
   141              - "runner.sh"
   142              - "./scripts/ci-conformance.sh"
   143            env:
   144              - name: BOSKOS_HOST
   145                value: "boskos.test-pods.svc.cluster.local"
   146              - name: AWS_REGION
   147                value: "us-west-2"
   148            # we need privileged mode in order to do docker in docker
   149            securityContext:
   150              privileged: true
   151            resources:
   152              requests:
   153                # these are both a bit below peak usage during build
   154                # this is mostly for building kubernetes
   155                memory: "9Gi"
   156                cpu: 2
   157              limits:
   158                cpu: 2
   159                memory: "9Gi"
   160      annotations:
   161        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   162        testgrid-tab-name: pr-conformance-release-2-2
   163        testgrid-num-columns-recent: '20'
   164    # conformance test against kubernetes main branch with `kind` + cluster-api-provider-aws
   165    - name: pull-cluster-api-provider-aws-e2e-conformance-with-ci-artifacts-release-2-2
   166      cluster: eks-prow-build-cluster
   167      branches:
   168      # The script this job runs is not in all branches.
   169      - ^release-2.2$
   170      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   171      always_run: false
   172      optional: true
   173      decorate: true
   174      decoration_config:
   175        timeout: 5h
   176      max_concurrency: 1
   177      labels:
   178        preset-dind-enabled: "true"
   179        preset-kind-volume-mounts: "true"
   180        preset-service-account: "true"
   181        preset-aws-ssh: "true"
   182        preset-aws-credential: "true"
   183      spec:
   184        containers:
   185          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   186            command:
   187              - "runner.sh"
   188              - "./scripts/ci-conformance.sh"
   189            env:
   190              - name: BOSKOS_HOST
   191                value: "boskos.test-pods.svc.cluster.local"
   192              - name: AWS_REGION
   193                value: "us-west-2"
   194              - name: E2E_ARGS
   195                value: "-kubetest.use-ci-artifacts"
   196            securityContext:
   197              privileged: true
   198            resources:
   199              requests:
   200                cpu: 2
   201                memory: "9Gi"
   202              limits:
   203                cpu: 2
   204                memory: "9Gi"
   205      annotations:
   206        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   207        testgrid-tab-name: pr-conformance-release-2-2-k8s-main
   208        testgrid-num-columns-recent: '20'
   209    - name: pull-cluster-api-provider-aws-e2e-blocking-release-2-2
   210      cluster: eks-prow-build-cluster
   211      branches:
   212        # The script this job runs is not in all branches.
   213        - ^release-2.2$
   214      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   215      #run_if_changed: '^((api|bootstrap|cmd|config|controllers|controlplane|exp|feature|hack|pkg|test|util)/|main\.go|go\.mod|go\.sum|Dockerfile|Makefile)'
   216      always_run: true
   217      optional: false
   218      decorate: true
   219      decoration_config:
   220        timeout: 5h
   221      max_concurrency: 1
   222      labels:
   223        preset-dind-enabled: "true"
   224        preset-kind-volume-mounts: "true"
   225        preset-service-account: "true"
   226        preset-aws-ssh: "true"
   227        preset-aws-credential: "true"
   228      spec:
   229        containers:
   230          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   231            command:
   232              - "runner.sh"
   233              - "./scripts/ci-e2e.sh"
   234            env:
   235              - name: GINKGO_FOCUS
   236                value: "\\[PR-Blocking\\]"
   237              - name: BOSKOS_HOST
   238                value: "boskos.test-pods.svc.cluster.local"
   239              - name: AWS_REGION
   240                value: "us-west-2"
   241              # Parallelize tests
   242              - name: GINKGO_ARGS
   243                value: "-nodes 20"
   244            securityContext:
   245              privileged: true
   246            resources:
   247              requests:
   248                cpu: 2
   249                memory: "9Gi"
   250              limits:
   251                cpu: 2
   252                memory: "9Gi"
   253      annotations:
   254        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   255        testgrid-tab-name: pr-quick-e2e-release-2-2
   256        testgrid-num-columns-recent: '20'
   257    - name: pull-cluster-api-provider-aws-e2e-release-2-2
   258      cluster: eks-prow-build-cluster
   259      branches:
   260      # The script this job runs is not in all branches.
   261      - ^release-2.2$
   262      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   263      always_run: false
   264      optional: true
   265      decorate: true
   266      decoration_config:
   267        timeout: 5h
   268      max_concurrency: 1
   269      labels:
   270        preset-dind-enabled: "true"
   271        preset-kind-volume-mounts: "true"
   272        preset-service-account: "true"
   273        preset-aws-ssh: "true"
   274        preset-aws-credential: "true"
   275      spec:
   276        containers:
   277          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   278            command:
   279              - "runner.sh"
   280              - "./scripts/ci-e2e.sh"
   281            env:
   282              - name: BOSKOS_HOST
   283                value: "boskos.test-pods.svc.cluster.local"
   284              - name: AWS_REGION
   285                value: "us-west-2"
   286            securityContext:
   287              privileged: true
   288            resources:
   289              requests:
   290                cpu: 2
   291                memory: "9Gi"
   292              limits:
   293                cpu: 2
   294                memory: "9Gi"
   295      annotations:
   296        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   297        testgrid-tab-name: pr-e2e-release-2-2
   298        testgrid-num-columns-recent: '20'
   299    - name: pull-cluster-api-provider-aws-e2e-eks-release-2-2
   300      cluster: eks-prow-build-cluster
   301      branches:
   302      # The script this job runs is not in all branches.
   303      - ^release-2.2$
   304      path_alias: "sigs.k8s.io/cluster-api-provider-aws"
   305      always_run: false
   306      optional: true
   307      decorate: true
   308      decoration_config:
   309        timeout: 5h
   310      max_concurrency: 1
   311      labels:
   312        preset-dind-enabled: "true"
   313        preset-kind-volume-mounts: "true"
   314        preset-service-account: "true"
   315        preset-aws-ssh: "true"
   316        preset-aws-credential: "true"
   317      spec:
   318        containers:
   319          - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   320            command:
   321              - "runner.sh"
   322              - "./scripts/ci-e2e-eks.sh"
   323            env:
   324              - name: BOSKOS_HOST
   325                value: "boskos.test-pods.svc.cluster.local"
   326              - name: AWS_REGION
   327                value: "us-west-2"
   328            securityContext:
   329              privileged: true
   330            resources:
   331              requests:
   332                cpu: 2
   333                memory: "9Gi"
   334              limits:
   335                cpu: 2
   336                memory: "9Gi"
   337      annotations:
   338        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-aws
   339        testgrid-tab-name: pr-e2e-eks-release-2-2
   340        testgrid-num-columns-recent: '20'