I’m using open source edition of drone.
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
Application is registered and authorized on Github and secret/client strings are provided.
I placed .drone.yml file into my project repository:
pipeline: build: image: rails-qna commands: - bundle exec rake db:drop - bundle exec rake db:create - bundle exec rake db:migrate - bundle exec rspec
- What I’ve missed, why build is not triggering by commit to repo?
- How to trigger build manually?
- What is Timeout in project settings?
Thanks in advance!