bilibili-backup/build/template/task/bazel_build.yaml
2019-04-22 02:59:20 +00:00

22 lines
530 B
YAML

presubmits:
platform/go-common:
- name: __bazel_build_job_name__
always_run: true
namespace: default
untrusted_labels:
- library
- new-project
spec:
containers:
- image: bazel_build
imagePullPolicy: IfNotPresent
args:
- --id=$(BUILD_ID)
- --job=$(JOB_NAME)
- --root=/root/go/src
- --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
- --command
- make
- bazel-build
- WHAT=<<bazel_dir_param>>