Compare commits

..

5 commits

Author SHA1 Message Date
58eb341110 add build / push steps for drone
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-21 16:49:44 +02:00
ebbecf1ed4 .
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-21 16:40:19 +02:00
3fe4ffc612 .
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-21 16:31:10 +02:00
a0ff82ccfa .
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-21 16:08:41 +02:00
44a7c416d3 .
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-21 16:07:37 +02:00
2 changed files with 10 additions and 7 deletions

View file

@ -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

View file

@ -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: