Commit Graph
93 Commits
Author SHA1 Message Date
Jordan Dominion 34f142868c Fix engine installs not respecting Session:LowPriorityDeploymentProcesses 2023-12-20 20:10:10 -05:00
Jordan Dominion 83d07d5071 Clean up a ValueTask message 2023-12-20 15:49:28 -05:00
Jordan Dominion 0883874186 Support graceful OpenDream shutdowns
- SessionController now uses `IEngineExectuableLock` to stop servers.
  - Kills servers by default. Uses the RobustToolbox WatchdogApi for OpenDream.
2023-12-20 14:00:24 -05:00
Jordan Dominion 8fc4c36fd3 Nullify Job 2023-12-18 23:19:48 -05:00
Jordan Dominion c9b236da67 Nullify ChatBot 2023-12-18 15:14:32 -05:00
Jordan Dominion 5231bd8a81 Update to LibGit2Sharp 0.29.0 2023-12-13 21:49:22 -05:00
Jordan Dominion 80d5098cbb Rename ShaIsParent to CommittishIsParent
Update functionality to reflect this.
2023-11-11 14:48:18 -05:00
Jordan Dominion 30f2afe43b Merge branch 'V6' into OpenDream 2023-10-23 20:23:32 -04:00
Jordan Dominion 20428736ec Merge branch 'master' into dev 2023-10-22 19:59:03 -04:00
Jordan Dominion fd6de0fee2 Rename *SymlinkFactory to *FilesystemLinkFactory to better reflect new behavior 2023-10-21 18:42:19 -04:00
Jordan Dominion 8834fdb817 Fix failing unit test 2023-10-21 12:08:09 -04:00
Jordan Dominion a71f23ee29 Fix event tests 2023-10-16 09:22:11 -04:00
Jordan Dominion 63aace2c89 Add some repository manager unit tests 2023-10-15 17:51:44 -04:00
Jordan Dominion c299825905 Some OpenDreamInstaller unit tests 2023-10-15 17:25:37 -04:00
Jordan Dominion 1eeba3a4b2 Rename ByondVersion to EngineVersion 2023-10-15 01:49:39 -04:00
Jordan Dominion e706f4cd7e Fix up all tests except the two main Live ones 2023-10-14 00:54:22 -04:00
Jordan Dominion 10a0937945 Slowly pulling OpenDream stuff together 2023-10-12 22:13:35 -04:00
Jordan Dominion f00cb55fc3 Setup dependency injection for mapping IEngineInstallers and global OD repo manager
Various other things to get it compiling
2023-10-12 21:47:14 -04:00
Jordan Dominion 90d516cfb9 More OpenDream engine implementation 2023-10-11 23:35:52 -04:00
Jordan Dominion 05fe8af683 Merge branch 'V6' into OpenDream 2023-10-11 20:53:36 -04:00
Jordan Dominion c6aac8fbac Merge branch 'master' into dev 2023-10-11 20:52:53 -04:00
Jordan Dominion 62accd21bf Fix test merges resetting in auto-update
If an error calling GitHub ocurred the job would stop after merging the HEAD branch and continue to deploy. Implement two measures to prevent this:

