mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-20 12:33:00 +01:00
Setup MariaDB redistributable fallback URL
Their API server is currently shitting itself
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
<!-- Update this frequently with dotnet runtime patches. MAJOR MUST MATCH ABOVE! -->
|
||||
<TgsDotnetRedistUrl>https://download.visualstudio.microsoft.com/download/pr/751d3fcd-72db-4da2-b8d0-709c19442225/33cc492bde704bfd6d70a2b9109005a0/dotnet-hosting-8.0.6-win.exe</TgsDotnetRedistUrl>
|
||||
<TgsMariaDBRedistVersion>10.11.8</TgsMariaDBRedistVersion>
|
||||
<!-- Only have this uncommented if the mariadb servers are shitting the bed, update if the version updates -->
|
||||
<TgsMariaDBFallbackRedist>https://mirror.its.dal.ca/mariadb//mariadb-10.11.8/winx64-packages/mariadb-10.11.8-winx64.msi</TgsMariaDBFallbackRedist>
|
||||
<TgsYarnVersion>1.22.21</TgsYarnVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -35,7 +35,15 @@ try
|
||||
try
|
||||
{
|
||||
Invoke-WebRequest -Uri $redistUrl -OutFile artifacts/hosting-bundle.exe
|
||||
Invoke-WebRequest -Uri $dbRedistUrl -OutFile artifacts/mariadb.msi
|
||||
try
|
||||
{
|
||||
Invoke-WebRequest -Uri $dbRedistUrl -OutFile artifacts/mariadb.msi
|
||||
}
|
||||
catch
|
||||
{
|
||||
$dbRedistUrl = $versionXML.Project.PropertyGroup.TgsMariaDBFallbackRedist
|
||||
Invoke-WebRequest -Uri $dbRedistUrl -OutFile artifacts/mariadb.msi
|
||||
}
|
||||
} finally {
|
||||
$ProgressPreference = $previousProgressPreference
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user