Commit c3558329 authored by Manuel Moos's avatar Manuel Moos
Browse files

Make abandoning direct SF downloads permanent

While it turned out sourceforge was probably not the reason for the
certificate failures causing failed deployments and flatpak builds
(rather, it was outdated ca information on the builders),
the site is slow and full of ads. An if-not-found-redirect to SF
ensures we can recklessly clean up our files anyway.
parent 7f4358d7
Pipeline #400686587 passed with stages
in 21 minutes and 46 seconds
......@@ -183,17 +183,12 @@ ZI_GIT=git@gitlab.com:armagetronad/zeroinstall.git
UPLOAD_ZI_SCP=arma0install@builder.armagetronad.org:/home/arma0install/0install/
#UPLOAD_ZI_SCP=arma0install@builder.armagetronad.org:/home/arma0install/0install-staging/
if test ${STAGING} == true; then
# download URI base to use for zeroinstall
if test ${STAGING} == true || test "${SF_DIR}" != "stable"; then
# download URI base to use for zeroinstall and the download site; use our own storage for transient builds
DOWNLOAD_URI_BASE=http://download.armagetronad.org/staging/${SF_DIR}/@version@/
elif test "${SF_DIR}" == "stable"; then
# only stable builds go to launchpad permanently
DOWNLOAD_URI_BASE=https://launchpad.net/${LP_PROJECT}/${LP_SERIES}/${LP_VERSION}/+download/
else
# the rest reference to sourceforge
# DOWNLOAD_URI_BASE=https://sourceforge.net/projects/armagetronad/files/${SF_DIR}/@version@/
# or not. SF certificates have been broken for quite a while.
DOWNLOAD_URI_BASE=http://download.armagetronad.org/staging/${SF_DIR}/@version@/
# only final stable builds go to launchpad permanently
DOWNLOAD_URI_BASE=https://launchpad.net/${LP_PROJECT}/${LP_SERIES}/${LP_VERSION}/+download/
fi
# **********************************************************************
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment