Skip to content
Snippets Groups Projects
Verified Commit 4c991aeb 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 #9132 failed
stages: stages:
- test
- deploy - deploy
variables:
LATEST_VERSION_URL: https://docs.funkwhale.audio/latest.txt
test-install-script:
stage: test
image: debian:10
interruptible: true
before_script:
- apt-get update && apt-get install -y curl
- |
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
script:
- |
echo "Y Y Y Y Y" | bash ./install.sh
tags:
- docker
pages: pages:
stage: deploy stage: deploy
image: buildpack-deps image: buildpack-deps
variables:
LATEST_VERSION_URL: https://docs.funkwhale.audio/latest.txt
script: script:
- | - |
echo "Retrieving latest version from $LATEST_VERSION_URL" 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