Commit Graph
9876 Commits
Author SHA1 Message Date
Jordan Dominion 10d559070b Document swarm settings in base appsettings.yml 2023-07-04 01:00:31 -04:00
Jordan Dominion c7ae56733b Add PublicAddress to swarm configuration and API
- `ConfigVersion` to 4.7.0.
- Add setup wizard prompt.
- `README.md` update.
- Update live tests.
2023-07-04 01:00:17 -04:00
Jordan Dominion 7fae741915 Fix Debug build of migrator comms app 2023-07-03 23:17:43 -04:00
Jordan Dominion cfdbbcfbe7 Fix .Signals .csproj's PackageReferences 2023-07-03 23:16:53 -04:00
Jordan Dominion 9c6dbb4daf Fix calls to ServiceController.GetServices()
Every returned service must always be disposed.
2023-07-03 23:15:07 -04:00
Jordan Dominion bf5224bf49 Remove unused using 2023-07-03 23:14:33 -04:00
Jordan Dominion 7413b7afac Clean up service (un)installation
- Switch back to programmatic installs with the help of the Nuget package we use in `Tgstation.Server.Migrator`.
- Document usage of `Microsoft.Extensions.Hosting.WindowsServices`.
2023-07-03 23:14:24 -04:00
Jordan Dominion c21d0c4ea7 Improve MSI DowngradeError 2023-07-03 22:54:15 -04:00
Jordan Dominion b9af8c3200 Update Octokit version in ReleaseNotes 2023-07-03 22:53:55 -04:00
Jordan Dominion 77cdc19877 Add TestCommon.props for test projects 2023-07-03 22:43:48 -04:00
Jordan Dominion 7d1fd47865 Remove Host-only properties from SrcCommon.props 2023-07-03 22:39:18 -04:00
Jordan Dominion fa50b61b8f Activating more style analyzers 2023-07-03 22:36:26 -04:00
Jordan Dominion d5380c5cb9 Bunch of project cleanups and "tgstation-server" string deduping
- Move `Tgstation.Server.Host.Common.Constants` to `Tgstation.Server.Common`.
- Use `Tgstation.Server.Common.Constants.CanonicalPackageName` in strings everywhere where it makes sense.
- Add `SrcCommon.props` to dedupe more .csproj properties.
- Rename `TgsNugetNetVersion` to `TgsNugetNetFramework` and move to `Version.props`.
- Change Nugets packages' author to just `Jordan Dominion`.
- Fix name of wix extensions namespace.
- Update Octokit to `7.0.0`.
- Add missing documentation comment for `PackageReference`.
2023-07-03 22:07:05 -04:00
Jordan Dominion 058b2e7d91 Add missing note about the root certificate OSCP 2023-07-03 20:58:27 -04:00
Jordan Dominion 7d94aedba0 Add documentation for code signing repo variable 2023-07-03 20:48:08 -04:00
Jordan Dominion 7013f05e4b Switch auto approve workflow to use DEV_PUSH_TOKEN
Higher rate limit
2023-07-03 20:42:55 -04:00
Jordan DominionandGitHub 4b2ad9335f Merge pull request #1572 from tgstation/1569-Vdproj
Installer `.exe` + `winget` package + `.exe` signing
2023-07-03 20:07:26 -04:00
Jordan Dominion a00ef98655 Standardize AGPL-3.0 reference 2023-07-03 17:58:32 -04:00
Jordan Dominion f7bc1e4901 Note about the root CA @Cyberboss runs 2023-07-03 17:40:48 -04:00
Jordan Dominion 7350fbfff2 Add AppsAndFeaturesEntries to installer manifest 2023-07-03 17:20:37 -04:00
Jordan Dominion a6c773300b More dotnet search paths for Linux 2023-07-03 17:16:24 -04:00
Jordan Dominion a1fde52d73 Note about dotnet pre-requisite for winget 2023-07-03 17:14:21 -04:00
Jordan Dominion e771a369af Do not StartServices if TGS is unconfigured
- Cheeky workaround to pass winget validation
2023-07-03 17:02:58 -04:00
Jordan Dominion 0867219858 Improve dotnet.exe path searching on Windows 2023-07-03 16:46:24 -04:00
Jordan Dominion 2aada2892d Cleanup winget manifests + Fix attempts
- Specify `burn` for `InstallerType` rather than `wix`.
- Check for .NET core runtime, since it is actually required. I think this is biting us in the ass for `winget` validation.
2023-07-03 16:03:18 -04:00
Jordan Dominion bc4321ac9d Fix Linux tests 2023-07-03 15:35:06 -04:00
Jordan Dominion 65fee617bb Rename the CI gates a bit 2023-07-03 14:17:02 -04:00
Jordan Dominion 6202093be4 We were hitting the GitHub API too fast here
- Add a sleep to allow the PR to index
2023-07-03 14:14:23 -04:00
Jordan Dominion cc06102a8b Improve winget manifest installer info 2023-07-03 14:13:30 -04:00
Jordan Dominion 210b07e9d7 Proper signing method for installer
- Also sign published service `.exe`s
2023-07-03 14:13:30 -04:00
Jordan Dominion 3bb064be1e We can't hash the unsigned installer for winget 2023-07-03 14:13:30 -04:00
Jordan Dominion e60bf12f87 Do not attempt winget (un)install validation
Let's get it right the first time and then let MS do it for us
2023-07-03 14:13:29 -04:00
Jordan Dominion 347e6b2f95 Sign test installer for CI purposes
- Do not publish.
- Also fix the CI deadlock by avoiding the root CA import
2023-07-02 19:29:14 -04:00
Jordan Dominion 4ed133323a Update notes about forks with code signing secrets 2023-07-02 18:53:19 -04:00
Jordan Dominion cf8f20fd11 DO NOT CREATE SIGNED ARTIFACTS
Delay Windows signing until TGS Deploy step
2023-07-02 18:53:12 -04:00
Jordan Dominion 6a25c2a115 Disable Smart Screen during final winget test 2023-07-02 18:52:58 -04:00
Jordan Dominion ac9b1c8be1 Self sign installer .exe
You know it's secure because this commit is signed!
*taps head*
2023-07-02 18:52:55 -04:00
Jordan Dominion 2607c6b8fa Fix elevation requirement 2023-07-02 18:26:47 -04:00
Jordan Dominion e8603c450b Be persistent with winget arguments
Also fix bracing in other .ps1
2023-07-02 18:26:43 -04:00
Jordan Dominion 5570659386 Fix CI Windows test uninstall command 2023-07-02 09:58:42 -04:00
Jordan Dominion 213c690693 Fix bad Windows install path test 2023-07-02 09:45:57 -04:00
Jordan Dominion d308b30226 Add GitHub token for install-winget 2023-07-02 09:31:12 -04:00
Jordan Dominion d177dafd24 Fix test Windows install .exe path 2023-07-02 09:21:53 -04:00
Jordan Dominion 2e6e2841e5 Add support for changing console title
- Move `VersionExtensions` to `Tgstation.Server.Common`.
- Fix Host watchdog API version specifying `Revision`.
2023-07-02 09:13:27 -04:00
Jordan Dominion 609fea8fde Remove unused install banner 2023-07-02 08:45:02 -04:00
Jordan Dominion b74a0d6e79 Do not deprecate service self-installing 2023-07-02 08:39:44 -04:00
Jordan Dominion 4b3440945f Fix Wix CI build command 2023-07-02 08:39:22 -04:00
Jordan Dominion d7404abeb8 Add -NoWix .sln configurations 2023-07-02 07:57:34 -04:00
Jordan Dominion 1ced2e335e Add missing dotnet build 2023-07-02 07:52:37 -04:00
Jordan Dominion 04e9ff306f Add uninstall check to winget 2023-07-02 07:52:36 -04:00