The backend app of Project Amber, a task list app
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.

33 lines
663B

  1. kind: pipeline
  2. name: Python linting
  3. steps:
  4. - name: pylint
  5. image: python:3.7-stretch
  6. commands:
  7. - pip install pylint
  8. - pip install -r requirements.txt
  9. - pylint --rcfile .pylintrc project_amber project_amber/handlers project_amber/controllers project_amber/models
  10. when:
  11. event:
  12. - push
  13. branch:
  14. exclude:
  15. - master
  16. - name: push to registry
  17. image: plugins/docker
  18. settings:
  19. username:
  20. from_secret: username
  21. password:
  22. from_secret: password
  23. repo: registry.git.tdem.in/amber
  24. registry: registry.git.tdem.in
  25. dockerfile: Dockerfile
  26. tags:
  27. - ${DRONE_TAG}
  28. - latest
  29. when:
  30. event:
  31. - tag