From 44a7c416d321be050c61259987a6df15b910ae22 Mon Sep 17 00:00:00 2001 From: Quentin Ferrand Date: Thu, 21 Apr 2022 16:07:37 +0200 Subject: [PATCH] . --- .drone.yml | 75 +++++++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/.drone.yml b/.drone.yml index 639313b..dc0ba3f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,8 +5,7 @@ name: python steps: - name: test - #image: python/latest - image: alpine/git + image: python:latest commands: - pip install -q --upgrade pre-commit - pre-commit run --all-files @@ -15,38 +14,44 @@ steps: # - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/ # - pytest ./tests/ -- name: publish_pypi - image: plugins/pypi - settings: - username: - from_secret: pypi_username - password: - from_secret: pypi_password - when: - branch: - - master + #- name: publish_pypi + # image: plugins/pypi + # settings: + # username: + # from_secret: pypi_username + # password: + # from_secret: pypi_password + # when: + # branch: + # - master + # + #- name: push_docker + # image: plugins/docker + # settings: + # username: + # from_secret: docker_username + # password: + # from_secret: docker_password + # repo: takaoni/tenkan + # tags: latest + # when: + # branch: + # - master + # + #- name: deploy_kube + # kube: + # image: takaoni/drone-kube + # template: apps/tenkan.yaml + # namespace: gemini + # server: + # from_secret: kube_server + # when: + # branch: + # - master -- name: push_docker - image: plugins/docker - settings: - username: - from_secret: docker_username - password: - from_secret: docker_password - repo: takaoni/tenkan - tags: latest - when: - branch: - - master - -- name: deploy_kube - kube: - image: takaoni/drone-kube - template: apps/tenkan.yaml - namespace: gemini - server: - from_secret: kube_server - when: - branch: - - master +host_aliases: + - ip: + from_secret: kube_ip + hostnames: + - git.fqserv.eu