2022-05-08 14:02:19 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
2022-05-08 14:13:53 +00:00
|
|
|
- name: lint
|
2022-06-16 20:48:16 +00:00
|
|
|
image: python:3.8-slim
|
2022-05-08 14:02:19 +00:00
|
|
|
commands:
|
|
|
|
- pip install poetry
|
|
|
|
- poetry install
|
2022-05-08 14:13:53 +00:00
|
|
|
- poetry run flake8
|
|
|
|
- poetry run mypy .
|
2022-05-30 15:31:33 +00:00
|
|
|
- poetry run djlint .
|
2022-05-08 14:02:19 +00:00
|
|
|
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: xefir/divent
|
|
|
|
auto_tag: true
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|