From b36c4966675458271af65d73d4e8d506fe36980a Mon Sep 17 00:00:00 2001 From: Quentin Ferrand Date: Thu, 21 Apr 2022 17:02:40 +0200 Subject: [PATCH] add build / push steps for drone --- .drone.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f96a572..5e96f12 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,8 @@ steps: - name: test image: python:latest commands: - - pip install -q --upgrade pre-commit + - pip install -q --upgrade pre-commit poetry + - poetry install - pre-commit run --all-files # - flake8 --ignore=E501,W503,E265 # - mypy --ignore-missing-imports ./tenkan/ @@ -39,13 +40,17 @@ steps: - master - name: deploy_kube - kube: - image: takaoni/drone-kube + image: takaoni/drone-kube + settings: template: apps/tenkan.yaml namespace: gemini server: - from_secret: kube_server + from_secret: kube_server when: branch: - master +host_aliases: + - ip: 192.168.0.210 + hostnames: + - git.fqserv.eu