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:
|
||||
- name: test
|
||||
#image: python/latest
|
||||
image: alpine/git
|
||||
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/
|
||||
|
@ -40,13 +39,17 @@ steps:
|
|||
- master
|
||||
|
||||
- name: deploy_kube
|
||||
kube:
|
||||
image: takaoni/drone-kube
|
||||
image: vallard/drone-kube
|
||||
settings:
|
||||
template: apps/tenkan.yaml
|
||||
namespace: gemini
|
||||
server:
|
||||
from_secret: kube_server
|
||||
from_secret: kube_ip
|
||||
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']
|
||||
args: ['-S', '-l 200']
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.931
|
||||
hooks:
|
||||
|
|
Loading…
Reference in a new issue