[CI/CD] Added Alpine testing repository when required.

This commit is contained in:
Fabio Manganiello 2024-11-10 21:44:27 +01:00
parent 9629e04211
commit 40849b1502
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
echo "Installing required build dependencies" 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 -U sphinx-rtd-theme sphinx-book-theme --break-system-packages
pip install . --break-system-packages pip install . --break-system-packages
mkdir -p /docs/current mkdir -p /docs/current

View file

@ -23,7 +23,7 @@ fi
. .drone/macros/configure-gpg.sh . .drone/macros/configure-gpg.sh
echo 'Updating components cache' 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 pip install . --break-system-packages
python - <<EOF python - <<EOF