k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/kops/kops-presubmits.yaml (about)

     1  presubmits:
     2    kubernetes/kops:
     3    - name: pull-kops-build
     4      cluster: eks-prow-build-cluster
     5      always_run: true
     6      skip_report: false
     7      labels:
     8        preset-service-account: "true"
     9      decorate: true
    10      decoration_config:
    11        timeout: 40m
    12      path_alias: k8s.io/kops
    13      spec:
    14        containers:
    15        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    16          command:
    17          - runner.sh
    18          args:
    19          - "make"
    20          - "version-dist"
    21          resources:
    22            requests:
    23              memory: "64Gi"
    24              cpu: 8
    25            limits:
    26              memory: "64Gi"
    27              cpu: 8
    28      annotations:
    29        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
    30        testgrid-tab-name: build
    31    - name: pull-kops-test
    32      cluster: eks-prow-build-cluster
    33      always_run: true
    34      skip_report: false
    35      labels:
    36        preset-service-account: "true"
    37      decorate: true
    38      decoration_config:
    39        timeout: 15m
    40      path_alias: k8s.io/kops
    41      spec:
    42        containers:
    43        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    44          command:
    45          - runner.sh
    46          args:
    47          - "make"
    48          - "test"
    49          resources:
    50            requests:
    51              memory: "64Gi"
    52              cpu: 8
    53            limits:
    54              memory: "64Gi"
    55              cpu: 8
    56      annotations:
    57        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
    58        testgrid-tab-name: test
    59    - name: pull-kops-e2e-kubernetes-do-gossip
    60      branches:
    61      - master
    62      always_run: false
    63      labels:
    64        preset-service-account: "true"
    65        preset-do-credential: "true"
    66        preset-do-spaces-credential: "true"
    67        preset-do-ssh: "true"
    68        preset-dind-enabled: "true"
    69      decorate: true
    70      decoration_config:
    71        timeout: 90m
    72      path_alias: k8s.io/kops
    73      spec:
    74        containers:
    75        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    76          imagePullPolicy: Always
    77          command:
    78          - runner.sh
    79          args:
    80          - bash
    81          - -c
    82          - |
    83              make test-e2e-install
    84              kubetest2 kops \
    85              -v 2 \
    86              --up --build --down \
    87              --cloud-provider=digitalocean \
    88              --cluster-name=e2e-test-do.k8s.local \
    89              --env S3_ENDPOINT=sfo3.digitaloceanspaces.com \
    90              --env JOB_NAME=pull-kops-e2e-kubernetes-do-gossip \
    91              --create-args "--networking=calico --api-loadbalancer-type=public --node-count=2 --master-count=3 --dns=private" \
    92              --kubernetes-version=https://dl.k8s.io/release/stable.txt \
    93              --kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
    94              --test=kops \
    95              -- \
    96              --test-package-marker=stable.txt \
    97              --parallel 25
    98          # docker-in-docker needs privileged mode
    99          securityContext:
   100            privileged: true
   101          resources:
   102            limits:
   103              cpu: "4"
   104              memory: "6Gi"
   105            requests:
   106              cpu: "4"
   107              memory: "6Gi"
   108      annotations:
   109        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   110        testgrid-tab-name: e2e-do-gossip
   111    - name: pull-kops-e2e-kubernetes-do-dns-none
   112      branches:
   113      - master
   114      always_run: false
   115      labels:
   116        preset-service-account: "true"
   117        preset-do-credential: "true"
   118        preset-do-spaces-credential: "true"
   119        preset-do-ssh: "true"
   120        preset-dind-enabled: "true"
   121      decorate: true
   122      decoration_config:
   123        timeout: 90m
   124      path_alias: k8s.io/kops
   125      spec:
   126        containers:
   127        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   128          imagePullPolicy: Always
   129          command:
   130          - runner.sh
   131          args:
   132          - bash
   133          - -c
   134          - |
   135            make test-e2e-install
   136            kubetest2 kops \
   137            -v 2 \
   138            --up --build --down \
   139            --cloud-provider=digitalocean \
   140            --cluster-name=e2e-test-do.k8s.local \
   141            --env S3_ENDPOINT=sfo3.digitaloceanspaces.com \
   142            --env JOB_NAME=pull-kops-e2e-kubernetes-do-gossip \
   143            --create-args "--networking=calico --api-loadbalancer-type=public --node-count=2 --master-count=3 --dns=none" \
   144            --kubernetes-version=https://dl.k8s.io/release/stable.txt \
   145            --kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
   146            --test=kops \
   147            -- \
   148            --test-package-marker=stable.txt \
   149            --parallel 25
   150          # docker-in-docker needs privileged mode
   151          securityContext:
   152            privileged: true
   153          resources:
   154            limits:
   155              cpu: "4"
   156              memory: "6Gi"
   157            requests:
   158              cpu: "4"
   159              memory: "6Gi"
   160      annotations:
   161        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   162        testgrid-tab-name: e2e-do-dns-none
   163    - name: pull-kops-e2e-kubernetes-do-fqdn
   164      branches:
   165      - master
   166      always_run: false
   167      labels:
   168        preset-service-account: "true"
   169        preset-do-credential: "true"
   170        preset-do-spaces-credential: "true"
   171        preset-do-ssh: "true"
   172        preset-dind-enabled: "true"
   173      decorate: true
   174      decoration_config:
   175        timeout: 90m
   176      path_alias: k8s.io/kops
   177      spec:
   178        containers:
   179        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   180          imagePullPolicy: Always
   181          command:
   182          - runner.sh
   183          args:
   184          - bash
   185          - -c
   186          - |
   187              make test-e2e-install
   188              kubetest2 kops \
   189              -v 2 \
   190              --up --build --down \
   191              --cloud-provider=digitalocean \
   192              --cluster-name=e2e-b284d3e83b-4c77c.test-cncf-do.k8s.io \
   193              --env S3_ENDPOINT=sfo3.digitaloceanspaces.com \
   194              --env JOB_NAME=pull-kops-e2e-kubernetes-do-fqdn \
   195              --create-args "--networking=calico --node-count=2" \
   196              --kubernetes-version=https://dl.k8s.io/release/stable.txt \
   197              --kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
   198              --test=kops \
   199              -- \
   200              --test-package-marker=stable.txt \
   201              --parallel 25
   202          # docker-in-docker needs privileged mode
   203          securityContext:
   204            privileged: true
   205          resources:
   206            limits:
   207              cpu: "4"
   208              memory: "6Gi"
   209            requests:
   210              cpu: "4"
   211              memory: "6Gi"
   212      annotations:
   213        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   214        testgrid-tab-name: e2e-do-kubetest2
   215    - name: pull-kops-verify-generated
   216      cluster: eks-prow-build-cluster
   217      always_run: true
   218      labels:
   219        preset-service-account: "true"
   220      decorate: true
   221      decoration_config:
   222        timeout: 10m
   223      path_alias: k8s.io/kops
   224      spec:
   225        containers:
   226        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   227          command:
   228          - runner.sh
   229          args:
   230          - "make"
   231          - "verify-generate"
   232          resources:
   233            requests:
   234              memory: "2Gi"
   235              cpu: 2
   236            limits:
   237              memory: "2Gi"
   238              cpu: 2
   239      annotations:
   240        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   241        testgrid-tab-name: verify-generated
   242    - name: pull-kops-verify-gomod
   243      cluster: eks-prow-build-cluster
   244      branches:
   245      - master
   246      always_run: true
   247      labels:
   248        preset-service-account: "true"
   249      decorate: true
   250      decoration_config:
   251        timeout: 10m
   252      path_alias: k8s.io/kops
   253      spec:
   254        containers:
   255        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   256          command:
   257          - runner.sh
   258          args:
   259          - "make"
   260          - "verify-gomod"
   261          resources:
   262            requests:
   263              memory: "2Gi"
   264              cpu: 2
   265            limits:
   266              memory: "2Gi"
   267              cpu: 2
   268      annotations:
   269        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   270        testgrid-tab-name: verify-gomod
   271    - name: pull-kops-verify-boilerplate
   272      cluster: eks-prow-build-cluster
   273      always_run: true
   274      labels:
   275        preset-service-account: "true"
   276      decorate: true
   277      decoration_config:
   278        timeout: 10m
   279      path_alias: k8s.io/kops
   280      spec:
   281        containers:
   282        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   283          command:
   284          - runner.sh
   285          args:
   286          - "make"
   287          - "verify-boilerplate"
   288          resources:
   289            requests:
   290              memory: "2Gi"
   291              cpu: 2
   292            limits:
   293              memory: "2Gi"
   294              cpu: 2
   295      annotations:
   296        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   297        testgrid-tab-name: verify-boilerplate
   298    - name: pull-kops-verify-gofmt
   299      cluster: eks-prow-build-cluster
   300      branches:
   301      - master
   302      always_run: true
   303      labels:
   304        preset-service-account: "true"
   305      decorate: true
   306      decoration_config:
   307        timeout: 10m
   308      path_alias: k8s.io/kops
   309      spec:
   310        containers:
   311        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   312          command:
   313          - runner.sh
   314          args:
   315          - "make"
   316          - "verify-gofmt"
   317          resources:
   318            requests:
   319              memory: "2Gi"
   320              cpu: 2
   321            limits:
   322              memory: "2Gi"
   323              cpu: 2
   324      annotations:
   325        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   326        testgrid-tab-name: verify-gofmt
   327    - name: pull-kops-verify-govet
   328      cluster: eks-prow-build-cluster
   329      always_run: true
   330      labels:
   331        preset-service-account: "true"
   332      decorate: true
   333      decoration_config:
   334        timeout: 10m
   335      path_alias: k8s.io/kops
   336      spec:
   337        containers:
   338        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   339          command:
   340          - runner.sh
   341          args:
   342          - "make"
   343          - "govet"
   344          resources:
   345            requests:
   346              memory: "64Gi"
   347              cpu: 8
   348            limits:
   349              memory: "64Gi"
   350              cpu: 8
   351      annotations:
   352        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   353        testgrid-tab-name: verify-govet
   354    - name: pull-kops-verify-golangci-lint
   355      cluster: eks-prow-build-cluster
   356      branches:
   357        - master
   358      always_run: true
   359      labels:
   360        preset-service-account: "true"
   361      decorate: true
   362      decoration_config:
   363        timeout: 15m
   364      path_alias: k8s.io/kops
   365      spec:
   366        containers:
   367        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   368          command:
   369          - runner.sh
   370          args:
   371          - "make"
   372          - "verify-golangci-lint"
   373          resources:
   374            requests:
   375              memory: "64Gi"
   376              cpu: 8
   377            limits:
   378              memory: "64Gi"
   379              cpu: 8
   380      annotations:
   381        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   382        testgrid-tab-name: verify-golangci-lint
   383    - name: pull-kops-verify-hashes
   384      cluster: eks-prow-build-cluster
   385      skip_report: false
   386      run_if_changed: '^upup\/pkg\/fi\/cloudup\/runc'
   387      labels:
   388        preset-service-account: "true"
   389      decorate: true
   390      decoration_config:
   391        timeout: 10m
   392      path_alias: k8s.io/kops
   393      spec:
   394        containers:
   395        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   396          command:
   397          - runner.sh
   398          args:
   399          - "make"
   400          - "verify-hashes"
   401          resources:
   402            requests:
   403              memory: "64Gi"
   404              cpu: 8
   405            limits:
   406              memory: "64Gi"
   407              cpu: 8
   408      annotations:
   409        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   410        testgrid-tab-name: verify-hashes
   411    - name: pull-kops-verify-terraform
   412      cluster: eks-prow-build-cluster
   413      skip_report: false
   414      run_if_changed: '^tests\/integration\/update_cluster\/'
   415      labels:
   416        preset-service-account: "true"
   417        preset-dind-enabled: "true"
   418      decorate: true
   419      decoration_config:
   420        timeout: 20m
   421      path_alias: k8s.io/kops
   422      spec:
   423        containers:
   424        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   425          command:
   426          - runner.sh
   427          args:
   428          - "make"
   429          - "verify-terraform"
   430          resources:
   431            requests:
   432              memory: "2Gi"
   433              cpu: 2
   434            limits:
   435              memory: "2Gi"
   436              cpu: 2
   437          # docker-in-docker needs privileged mode
   438          securityContext:
   439            privileged: true
   440      annotations:
   441        testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
   442        testgrid-tab-name: verify-terraform
   443    - name: pull-kops-kubernetes-e2e-ubuntu-gce-build
   444      cluster: k8s-infra-prow-build
   445      branches:
   446      - master
   447      run_if_changed: 'tests/e2e'
   448      optional: true
   449      labels:
   450        preset-k8s-ssh: "true"
   451        preset-dind-enabled: "true"
   452      decorate: true
   453      extra_refs:
   454      - org: kubernetes
   455        repo: kubernetes
   456        base_ref: master
   457        path_alias: k8s.io/kubernetes
   458      decoration_config:
   459        timeout: 100m
   460      path_alias: k8s.io/kops
   461      spec:
   462        serviceAccountName: k8s-kops-test
   463        containers:
   464        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   465          imagePullPolicy: Always
   466          command:
   467          - runner.sh
   468          args:
   469          - ./tests/e2e/scenarios/build/run-test.sh
   470          securityContext:
   471            privileged: true
   472          env:
   473          - name: KUBE_SSH_KEY_PATH
   474            value: /etc/ssh-key-secret/ssh-private
   475          - name: KUBE_SSH_USER
   476            value: prow
   477          resources:
   478            limits:
   479              cpu: "4"
   480              memory: 6Gi
   481            requests:
   482              cpu: "4"
   483              memory: 6Gi
   484      annotations:
   485        test.kops.k8s.io/cloud: gce
   486        test.kops.k8s.io/distro: u2204
   487        test.kops.k8s.io/k8s_version: ci
   488        test.kops.k8s.io/kops_channel: alpha
   489        testgrid-dashboards: kops-presubmits, presubmits-kops, sig-cluster-lifecycle-kops
   490        testgrid-days-of-results: '90'
   491        testgrid-tab-name: pull-kops-kubernetes-e2e-ubuntu-gce-build
   492  postsubmits:
   493    kubernetes/kops:
   494    - name: kops-postsubmit
   495      branches:
   496      - master
   497      labels:
   498        preset-service-account: "true"
   499      decorate: true
   500      decoration_config:
   501        timeout: 45m
   502      path_alias: k8s.io/kops
   503      spec:
   504        containers:
   505        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   506          command:
   507          - runner.sh
   508          args:
   509          - "make"
   510          - "prow-postsubmit"
   511          - "UPLOAD_DEST=gs://k8s-release-dev/kops/ci"
   512          resources:
   513            requests:
   514              memory: "6Gi"
   515              cpu: 4
   516            limits:
   517              memory: "6Gi"
   518              cpu: 4
   519      annotations:
   520        testgrid-dashboards: sig-cluster-lifecycle-kops, kops-presubmits