mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-21 03:57:19 +01:00
Merge pull request #2219 from tgstation/TestThatSigningKeyIsShared
Test token signing key is shared between swarm servers
This commit is contained in:
@@ -639,7 +639,7 @@ Bots have a set of built-in commands that can be triggered via `!tgs`, mentionin
|
||||
|
||||
All files in game code deployments are considered transient by default, meaning when new code is deployed, changes will be lost. Static files allow you to specify which files and folders stick around throughout all deployments.
|
||||
|
||||
The `StaticFiles` folder contains 3 root folders which cannot be deleted and operate under special rules
|
||||
The `Configuration` folder contains 3 root folders which cannot be deleted and operate under special rules
|
||||
- `CodeModifications`
|
||||
- `EventScripts`
|
||||
- `GameStaticFiles`
|
||||
|
||||
@@ -922,6 +922,12 @@ namespace Tgstation.Server.Tests.Live
|
||||
await using var node1Client = await CreateAdminClient(node1.ApiUrl, cancellationToken);
|
||||
await using var node2Client = await CreateAdminClient(node2.ApiUrl, cancellationToken);
|
||||
|
||||
// test a token signed from any one node will work on another
|
||||
var token = node2Client.RestClient.Token;
|
||||
var testNode1Client = restClientFactory.CreateFromToken(node1.ApiUrl, token);
|
||||
|
||||
await testNode1Client.ServerInformation(cancellationToken);
|
||||
|
||||
var controllerInfo = await controllerClient.RestClient.ServerInformation(cancellationToken);
|
||||
|
||||
async Task WaitForSwarmServerUpdate(IRestServerClient client, int currentServerCount)
|
||||
|
||||
Reference in New Issue
Block a user