This is an API service to send emails and other information based on templates and double opt-ins from form submissions https://forms.fsfe.org
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.

.drone.yml 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # =============================================================================
  2. # Continuous Delivery instructions
  3. # =============================================================================
  4. # This file is part of the FSFE Form Server.
  5. #
  6. # Copyright © 2017-2019 Free Software Foundation Europe <contact@fsfe.org>
  7. #
  8. # The FSFE Form Server is free software: you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by the Free
  10. # Software Foundation, either version 3 of the License, or (at your option) any
  11. # later version.
  12. #
  13. # The FSFE Form Server is distributed in the hope that it will be useful, but
  14. # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  16. # details <http://www.gnu.org/licenses/>.
  17. # =============================================================================
  18. pipeline:
  19. build-quality:
  20. image: tmaier/docker-compose
  21. volumes:
  22. - /var/run/docker.sock:/var/run/docker.sock
  23. commands:
  24. - docker-compose --file docker-compose-quality.yml build
  25. quality:
  26. image: fsfe-forms-quality
  27. commands:
  28. - isort --check-only --diff
  29. - pylama
  30. - pytest
  31. deploy:
  32. image: tmaier/docker-compose
  33. volumes:
  34. - /var/run/docker.sock:/var/run/docker.sock
  35. commands:
  36. - docker-compose build
  37. - docker-compose up -d
  38. when:
  39. event:
  40. - push
  41. - tag
  42. - deployment
  43. branch: master