This repository has been archived on 2023-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
PyNyaaTa/.drone.yml

39 lines
697 B
YAML
Raw Normal View History

2020-04-09 08:27:42 +00:00
kind: pipeline
name: default
2020-12-08 15:45:02 +00:00
type: docker
2020-04-09 08:27:42 +00:00
steps:
2022-09-01 18:52:02 +00:00
- name: lint
image: python:3.7-slim
2020-12-08 16:17:24 +00:00
commands:
2022-09-01 18:52:02 +00:00
- pip install poetry
- poetry install
- poetry run flake8
- poetry run mypy .
- poetry run djlint .
2020-04-09 08:27:42 +00:00
- name: docker
image: plugins/docker
settings:
repo: xefir/pynyaata
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-09-01 18:52:02 +00:00
2020-04-10 08:08:22 +00:00
- name: pypi
image: plugins/pypi
settings:
username:
2020-04-25 09:04:50 +00:00
from_secret: pypi_username
2020-04-10 08:08:22 +00:00
password:
2020-04-25 09:04:50 +00:00
from_secret: pypi_password
2022-09-01 18:52:02 +00:00
skip_build: true
2020-12-08 15:45:02 +00:00
when:
branch:
- master
2021-04-15 07:13:07 +00:00
event:
- push
2020-12-08 15:45:02 +00:00