From 197e1e91dd1d28e111088b7656d980424eb94497 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 11 Nov 2024 23:45:44 +0100 Subject: [PATCH] [Build] Removed testing repo from Alpine images. The testing repo is only required by `py3-marshmallow`, which is not yet included in the community repo, but it can end up breaking some builds because of the incompatibility with the packages in the base repo. --- .drone/rebuild-docs.sh | 2 +- .drone/run-tests.sh | 2 +- .drone/update-components-cache.sh | 2 +- platypush/install/docker/alpine.Dockerfile | 2 +- platypush/install/requirements/alpine.txt | 3 ++- platypush/install/scripts/alpine/PKGCMD | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.drone/rebuild-docs.sh b/.drone/rebuild-docs.sh index 720c907624..10b9cb6f8c 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 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt) +apk add --update --no-cache 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/run-tests.sh b/.drone/run-tests.sh index 726b4979cb..74450a6714 100755 --- a/.drone/run-tests.sh +++ b/.drone/run-tests.sh @@ -1,6 +1,6 @@ #!/bin/sh -apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ $(cat platypush/install/requirements/alpine.txt) +apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt) pip install . --break-system-packages pip install -r requirements-tests.txt --break-system-packages pytest tests diff --git a/.drone/update-components-cache.sh b/.drone/update-components-cache.sh index 910f936521..cc9a5b614b 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 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ $(cat platypush/install/requirements/alpine.txt) +apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt) pip install . --break-system-packages python - <