.drone.yml 943 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. kind: pipeline
  2. name: python-3-8-alpine-3-13
  3. services:
  4. - name: postgresql
  5. image: postgres:13.1-alpine
  6. environment:
  7. POSTGRES_PASSWORD: test
  8. POSTGRES_DB: test
  9. - name: mysql
  10. image: mariadb:10.5
  11. environment:
  12. MYSQL_ROOT_PASSWORD: test
  13. MYSQL_DATABASE: test
  14. - name: mongodb
  15. image: mongo:5.0.5
  16. environment:
  17. MONGO_INITDB_ROOT_USERNAME: root
  18. MONGO_INITDB_ROOT_PASSWORD: test
  19. clone:
  20. skip_verify: true
  21. steps:
  22. - name: build
  23. image: alpine:3.13
  24. pull: always
  25. commands:
  26. - scripts/run-full-tests
  27. ---
  28. kind: pipeline
  29. name: documentation
  30. clone:
  31. skip_verify: true
  32. steps:
  33. - name: build
  34. image: plugins/docker
  35. settings:
  36. username:
  37. from_secret: docker_username
  38. password:
  39. from_secret: docker_password
  40. repo: witten/borgmatic-docs
  41. dockerfile: docs/Dockerfile
  42. trigger:
  43. repo:
  44. - borgmatic-collective/borgmatic
  45. branch:
  46. - master
  47. event:
  48. - push