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.

58 lines
1.2 KiB

3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
1 year ago
3 years ago
  1. ### Drone is a Continuous Delivery platform built on Docker
  2. URL : <a href="https://drone.web.rug.nl" target="_blank">https://drone.web.rug.nl</a>
  3. ```
  4. login with you're git credentials -> https://git.web.rug.nl
  5. ```
  6. #### Howto build
  7. ````
  8. choose a repository from GIT
  9. Enter the build
  10. Go to the menu and add the secrets en registry
  11. example :
  12. docker_username = test
  13. docker_password = secret
  14. ````
  15. #### example drone.yml
  16. ````
  17. cat > .drone.yml <<EOF
  18. kind: pipeline
  19. type: kubernetes
  20. name: drone
  21. steps:
  22. - name: docker
  23. image: plugins/docker
  24. settings:
  25. registry: registry.webhosting.rug.nl
  26. repo: registry.webhosting.rug.nl/services/ssh-server-autofs
  27. autotag: true
  28. auto_tag_suffix: ssh
  29. purge: true
  30. username:
  31. from_secret: docker_username
  32. password:
  33. from_secret: docker_password
  34. - name: notify
  35. image: drillster/drone-email
  36. settings:
  37. host: smtp.rug.nl
  38. port: 25
  39. skip_verify: true
  40. from: drone@web.rug.nl
  41. recipients:
  42. - p.h.vos@rug.nl
  43. - webhosting.cit@rug.nl
  44. - name: notify-slack
  45. image: plugins/slack
  46. settings:
  47. webhook: https://hooks.slack.com/services/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
  48. channel: builds
  49. EOF
  50. ````