update cicd

This commit is contained in:
2026-04-02 11:01:30 +00:00
parent 863a0ea2f6
commit 5a7f29c116
54 changed files with 4298 additions and 473 deletions

View File

@@ -11,7 +11,6 @@ type Config struct {
Database DatabaseConfig
Redis RedisConfig
Google GoogleConfig
Frontend FrontendConfig
Email EmailConfig
AWS AWSConfig
Render RenderConfig
@@ -25,7 +24,6 @@ type ServerConfig struct {
}
type RenderConfig struct {
AgentSecret string `mapstructure:"agent_secret"`
EnableMetrics bool `mapstructure:"enable_metrics"`
EnableTracing bool `mapstructure:"enable_tracing"`
OTLPEndpoint string `mapstructure:"otlp_endpoint"`
@@ -53,11 +51,6 @@ type GoogleConfig struct {
StateTTLMinute int `mapstructure:"state_ttl_minutes"`
}
type FrontendConfig struct {
BaseURL string `mapstructure:"base_url"`
GoogleAuthFinalizePath string `mapstructure:"google_auth_finalize_path"`
}
type EmailConfig struct {
From string
// Add SMTP settings here later
@@ -83,7 +76,6 @@ func LoadConfig() (*Config, error) {
v.SetDefault("render.enable_tracing", false)
v.SetDefault("render.service_name", "stream-api-render")
v.SetDefault("google.state_ttl_minutes", 10)
v.SetDefault("frontend.google_auth_finalize_path", "/auth/google/finalize")
v.SetDefault("internal.marker", "")
// Environment variable settings