.cnb.yml 984 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. $:
  2. vscode:
  3. - docker:
  4. build: .ide/Dockerfile
  5. volumes:
  6. # - node_modules:copy-on-write
  7. - /root/.npm:copy-on-write
  8. # - go, java, python,flutter,android,php等缓存
  9. - /root/.gradle:copy-on-write
  10. - /root/.m2:copy-on-write
  11. - /root/.composer:copy-on-write
  12. - /root/.flutter-cache:copy-on-write
  13. - /root/.android:copy-on-write
  14. - /root/.pub-cache:copy-on-write
  15. runner:
  16. cpus: 6
  17. services:
  18. - vscode
  19. - docker
  20. stages:
  21. - name: ls
  22. script: |
  23. ls -al
  24. /workspace/scripts/init/init_workspace.sh
  25. endStages:
  26. - name: end stage 1
  27. script: echo "end stage 1"
  28. - name: end stage 2
  29. script: echo "end stage 2"
  30. #
  31. #master:
  32. # pull_request:
  33. # - stages:
  34. # - name: 代码评审
  35. # image: cnbcool/ai-review:latest
  36. # settings:
  37. # type: code-review