2017-03-06 59 views
1

我正在使用无人机的open source edition与无人机和github持续集成:构建不会触发提交

泊坞窗,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 
    - 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文件到我的项目库:

项目 settings
pipeline: 
    build: 
    image: rails-qna 
    commands: 
     - bundle exec rake db:drop 
     - bundle exec rake db:create 
     - bundle exec rake db:migrate 
     - bundle exec rspec 

截图,并建立status 1)什么我已经错过了,为什么要建立不触发通过承诺回购? 2)如何手动触发构建? 3)什么是超时在项目设置?

回答

0

发现问题 - github webhooks无法访问我的无人机服务器,因为网络设置。