Run the Debian package updates sequentially to prevent builds to step on one another's toes

This commit is contained in:
Fabio Manganiello 2023-09-18 14:15:29 +02:00
parent 3e8d6bb01e
commit 3acbde38c1

View file

@ -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