Continuous integration 与drone和github的持续集成:提交时未触发构建
我在用无人机 docker compose.yml:Continuous integration 与drone和github的持续集成:提交时未触发构建,continuous-integration,drone,drone.io,Continuous Integration,Drone,Drone.io,我在用无人机 docker compose.yml: version: '2' services: drone-server: image: drone/drone:0.5 ports: - 80:8000 volumes: - ./drone:/var/lib/drone/ restart: always environment: - DRONE_OPEN=true - DRONE_ADMIN=khataev
version: '2'
services:
drone-server:
image: drone/drone:0.5
ports:
- 80:8000
volumes:
- ./drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_ADMIN=khataev
- DRONE_GITHUB_CLIENT=github-client-string
- DRONE_GITHUB_SECRET=github-secret-string
- DRONE_SECRET=drone-secret-string
drone-agent:
image: drone/drone:0.5
command: agent
restart: always
depends_on: [ drone-server ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=ws://drone-server:8000/ws/broker
- DRONE_SECRET=drone-secret-string
应用程序在Github上注册和授权,并提供机密/客户端字符串
我将.drone.yml文件放入我的项目存储库:
pipeline:
build:
image: rails-qna
commands:
- bundle exec rake db:drop
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rspec
项目和构建的屏幕截图
1) 我错过的是,为什么提交回购不会触发构建?
2) 如何手动触发构建?
3) 项目设置中的超时是什么?发现问题-由于网络设置,github webhooks无法访问我的无人机服务器 发现问题-由于网络设置,github webhooks无法访问我的无人机服务器