构建是否必须在drone.io 服务器上运行?我可以在本地运行构建吗?由于开发人员需要在将代码推送到 github 之前先通过构建,因此我正在寻找一种在开发人员本地机器上运行构建的方法。下面是我的 .drone.yml 文件:
pipeline:
build:
image: node:latest
commands:
- npm install
- npm test
- npm run eslint
integration:
image: mongo-test
commands:
- mvn test
它包括两个 docker 容器。如何在无人机中针对此文件运行构建?我查看了无人机 cli,但它没有按我预期的方式工作。