.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Quentin Ferrand 2022-04-21 16:31:10 +02:00
parent a0ff82ccfa
commit 3fe4ffc612
2 changed files with 36 additions and 36 deletions

View file

@ -7,47 +7,47 @@ steps:
- name: test
image: python:latest
commands:
- pip install -q --upgrade pre-commit
- pip install -q --upgrade pre-commit pylint pydantic pytest
- pre-commit run --all-files
# - flake8 --ignore=E501,W503,E265
# - mypy --ignore-missing-imports ./tenkan/
# - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/
# - pytest ./tests/
#- name: publish_pypi
# image: plugins/pypi
# settings:
# username:
# from_secret: pypi_username
# password:
# from_secret: pypi_password
# when:
# branch:
# - master
#
#- name: push_docker
# image: plugins/docker
# settings:
# username:
# from_secret: docker_username
# password:
# from_secret: docker_password
# repo: takaoni/tenkan
# tags: latest
# when:
# branch:
# - master
#
#- name: deploy_kube
# kube:
# image: takaoni/drone-kube
# template: apps/tenkan.yaml
# namespace: gemini
# server:
# from_secret: kube_server
# when:
# branch:
# - master
- name: publish_pypi
image: plugins/pypi
settings:
username:
from_secret: pypi_username
password:
from_secret: pypi_password
when:
branch:
- master
- name: push_docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: takaoni/tenkan
tags: latest
when:
branch:
- master
- name: deploy_kube
kube:
image: takaoni/drone-kube
template: apps/tenkan.yaml
namespace: gemini
server:
from_secret: kube_server
when:
branch:
- master
host_aliases:

View file

@ -20,7 +20,7 @@ repos:
hooks:
- id: black
name: black (python)
args: ['-S']
args: ['-S', '-l 200']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
hooks: