From 3acbde38c1dad4b585a2b4d279e68edbeff83780 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Sep 2023 14:15:29 +0200 Subject: [PATCH] Run the Debian package updates sequentially to prevent builds to step on one another's toes --- .drone.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index e5506867ac..c34040698c 100644 --- a/.drone.yml +++ b/.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