.drone.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. environment:
  25. TEST_CONTAINER: true
  26. pull: always
  27. commands:
  28. - scripts/run-full-tests
  29. ---
  30. kind: pipeline
  31. name: documentation
  32. clone:
  33. skip_verify: true
  34. steps:
  35. - name: build
  36. image: plugins/docker
  37. settings:
  38. username:
  39. from_secret: docker_username
  40. password:
  41. from_secret: docker_password
  42. registry: projects.torsion.org
  43. repo: projects.torsion.org/borgmatic-collective/borgmatic
  44. tags: docs
  45. dockerfile: docs/Dockerfile
  46. trigger:
  47. repo:
  48. - borgmatic-collective/borgmatic
  49. branch:
  50. - master
  51. event:
  52. - push