bazel_test.yaml 479 B

123456789101112131415161718
  1. presubmits:
  2. platform/go-common:
  3. - name: __bazel_test_job_name__
  4. always_run: true
  5. namespace: default
  6. optional: true
  7. spec:
  8. containers:
  9. - image: bazel_build
  10. imagePullPolicy: IfNotPresent
  11. args:
  12. - --id=$(BUILD_ID)
  13. - --job=$(JOB_NAME)
  14. - --root=/root/go/src
  15. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  16. - --command
  17. - ./build/unit_test.sh
  18. - <<bazel_dir_param>>