Skip to content
Snippets Groups Projects
Verified Commit 075b97fa authored by Eliot Berriot's avatar Eliot Berriot
Browse files

WIP CI

parent 6074dda1
No related branches found
No related tags found
No related merge requests found
Pipeline #9130 failed
stages:
- test
- deploy
variables:
LATEST_VERSION_URL: https://docs.funkwhale.audio/latest.txt
test-install-script:
stage: test
image: debian:10
script:
- |
echo "Retrieving latest version from $LATEST_VERSION_URL"
funkwhale_version=$(curl -sfL $LATEST_VERSION_URL || true)
if [ -z "$funkwhale_version" ]; then
echo "Could not retrieve latest version!"
exit 1
fi
- echo "Latest version is $funkwhale_version"
- sed -i "0,/funkwhale_version_placeholder/{s/funkwhale_version_placeholder/$funkwhale_version/}" install.sh
- |
echo "Y Y Y Y Y" | bash ./install.sh
tags:
- docker
pages:
stage: deploy
image: buildpack-deps
variables:
LATEST_VERSION_URL: https://docs.funkwhale.audio/latest.txt
script:
- |
echo "Retrieving latest version from $LATEST_VERSION_URL"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment