Longvinter: switch to new GitRepo update stage (#206)

This commit is contained in:
Greelan 2022-10-03 07:42:37 +11:00 committed by GitHub
parent ddea198788
commit 56a73244a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ Meta.EndpointURIFormat=
Meta.ConfigManifest=longvinterconfig.json Meta.ConfigManifest=longvinterconfig.json
Meta.MetaConfigManifest=longvintermetaconfig.json Meta.MetaConfigManifest=longvintermetaconfig.json
Meta.ConfigRoot=longvinter.kvp Meta.ConfigRoot=longvinter.kvp
Meta.MinAMPVersion=2.3.4.3 Meta.MinAMPVersion=2.4.0.6
Meta.SpecificDockerImage= Meta.SpecificDockerImage=
Meta.DockerRequired=False Meta.DockerRequired=False
Meta.ContainerPolicy=Recommended Meta.ContainerPolicy=Recommended
@ -53,7 +53,7 @@ App.RCONConnectRetrySeconds=5
App.RCONHeartbeatMinutes=0 App.RCONHeartbeatMinutes=0
App.RCONHeartbeatCommand=ping App.RCONHeartbeatCommand=ping
App.TelnetLoginFormat={0} App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Windows","UpdateSource":"SteamCMD","UpdateSourceData":"1639880"},{"UpdateStageName":"GitHub Update Script Creation","UpdateSourcePlatform":"Linux","UpdateSource":"CreateFile","UpdateSourceData":"#!/bin/bash\ncd ./longvinter/1639880/\n/usr/bin/git clone https://github.com/Uuvana-Studios/longvinter-linux-server.git ./ || /usr/bin/git pull","UpdateSourceArgs":"{{$FullInstanceDir}}github_update.sh","OverwriteExistingFiles":true},{"UpdateStageName":"GitHub Update","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"{{$FullInstanceDir}}github_update.sh"},{"UpdateStageName":"Set Binary Executable Flag","UpdateSourcePlatform":"Linux","UpdateSource":"SetExecutableFlag","UpdateSourceArgs":"{{$FullBaseDir}}Longvinter/Binaries/Linux/LongvinterServer-Linux-Shipping"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Server Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/longvintergame.ini","UpdateSourceTarget":"{{$FullInstanceDir}}","OverwriteExistingFiles":true},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Windows","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Linux","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false}] App.UpdateSources=[{"UpdateStageName":"SteamCMD Download","UpdateSourcePlatform":"Windows","UpdateSource":"SteamCMD","UpdateSourceData":"1639880"},{"UpdateStageName":"Clone GitHub Repo","UpdateSourcePlatform":"Linux","UpdateSource":"GitRepo","UpdateSourceData":"https://github.com/Uuvana-Studios/longvinter-linux-server.git","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Set Binary Executable Flag","UpdateSourcePlatform":"Linux","UpdateSource":"SetExecutableFlag","UpdateSourceArgs":"{{$FullBaseDir}}Longvinter/Binaries/Linux/LongvinterServer-Linux-Shipping"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Linux","UpdateSource":"SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Server Config File Download","UpdateSourcePlatform":"All","UpdateSource":"FetchURL","UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/longvintergame.ini","UpdateSourceTarget":"{{$FullInstanceDir}}","OverwriteExistingFiles":true},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Windows","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/WindowsServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false},{"UpdateStageName":"Game Config Copy","UpdateSourcePlatform":"Linux","UpdateSource":"CopyFilePath","UpdateSourceData":"{{$FullBaseDir}}Longvinter/Saved/Config/LinuxServer/Game.ini","UpdateSourceArgs":"{{$FullInstanceDir}}longvintergame.ini","OverwriteExistingFiles":false}]
App.Compatibility=None App.Compatibility=None
App.SteamUpdateAnonymousLogin=True App.SteamUpdateAnonymousLogin=True
App.SteamForceLoginPrompt=False App.SteamForceLoginPrompt=False