github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/config/jobs/kubernetes/test-infra/test-infra-canaries.yaml (about)

     1  presubmits:  
     2    kubernetes/test-infra:
     3    - name: pull-test-infra-bazel-canary
     4      always_run: false
     5      labels:
     6        preset-service-account: "true"
     7        preset-bazel-scratch-dir: "true"
     8        preset-bazel-remote-cache-enabled: "true"
     9      spec:
    10        containers:
    11        - image: gcr.io/k8s-testimages/kubekins-e2e:latest-experimental
    12          imagePullPolicy: Always
    13          args:
    14          - "--job=$(JOB_NAME)"
    15          - "--repo=k8s.io/$(REPO_NAME)=$(PULL_REFS)"
    16          - "--service-account=/etc/service-account/service-account.json"
    17          - "--upload=gs://kubernetes-jenkins/pr-logs"
    18          - "--scenario=kubernetes_execute_bazel"
    19          - "--timeout=15"
    20          - "--" # end bootstrap args, scenario args below
    21          - "hack/build-then-unit.sh"
    22          # Bazel needs privileged mode in order to sandbox builds.
    23          securityContext:
    24            privileged: true
    25          volumeMounts:
    26          resources:
    27            requests:
    28              memory: "2Gi"