docs: add integration guides and incident runbooks (#20)
This commit is contained in:
@@ -207,10 +207,16 @@ public sealed class ProductionProcessTests
|
||||
string root = RepositoryRoot();
|
||||
int httpPort = ReserveTcpPort();
|
||||
int udpPort = ReserveUdpPort();
|
||||
string secretPath = Path.Combine(
|
||||
string secretDirectory = Path.Combine(
|
||||
Path.GetTempPath(),
|
||||
$"rendezvous-smoke-secret-{Guid.NewGuid():N}");
|
||||
Directory.CreateDirectory(secretDirectory);
|
||||
File.SetUnixFileMode(
|
||||
secretDirectory,
|
||||
UnixFileMode.UserRead | UnixFileMode.UserWrite | UnixFileMode.UserExecute);
|
||||
string secretPath = Path.Combine(secretDirectory, "signing-key");
|
||||
await File.WriteAllBytesAsync(secretPath, RandomNumberGenerator.GetBytes(32));
|
||||
File.SetUnixFileMode(secretPath, UnixFileMode.UserRead | UnixFileMode.UserWrite);
|
||||
Process? server = null;
|
||||
Process? smoke = null;
|
||||
try
|
||||
@@ -294,6 +300,7 @@ public sealed class ProductionProcessTests
|
||||
}
|
||||
|
||||
File.Delete(secretPath);
|
||||
Directory.Delete(secretDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user