setup drone continuous integration with github setup drone continuous integration with github docker docker

setup drone continuous integration with github


  1. Homepage URL is the address of the server where drone is running on.E.g. http://155.200.100.0Authorize URL is the same address appended by /authorizeEg. http://155.200.100.0/authorize

  2. You dont have to specify that. DRONE_GITHUB=true says drone to use github url.

  3. You can limit a single section to a branch or the whole drone build.

Single Section:

pipeline:  build:    image: node:latest    commands:      - npm install       - npm test    when:      branch: master

Whole build process:

pipeline:  build:    image: node:latest    commands:      - npm install      - npm testbranches: master
  1. You don't need username and password when using OAuth.

Source:

http://readme.drone.io/admin/setup-github/

http://readme.drone.io/usage/skipping-builds/

http://readme.drone.io/usage/skipping-build-steps/

UPDATE:

Documentation is shifted to http://docs.drone.io/ due to version 0.6 of Drone