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:
|
||||
- name: test
|
||||
image: python:latest
|
||||
#image: python/latest
|
||||
image: alpine/git
|
||||
commands:
|
||||
- pip install -q --upgrade pre-commit pylint pydantic pytest
|
||||
- pip install -q --upgrade pre-commit
|
||||
- pre-commit run --all-files
|
||||
# - flake8 --ignore=E501,W503,E265
|
||||
# - mypy --ignore-missing-imports ./tenkan/
|
||||
|
@ -39,17 +40,13 @@ steps:
|
|||
- master
|
||||
|
||||
- name: deploy_kube
|
||||
image: vallard/drone-kube
|
||||
settings:
|
||||
kube:
|
||||
image: takaoni/drone-kube
|
||||
template: apps/tenkan.yaml
|
||||
namespace: gemini
|
||||
server:
|
||||
from_secret: kube_ip
|
||||
from_secret: kube_server
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
host_aliases:
|
||||
- ip: 192.168.0.210
|
||||
hostnames:
|
||||
- git.fqserv.eu
|
||||
|
|
|
@ -20,7 +20,7 @@ repos:
|
|||
hooks:
|
||||
- id: black
|
||||
name: black (python)
|
||||
args: ['-S', '-l 200']
|
||||
args: ['-S']
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.931
|
||||
hooks:
|
||||
|
|
Loading…
Reference in a new issue