This commit is contained in:
parent
257ab068f3
commit
953fe610ab
1 changed files with 35 additions and 35 deletions
70
.drone.yml
70
.drone.yml
|
@ -14,38 +14,38 @@ steps:
|
||||||
# - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/
|
# - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/
|
||||||
# - pytest ./tests/
|
# - pytest ./tests/
|
||||||
|
|
||||||
- name: publish_pypi
|
#- name: publish_pypi
|
||||||
image: plugins/pypi
|
# image: plugins/pypi
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: pypi_username
|
# from_secret: pypi_username
|
||||||
password:
|
# password:
|
||||||
from_secret: pypi_password
|
# from_secret: pypi_password
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
|
#
|
||||||
- name: push_docker
|
#- name: push_docker
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: docker_username
|
# from_secret: docker_username
|
||||||
password:
|
# password:
|
||||||
from_secret: docker_password
|
# from_secret: docker_password
|
||||||
repo: takaoni/tenkan
|
# repo: takaoni/tenkan
|
||||||
tags: latest
|
# tags: latest
|
||||||
when:
|
# when:
|
||||||
branch:
|
# branch:
|
||||||
- master
|
# - master
|
||||||
|
#
|
||||||
- name: deploy_kube
|
#- name: deploy_kube
|
||||||
kube:
|
# kube:
|
||||||
image: takaoni/drone-kube
|
# image: takaoni/drone-kube
|
||||||
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
|
||||||
|
#
|
||||||
|
|
Loading…
Reference in a new issue