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

     1  presets:
     2  - labels:
     3      preset-image-build: "true"
     4    env:
     5    - name: AWS_SDK_LOAD_CONFIG
     6      value: "true"
     7    - name: GOPROXY
     8    volumeMounts:
     9    - name: docker-registry-config
    10      readOnly: false
    11      mountPath: /root/.docker
    12    - name: run-buildkit
    13      readOnly: false
    14      mountPath: /run/buildkit
    15    - name: entrypoint
    16      readOnly: false
    17      mountPath: /script
    18    - name: status
    19      readOnly: false
    20      mountPath: /status
    21    volumes:
    22    # The files in this repo update the respective configmaps
    23    # via the config-updater plugin in plugins.yaml for hook
    24    - name: docker-registry-config
    25      configMap:
    26        name: build-setup
    27        items:
    28        - key: docker-ecr-config.json
    29          path: config.json
    30    - name: entrypoint
    31      configMap:
    32        name: buildkitd-entrypoint
    33        items:
    34        - key: buildkitd-entrypoint.sh
    35          path: entrypoint.sh
    36    - name: run-buildkit
    37      emptyDir: {}
    38    - name: status
    39      emptyDir: {}
    40  - env:
    41    - name: AWS_ROLE_SESSION_NAME
    42      valueFrom:
    43        fieldRef:
    44          fieldPath: metadata.name
    45  
    46  
    47  presubmits:
    48    kubernetes-sigs/cluster-api-provider-cloudstack:
    49    - name: capi-provider-cloudstack-presubmit-build
    50      cluster: eks-prow-build-cluster
    51      labels:
    52        preset-service-account: "true"
    53        preset-dind-enabled: "true"
    54        preset-kind-volume-mounts: "true"
    55      always_run: false
    56      run_if_changed: ".*"
    57      max_concurrency: 10
    58      decorate: true
    59      decoration_config:
    60        timeout: 1h
    61      skip_report: false
    62      annotations:
    63        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-cloudstack
    64        testgrid-tab-name: pr-build
    65      spec:
    66        automountServiceAccountToken: false
    67        containers:
    68        - name: build-container
    69          image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
    70          command:
    71          - bash
    72          - -c
    73          - make build
    74          resources:
    75            requests:
    76              memory: "8Gi"
    77              cpu: "1024m"
    78            limits:
    79              memory: "8Gi"
    80              cpu: "1024m"
    81    - name: capi-provider-cloudstack-presubmit-unit-test
    82      cluster: eks-prow-build-cluster
    83      labels:
    84        preset-service-account: "true"
    85        preset-dind-enabled: "true"
    86        preset-kind-volume-mounts: "true"
    87      always_run: false
    88      run_if_changed: ".*"
    89      max_concurrency: 10
    90      decorate: true
    91      decoration_config:
    92        timeout: 1h
    93      skip_report: false
    94      annotations:
    95        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-cloudstack
    96        testgrid-tab-name: pr-unit-test
    97      spec:
    98        automountServiceAccountToken: false
    99        containers:
   100        - name: build-container
   101          image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   102          command:
   103          - bash
   104          - -c
   105          - make test
   106          resources:
   107            requests:
   108              memory: "8Gi"
   109              cpu: "1024m"
   110            limits:
   111              memory: "8Gi"
   112              cpu: "1024m"
   113    - name: capi-provider-cloudstack-presubmit-e2e-smoke-test
   114      cluster: eks-prow-build-cluster
   115      labels:
   116        preset-service-account: "true"
   117        preset-dind-enabled: "true"
   118        preset-kind-volume-mounts: "true"
   119      always_run: false
   120      run_if_changed: ".*"
   121      max_concurrency: 10
   122      decorate: true
   123      decoration_config:
   124        timeout: 1h
   125      skip_report: false
   126      annotations:
   127        testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-cloudstack
   128        testgrid-tab-name: pr-e2e-smoke-test
   129      spec:
   130        automountServiceAccountToken: false
   131        hostNetwork: true
   132        containers:
   133        - name: build-container
   134          image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20231113-7213ea5323-1.25
   135          command:
   136          - runner.sh
   137          args:
   138          - make
   139          - run-e2e-smoke
   140          # docker-in-docker needs privileged mode
   141          securityContext:
   142            privileged: true
   143          resources:
   144            requests:
   145              memory: "8Gi"
   146              cpu: "1024m"
   147            limits:
   148              memory: "8Gi"
   149              cpu: "1024m"