2019-06-18 16:48:39 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: python:3.7-alpine
|
|
|
|
commands:
|
|
|
|
- pip install -r dev-requirements.txt
|
|
|
|
- which make || apk add make
|
|
|
|
- make test
|
|
|
|
- name: build
|
|
|
|
image: python:3.7-alpine
|
|
|
|
commands:
|
|
|
|
- which make || apk add make
|
|
|
|
- pip install -r dev-requirements.txt
|
|
|
|
- make build
|
|
|
|
- name: upload
|
|
|
|
image: python:3.7-alpine
|
|
|
|
environment:
|
|
|
|
TWINE_USERNAME:
|
|
|
|
from_secret: TWINE_USERNAME
|
|
|
|
TWINE_PASSWORD:
|
|
|
|
from_secret: TWINE_PASSWORD
|
|
|
|
commands:
|
|
|
|
- which make || apk add make
|
2019-06-27 13:38:12 +00:00
|
|
|
- pip install -r dev-requirements.txt
|
2019-06-18 16:48:39 +00:00
|
|
|
- make upload
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|