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
561B

  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 project_amber
  10. when:
  11. branch:
  12. exclude:
  13. - master
  14. - name: push to registry
  15. image: plugins/docker
  16. settings:
  17. username:
  18. from_secret: username
  19. password:
  20. from_secret: password
  21. repo: registry.git.tdem.in/amber
  22. registry: registry.git.tdem.in
  23. auto_tag: true
  24. dockerfile: Dockerfile
  25. when:
  26. branch:
  27. - master
  28. event:
  29. - push
  30. - tag