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