Compare commits
5 commits
fbe79256fb
...
58eb341110
Author | SHA1 | Date | |
---|---|---|---|
58eb341110 | |||
ebbecf1ed4 | |||
3fe4ffc612 | |||
a0ff82ccfa | |||
44a7c416d3 |
2 changed files with 10 additions and 7 deletions
15
.drone.yml
15
.drone.yml
|
@ -5,10 +5,9 @@ name: python
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
#image: python/latest
|
image: python:latest
|
||||||
image: alpine/git
|
|
||||||
commands:
|
commands:
|
||||||
- pip install -q --upgrade pre-commit
|
- pip install -q --upgrade pre-commit pylint pydantic pytest
|
||||||
- pre-commit run --all-files
|
- pre-commit run --all-files
|
||||||
# - flake8 --ignore=E501,W503,E265
|
# - flake8 --ignore=E501,W503,E265
|
||||||
# - mypy --ignore-missing-imports ./tenkan/
|
# - mypy --ignore-missing-imports ./tenkan/
|
||||||
|
@ -40,13 +39,17 @@ steps:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
- name: deploy_kube
|
- name: deploy_kube
|
||||||
kube:
|
image: vallard/drone-kube
|
||||||
image: takaoni/drone-kube
|
settings:
|
||||||
template: apps/tenkan.yaml
|
template: apps/tenkan.yaml
|
||||||
namespace: gemini
|
namespace: gemini
|
||||||
server:
|
server:
|
||||||
from_secret: kube_server
|
from_secret: kube_ip
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
host_aliases:
|
||||||
|
- ip: 192.168.0.210
|
||||||
|
hostnames:
|
||||||
|
- git.fqserv.eu
|
||||||
|
|
|
@ -20,7 +20,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
name: black (python)
|
name: black (python)
|
||||||
args: ['-S']
|
args: ['-S', '-l 200']
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.931
|
rev: v0.931
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in a new issue