website/docs/drone.md

968 B

Drone is a Continuous Delivery platform built on Docker

URL : https://drone.webhosting.rug.nl

login with you're git credentials -> https://git.webhosting.rug.nl

Howto build

choose a repository from GIT
Enter the build
Go to the menu and add the secrets en registry
example : 
	docker_username = test
	docker_password = secret

example drone.yml

cat > .drone.yml <<EOF
pipeline:
  publish:
    image: plugins/docker
    secrets: [ docker_username, docker_password ]
    registry: registry.webhosting.rug.nl
    repo: registry.webhosting.rug.nl/webhosting/debian-web5
    file: Dockerfile
    tag:
      - latest
  notify:
    image: drillster/drone-email
    host: mail-server
    port: 25
    skip_verify: true
    from: drone@example.org
    recipients: [ to@example.org ]
    recipients_only: true
    when:
      status: [ success, changed, failure ]
EOF