mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 14:20:45 +00:00
test
This commit is contained in:
parent
d60319b12c
commit
6206dd968c
20
.drone.yml
20
.drone.yml
@ -2,7 +2,6 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
|
||||
steps:
|
||||
- name: test2.7
|
||||
image: python:2.7-stretch
|
||||
@ -12,7 +11,6 @@ steps:
|
||||
commands:
|
||||
- pip install tox -q
|
||||
- tox -e $(tox -l | grep py27 | xargs | sed 's/ /,/g') -q
|
||||
depends_on: clone
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@ -26,7 +24,6 @@ steps:
|
||||
commands:
|
||||
- pip install tox -q
|
||||
- tox -e $(tox -l | grep py35 | xargs | sed 's/ /,/g') -q
|
||||
depends_on: clone
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@ -40,7 +37,6 @@ steps:
|
||||
commands:
|
||||
- pip install tox -q
|
||||
- tox -e $(tox -l | grep py36 | xargs | sed 's/ /,/g') -q
|
||||
depends_on: clone
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@ -54,7 +50,6 @@ steps:
|
||||
commands:
|
||||
- pip install tox -q
|
||||
- tox -e $(tox -l | grep py37 | xargs | sed 's/ /,/g') -q
|
||||
depends_on: clone
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
@ -83,11 +78,12 @@ steps:
|
||||
# exclude files
|
||||
# - sha256sum -b files/!(*.out) > CHECKSUMFILE
|
||||
- sha256sum -b dist/* > sha256sum.txt
|
||||
depends_on:
|
||||
- build
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
depends_on: build
|
||||
|
||||
- name: gpgsign
|
||||
image: plugins/gpgsign:1
|
||||
@ -100,11 +96,12 @@ steps:
|
||||
detach_sign: true
|
||||
files:
|
||||
- dist/*
|
||||
depends_on:
|
||||
- checksum
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
depends_on: checksum
|
||||
|
||||
- name: publish
|
||||
image: plugins/github-release
|
||||
@ -114,10 +111,11 @@ steps:
|
||||
files:
|
||||
- dist/*
|
||||
- sha256sum.txt
|
||||
depends_on:
|
||||
- gpgsign
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
depends_on: gpgsign
|
||||
|
||||
- name: pypi_publish
|
||||
image: xoxys/drone-pypi:0.1.0
|
||||
@ -129,10 +127,11 @@ steps:
|
||||
from_secret: pypi_password
|
||||
repository: https://upload.pypi.org/legacy/
|
||||
skip_build: true
|
||||
depends_on:
|
||||
- publish
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
depends_on: publish
|
||||
|
||||
- name: notify
|
||||
image: plugins/matrix
|
||||
@ -144,8 +143,9 @@ steps:
|
||||
from_secret: matrix_username
|
||||
password:
|
||||
from_secret: matrix_password
|
||||
depends_on:
|
||||
- pypi_publish
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
depends_on: pypi_publish
|
||||
|
Loading…
Reference in New Issue
Block a user