Compare commits
No commits in common. "58eb3411103796168a0e11969dbdba8f66302efe" and "fbe79256fbbc834395f86cda9a87c41a9dae04aa" have entirely different histories.
58eb341110
...
fbe79256fb
2 changed files with 7 additions and 10 deletions
15
.drone.yml
15
.drone.yml
|
@ -5,9 +5,10 @@ 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 pylint pydantic pytest
|
- pip install -q --upgrade pre-commit
|
||||||
- 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/
|
||||||
|
@ -39,17 +40,13 @@ steps:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
- name: deploy_kube
|
- name: deploy_kube
|
||||||
image: vallard/drone-kube
|
kube:
|
||||||
settings:
|
image: takaoni/drone-kube
|
||||||
template: apps/tenkan.yaml
|
template: apps/tenkan.yaml
|
||||||
namespace: gemini
|
namespace: gemini
|
||||||
server:
|
server:
|
||||||
from_secret: kube_ip
|
from_secret: kube_server
|
||||||
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', '-l 200']
|
args: ['-S']
|
||||||
- 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