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.
 
 
 

31 lines
632 B

kind: pipeline
name: Python linting
steps:
- name: pylint
image: python:3.8
commands:
- pip install -r requirements.txt
- pylint --rcfile .pylintrc project_amber project_amber/handlers project_amber/controllers project_amber/models
when:
event:
- push
branch:
exclude:
- master
- name: push to registry
image: plugins/docker
settings:
username:
from_secret: username
password:
from_secret: password
repo: registry.git.tdem.in/amber
registry: registry.git.tdem.in
dockerfile: Dockerfile
tags:
- ${DRONE_TAG}
- latest
when:
event:
- tag