github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/config/jobs/kubernetes/test-infra/test-infra-canaries.yaml (about) 1 presubmits: 2 kubernetes/test-infra: 3 - name: pull-test-infra-bazel-canary 4 agent: kubernetes 5 context: pull-test-infra-bazel-canary 6 always_run: false 7 rerun_command: "/test pull-test-infra-bazel-canary" 8 trigger: "(?m)^/test pull-test-infra-bazel-canary,?(\\s+|$)" 9 labels: 10 preset-service-account: "true" 11 preset-bazel-scratch-dir: "true" 12 preset-bazel-remote-cache-enabled: "true" 13 spec: 14 containers: 15 - image: gcr.io/k8s-testimages/kubekins-e2e@sha256:02fe7ded2e8e477e52f3c82eab5fb6632ad7cd09612e2d7c5944d143974f3685 16 imagePullPolicy: Always 17 args: 18 - "--job=$(JOB_NAME)" 19 - "--repo=k8s.io/$(REPO_NAME)=$(PULL_REFS)" 20 - "--service-account=/etc/service-account/service-account.json" 21 - "--upload=gs://kubernetes-jenkins/pr-logs" 22 - "--scenario=kubernetes_execute_bazel" 23 - "--timeout=15" 24 - "--" # end bootstrap args, scenario args below 25 - "hack/build-then-unit.sh" 26 # Bazel needs privileged mode in order to sandbox builds. 27 securityContext: 28 privileged: true 29 volumeMounts: 30 resources: 31 requests: 32 memory: "2Gi"