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

     1  presubmits:
     2    etcd-io/etcd:
     3    - name: pull-etcd-build
     4      cluster: eks-prow-build-cluster
     5      always_run: true
     6      branches:
     7      - main
     8      decorate: true
     9      annotations:
    10        testgrid-dashboards: sig-etcd-presubmits
    11        testgrid-tab-name: pull-etcd-build
    12      spec:
    13        containers:
    14        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    15          command:
    16          - runner.sh
    17          args:
    18          - make
    19          - build
    20          resources:
    21            requests:
    22              cpu: "4"
    23              memory: "4Gi"
    24            limits:
    25              cpu: "4"
    26              memory: "4Gi"
    27  
    28    - name: pull-etcd-unit-test
    29      cluster: eks-prow-build-cluster
    30      always_run: true
    31      branches:
    32      - main
    33      decorate: true
    34      annotations:
    35        testgrid-dashboards: sig-etcd-presubmits
    36        testgrid-tab-name: pull-etcd-unit-test
    37      spec:
    38        containers:
    39        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    40          command:
    41          - runner.sh
    42          args:
    43          - make
    44          - test-unit
    45          resources:
    46            requests:
    47              cpu: "4"
    48              memory: "4Gi"
    49            limits:
    50              cpu: "4"
    51              memory: "4Gi"
    52  
    53    - name: pull-etcd-verify
    54      cluster: eks-prow-build-cluster
    55      always_run: true
    56      branches:
    57      - main
    58      decorate: true
    59      annotations:
    60        testgrid-dashboards: sig-etcd-presubmits
    61        testgrid-tab-name: pull-etcd-verify
    62      spec:
    63        containers:
    64        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    65          command:
    66          - /bin/bash
    67          args:
    68          - -c
    69          - |
    70            set -euo pipefail
    71            export PATH=$GOPATH/bin:$PATH && make verify
    72            export PATH=$GOPATH/bin:$PATH && make fix
    73            DIFF=$(git status --porcelain)
    74            if [ -n "$DIFF" ]; then
    75              echo "These files were modified:"
    76              echo
    77              echo "$DIFF"
    78              echo
    79              exit 1
    80            fi
    81          resources:
    82            requests:
    83              cpu: "4"
    84              memory: "4Gi"
    85            limits:
    86              cpu: "4"
    87              memory: "4Gi"
    88  
    89    - name: pull-etcd-e2e-amd64
    90      cluster: eks-prow-build-cluster
    91      optional: true # remove this once the job is green
    92      always_run: true
    93      branches:
    94      - main
    95      decorate: true
    96      annotations:
    97        testgrid-dashboards: sig-etcd-presubmits
    98        testgrid-tab-name: pull-etcd-e2e-amd64
    99      spec:
   100        containers:
   101        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   102          command:
   103          - runner.sh
   104          args:
   105          - bash
   106          - -c
   107          - |
   108            set -euo pipefail
   109            make gofail-enable
   110            VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=4 EXPECT_DEBUG=true make test-e2e-release
   111          resources:
   112            requests:
   113              cpu: "4"
   114              memory: "8Gi"
   115            limits:
   116              cpu: "4"
   117              memory: "8Gi"