$: vscode: - docker: build: .ide/Dockerfile volumes: # - node_modules:copy-on-write - /root/.npm:copy-on-write # - go, java, python,flutter,android,php等缓存 - /root/.gradle:copy-on-write - /root/.m2:copy-on-write - /root/.composer:copy-on-write - /root/.flutter-cache:copy-on-write - /root/.android:copy-on-write - /root/.pub-cache:copy-on-write runner: cpus: 6 services: - vscode - docker stages: - name: ls script: | ls -al /workspace/scripts/init/init_workspace.sh endStages: - name: end stage 1 script: echo "end stage 1" - name: end stage 2 script: echo "end stage 2" # #master: # pull_request: # - stages: # - name: 代码评审 # image: cnbcool/ai-review:latest # settings: # type: code-review