This commit is contained in:
parent
8b17add302
commit
4c3676a257
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/
|
||||
# - pytest ./tests/
|
||||
|
||||
- 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: 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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue