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.
 
 
 

32 lines
632 B

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