add build / push steps for drone
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
4483de7b63
commit
b36c496667
1 changed files with 9 additions and 4 deletions
13
.drone.yml
13
.drone.yml
|
@ -7,7 +7,8 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: python:latest
|
image: python:latest
|
||||||
commands:
|
commands:
|
||||||
- pip install -q --upgrade pre-commit
|
- pip install -q --upgrade pre-commit poetry
|
||||||
|
- poetry install
|
||||||
- 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,13 +40,17 @@ steps:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
- name: deploy_kube
|
- name: deploy_kube
|
||||||
kube:
|
image: takaoni/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_server
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
host_aliases:
|
||||||
|
- ip: 192.168.0.210
|
||||||
|
hostnames:
|
||||||
|
- git.fqserv.eu
|
||||||
|
|
Loading…
Reference in a new issue