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: depends_on:
- build-ui - build-ui
- update-debian-stable-packages
commands: commands:
- echo "-- Installing dependencies" - echo "-- Installing dependencies"
@ -375,6 +376,24 @@ steps:
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- twine upload dist/platypush-$(python setup.py --version).tar.gz - 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 - name: notify-release
image: python:3.11-alpine image: python:3.11-alpine
environment: environment:
@ -387,9 +406,7 @@ steps:
depends_on: depends_on:
- update-pip-package - update-pip-package
- update-arch-packages - wait-pkg-update
- update-debian-stable-packages
- update-debian-oldstable-packages
commands: commands:
- apk add --update --no-cache curl - apk add --update --no-cache curl
@ -414,9 +431,7 @@ steps:
- failure - failure
depends_on: depends_on:
- update-arch-packages - wait-pkg-update
- update-debian-stable-packages
- update-debian-oldstable-packages
commands: commands:
- apk add --update --no-cache curl - apk add --update --no-cache curl