website doc.webhosting.rug.nl mkdocs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.2 KiB

Drone is a Continuous Delivery platform built on Docker

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

login with you're git credentials -> https://git.web.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
kind: pipeline
type: kubernetes
name: drone

steps:
- name: docker
  image: plugins/docker
  settings:
    registry: registry.webhosting.rug.nl
    repo: registry.webhosting.rug.nl/services/ssh-server-autofs
    autotag: true
    auto_tag_suffix: ssh
    purge: true
    username:
      from_secret: docker_username
    password:
      from_secret: docker_password
- name: notify
  image: drillster/drone-email
  settings:
    host: smtp.rug.nl
    port: 25
    skip_verify: true
    from: drone@web.rug.nl
    recipients:
      - p.h.vos@rug.nl
      - webhosting.cit@rug.nl
- name: notify-slack
  image: plugins/slack
  settings:
    webhook: https://hooks.slack.com/services/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
    channel: builds
EOF