From 40849b1502b698df7ac4e14fb6d32d68387ea5b8 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 10 Nov 2024 21:44:27 +0100 Subject: [PATCH] [CI/CD] Added Alpine testing repository when required. --- .drone/rebuild-docs.sh | 2 +- .drone/update-components-cache.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone/rebuild-docs.sh b/.drone/rebuild-docs.sh index 10b9cb6f8c..720c907624 100755 --- a/.drone/rebuild-docs.sh +++ b/.drone/rebuild-docs.sh @@ -1,7 +1,7 @@ #!/bin/sh echo "Installing required build dependencies" -apk add --update --no-cache git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt) +apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt) pip install -U sphinx-rtd-theme sphinx-book-theme --break-system-packages pip install . --break-system-packages mkdir -p /docs/current diff --git a/.drone/update-components-cache.sh b/.drone/update-components-cache.sh index cc9a5b614b..910f936521 100755 --- a/.drone/update-components-cache.sh +++ b/.drone/update-components-cache.sh @@ -23,7 +23,7 @@ fi . .drone/macros/configure-gpg.sh echo 'Updating components cache' -apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt) +apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ $(cat platypush/install/requirements/alpine.txt) pip install . --break-system-packages python - <