2021-05-13 15:26:05 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
steps:
|
2023-06-09 16:30:06 +00:00
|
|
|
- name: lint
|
|
|
|
image: python:3.10
|
|
|
|
commands:
|
|
|
|
- pip install poetry
|
|
|
|
- poetry install
|
|
|
|
- poetry run flake8 .
|
|
|
|
- poetry run mypy .
|
|
|
|
|
2021-05-13 15:26:05 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: xefir/dl
|
|
|
|
auto_tag: true
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|