forked from platypush/platypush
Run the Debian package updates sequentially to prevent builds to step on one another's toes
This commit is contained in:
parent
3e8d6bb01e
commit
3acbde38c1
1 changed files with 21 additions and 6 deletions
27
.drone.yml
27
.drone.yml
|
@ -320,6 +320,7 @@ steps:
|
|||
|
||||
depends_on:
|
||||
- build-ui
|
||||
- update-debian-stable-packages
|
||||
|
||||
commands:
|
||||
- echo "-- Installing dependencies"
|
||||
|
@ -375,6 +376,24 @@ steps:
|
|||
- python setup.py sdist bdist_wheel
|
||||
- twine upload dist/platypush-$(python setup.py --version).tar.gz
|
||||
|
||||
- name: wait-pkg-update
|
||||
image: alpine
|
||||
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- tag
|
||||
|
||||
depends_on:
|
||||
- update-arch-packages
|
||||
- update-debian-stable-packages
|
||||
- update-debian-oldstable-packages
|
||||
|
||||
commands:
|
||||
- echo "All packages have been successfully updated"
|
||||
|
||||
- name: notify-release
|
||||
image: python:3.11-alpine
|
||||
environment:
|
||||
|
@ -387,9 +406,7 @@ steps:
|
|||
|
||||
depends_on:
|
||||
- update-pip-package
|
||||
- update-arch-packages
|
||||
- update-debian-stable-packages
|
||||
- update-debian-oldstable-packages
|
||||
- wait-pkg-update
|
||||
|
||||
commands:
|
||||
- apk add --update --no-cache curl
|
||||
|
@ -414,9 +431,7 @@ steps:
|
|||
- failure
|
||||
|
||||
depends_on:
|
||||
- update-arch-packages
|
||||
- update-debian-stable-packages
|
||||
- update-debian-oldstable-packages
|
||||
- wait-pkg-update
|
||||
|
||||
commands:
|
||||
- apk add --update --no-cache curl
|
||||
|
|
Loading…
Reference in a new issue