always_run.yaml 485 B

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