chore: working on preparations for deployment
This commit is contained in:
+2
-2
@@ -22,7 +22,7 @@ services:
|
||||
- DiscordNotificationOptions__MessageFormat="${DISCORD_NOTIFICATION_MESSAGE_FORMAT}"
|
||||
- SeqOptions__ServerUrl=${SEQ_SERVER_URL}
|
||||
- SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER}
|
||||
- SeqOptions__ApiKey=${SEQ_API_KEY}
|
||||
- SeqOptions__ApiKey=${SEQ_WEBHOOK_API_KEY}
|
||||
- DOTNET_ENVIRONMENT=Production
|
||||
worker:
|
||||
container_name: steves-bot-worker
|
||||
@@ -36,5 +36,5 @@ services:
|
||||
- DiscordClientOptions__Intents=${DISCORD_INTENTS}
|
||||
- SeqOptions__ServerUrl=${SEQ_SERVER_URL}
|
||||
- SeqOptions__ApiKeyHeader=${SEQ_API_KEY_HEADER}
|
||||
- SeqOptions__ApiKey=${SEQ_API_KEY}
|
||||
- SeqOptions__ApiKey=${SEQ_WORKER_API_KEY}
|
||||
- DOTNET_ENVIRONMENT=Production
|
||||
|
||||
@@ -13,6 +13,7 @@ global using StevesBot.Library.Discord.Common;
|
||||
global using StevesBot.Library.Discord.Rest;
|
||||
global using StevesBot.Library.Discord.Rest.Requests;
|
||||
global using StevesBot.Library.Telemetry;
|
||||
global using StevesBot.Webhook.Telemetry;
|
||||
global using StevesBot.Webhook.YouTube;
|
||||
global using StevesBot.Webhook.YouTube.Data;
|
||||
global using StevesBot.Webhook.YouTube.Handlers;
|
||||
|
||||
@@ -63,7 +63,7 @@ public class HostExtensionsTests
|
||||
.NotBeNull();
|
||||
}
|
||||
|
||||
private class TestInstrumentation : IInstrumentation
|
||||
private sealed class TestInstrumentation : IInstrumentation
|
||||
{
|
||||
public string SourceName { get; } = "TestSource";
|
||||
public string SourceVersion { get; } = "1.0.0";
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace StevesBot.Worker.Tests.Unit;
|
||||
|
||||
public sealed class DiscordGatewayClientTests : IDisposable
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace StevesBot.Worker.Tests.Unit;
|
||||
|
||||
public sealed class StevesBotWorkerInstrumentationTests : IDisposable
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
global using System.Diagnostics;
|
||||
global using System.Net.WebSockets;
|
||||
global using System.Text;
|
||||
global using System.Text.Json;
|
||||
|
||||
Reference in New Issue
Block a user