.drone.yml 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. registry: projects.torsion.org
  41. repo: projects.torsion.org/borgmatic-collective/borgmatic
  42. tags: docs
  43. dockerfile: docs/Dockerfile
  44. trigger:
  45. repo:
  46. - borgmatic-collective/borgmatic
  47. branch:
  48. - master
  49. event:
  50. - push