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

     1  presubmits:
     2    kubernetes-sigs/security-profiles-operator:
     3    - name: pull-security-profiles-operator-build
     4      cluster: eks-prow-build-cluster
     5      always_run: true
     6      decorate: true
     7      annotations:
     8        testgrid-num-columns-recent: '30'
     9        testgrid-create-test-group: 'true'
    10      spec:
    11        containers:
    12        - image: public.ecr.aws/docker/library/golang:1.22
    13          command:
    14          - hack/pull-security-profiles-operator-build
    15          resources:
    16            limits:
    17              cpu: 8
    18              memory: 4Gi
    19            requests:
    20              cpu: 8
    21              memory: 4Gi
    22  
    23    - name: pull-security-profiles-operator-verify
    24      cluster: eks-prow-build-cluster
    25      always_run: true
    26      decorate: true
    27      annotations:
    28        testgrid-num-columns-recent: '30'
    29        testgrid-create-test-group: 'true'
    30      spec:
    31        containers:
    32        - image: public.ecr.aws/docker/library/golang:1.22
    33          command:
    34          - hack/pull-security-profiles-operator-verify
    35          resources:
    36            limits:
    37              cpu: 12
    38              memory: 8Gi
    39            requests:
    40              cpu: 12
    41              memory: 8Gi
    42  
    43    - name: pull-security-profiles-operator-test-unit
    44      cluster: eks-prow-build-cluster
    45      always_run: true
    46      decorate: true
    47      annotations:
    48        testgrid-num-columns-recent: '30'
    49        testgrid-create-test-group: 'true'
    50      spec:
    51        containers:
    52        - image: public.ecr.aws/docker/library/golang:1.22
    53          command:
    54          - hack/pull-security-profiles-operator-test-unit
    55          resources:
    56            limits:
    57              cpu: 8
    58              memory: 4Gi
    59            requests:
    60              cpu: 8
    61              memory: 4Gi
    62  
    63    - name: pull-security-profiles-operator-build-image
    64      cluster: eks-prow-build-cluster
    65      always_run: true
    66      decorate: true
    67      annotations:
    68        testgrid-num-columns-recent: '30'
    69        testgrid-create-test-group: 'true'
    70      labels:
    71        preset-service-account: "true"
    72        preset-dind-enabled: "true"
    73        preset-kind-volume-mounts: "true"
    74      spec:
    75        containers:
    76        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
    77          securityContext:
    78            privileged: true  # for dind
    79          resources:
    80            requests:
    81              memory: 1Gi
    82              cpu: 2
    83            limits:
    84              memory: 1Gi
    85              cpu: 2
    86          command:
    87          - runner.sh
    88          args:
    89          - hack/pull-security-profiles-operator-build-image
    90  
    91    - name: pull-security-profiles-operator-test-e2e
    92      cluster: eks-prow-build-cluster
    93      always_run: true
    94      decorate: true
    95      annotations:
    96        testgrid-num-columns-recent: '30'
    97        testgrid-create-test-group: 'true'
    98      labels:
    99        preset-service-account: "true"
   100        preset-dind-enabled: "true"
   101        preset-kind-volume-mounts: "true"
   102      spec:
   103        hostNetwork: true
   104        hostPID: true
   105        containers:
   106        - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
   107          securityContext:
   108            privileged: true  # for dind
   109          resources:
   110            requests:
   111              memory: 2Gi
   112              cpu: 5
   113            limits:
   114              memory: 2Gi
   115              cpu: 5
   116          command:
   117          - runner.sh
   118          args:
   119          - hack/pull-security-profiles-operator-test-e2e
   120          volumeMounts:
   121          - name: varlog
   122            mountPath: /var/log/audit
   123            readOnly: true
   124        volumes:
   125        - name: varlog
   126          hostPath:
   127            path: /var/log/audit
   128            type: DirectoryOrCreate