- If the repository update job fails, do not proceed with code deployment.
- Do not make changes to the repository before calling GitHub.
2023-10-10 19:47:56 -04:00
Jordan Dominion b93b9bf6b9 Rename Byond namespace to Engine 2023-10-10 08:59:28 -04:00
Jordan Dominion c4c656f982 Rename IByondInstaller to IEngineInstaller. 2023-10-09 16:22:21 -04:00
Jordan Dominion 6e015f86fa WIP OpenDream Support 2023-10-09 15:42:29 -04:00
Jordan Dominion faeb730ebe Penultimate ValueTask conversion 2023-10-07 17:31:50 -04:00
Jordan Dominion 5651c74c96 Merge branch 'dev' into ValueTasks 2023-10-07 14:07:41 -04:00
Jordan Dominion 8fdcbec275 Fix config listing 500 error 2023-08-13 23:39:48 -04:00
Jordan Dominion 3b6f4e947a Merge branch 'dev' into ValueTasks 2023-08-13 23:36:21 -04:00
Jordan Dominion 1db6d57de6 Regression test for #1617 2023-08-12 12:54:51 -04:00
Jordan Dominion 6695cbd168 Fix failing tests 2023-06-27 23:43:01 -04:00
Dominion 69af0acf5d Fix secure.byond.com links 2023-06-14 14:53:53 -04:00
Dominion 4471391b96 ValueTask Tgstation.Server.Client 2023-06-14 12:30:00 -04:00
Dominion 71753f5a44 ValueTask a bunch of Database Functions 2023-06-14 02:33:02 -04:00
Dominion 764724664c ValueTask ByondManager and ByondInstaller 2023-06-14 02:33:00 -04:00
Dominion 1e0c4183fe Bunch of async file stream changes
- `DelayedFileDownloader` changed into `RequestFileStreamProvider` which provides a direct network stream.
- `CachedResponseStream` now only caches the `HttpContent` as opposed to the `HttpResponseMessage`.
- `IFileDownloader` now synchronously returns `IFileStreamProvider`s.
- `FileDownloader` now returns `RequestFileStreamProviders`.
- Added `ISeekableFileStreamProvider`.
- BufferedFileStreamProvider now implements `ISeekableFileStreamProvider`.
2023-06-10 12:30:41 -04:00
Dominion c197641267 Make IFileDownloader return the network Stream directly 2023-06-10 11:21:15 -04:00
Dominion 395ee7d316 Add DummyGitHubService for live testing
- Also enable repo additional features for testing if possible
- Change a bunch of `TestInitialize`rs to `ClassInitialize`rs
2023-06-04 13:15:09 -04:00
Dominion 6ac18508da Assert valid connection strings in chat tests 2023-05-23 17:54:06 -04:00
Dominion 76b214d40e Mock IChatProviders when testing without secrets 2023-05-23 02:59:02 -04:00
Dominion c9403b79f3 DiscordProvider Constructor test doesn't need a valid token 2023-05-22 19:53:38 -04:00
Dominion 50873dc616 Connect/Disconnect test for IRC 2023-05-22 19:53:12 -04:00
Dominion d86b4c8e33 Use the GitHubAccessToken when downloading the ServerUpdatePackage
Workaround for https://github.com/actions/runner-images/issues/7007
2023-05-17 20:10:29 -04:00
Dominion 43e1fec1b0 Move a bunch of non-core classes to new Utils namespace
- Clean up VS messages, primarily in SessionController.cs
2023-04-23 13:42:16 -04:00
Dominion a1b5dbe6ac Abstract HttpClient and FileDownloader
- Set all requests to use assemblyInformationProvider UserAgent by default.
- Removed DefaultIOManager's dependency on IAssemblyInformationProvider.
- Fixed bad Dispose scope for requests under construction in SwarmService.
2023-04-21 03:15:39 -04:00
Dominion 824850c351 Add dd.exe support 2023-03-31 11:35:10 -04:00
Jordan Brown 65ec6a0e98 Remove ConfigureAwait(false) in top level projects 2022-09-19 10:19:08 -04:00
Jordan Brown 6960525688 Update to .net-6.0. Fix errors and warnings
- Address various IDE messages
- Additional logging
- Do not access DB in Watchdog's actual Dispose
- Fix issue with legacy behaviour in PGSQL
- Remove obsolete dotnet workaround
- Update to v3 actions checkout/upload-artifact/download-artifact
2022-09-13 18:41:18 -04:00
Jordan Brown f397f65716 Merge branch 'master' into dev 2021-09-11 11:19:42 -04:00
Jordan Brown 5c31b26561 Remove more V4 references 2021-09-08 18:04:40 -04:00