-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
47 lines (41 loc) · 972 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
clone:
clone:
image: plugins/git
tags: true
pipeline:
test:
image: python:3
commands:
- python setup.py test
environment:
- PIP_INDEX_URL=http:https://dietzi.ddns.net:3141/
build:
image: python 3
- python setup.py bdist_wheel
- python setup.py sdist
- python setup.py sdist --formats=zip
environment:
- PIP_INDEX_URL=http:https://dietzi.ddns.net:3141/
staging:
image: shocki/drone-devpi
server: http:https://dietzi.ddns.net:3141/
index: dietzi/staging
secrets:
- source: devpi_password
target: plugin_password
- source: devpi_user
target: plugin_username
when:
branch: master
release:
image: shocki/drone-devpi
server: http:https://dietzi.ddns.net:3141/
index: dietzi/stable
secrets:
- source: devpi_password
target: plugin_password
- source: devpi_user
target: plugin_username
when:
event: tag
status: success