bazel_build.yaml 530 B

12345678910111213141516171819202122
  1. presubmits:
  2. platform/go-common:
  3. - name: __bazel_build_job_name__
  4. always_run: true
  5. namespace: default
  6. untrusted_labels:
  7. - library
  8. - new-project
  9. spec:
  10. containers:
  11. - image: bazel_build
  12. imagePullPolicy: IfNotPresent
  13. args:
  14. - --id=$(BUILD_ID)
  15. - --job=$(JOB_NAME)
  16. - --root=/root/go/src
  17. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  18. - --command
  19. - make
  20. - bazel-build
  21. - WHAT=<<bazel_dir_param>>