ci: remove old .gitea workflows - use .forgejo only
The .gitea/ workflows were outdated and caused conflicts: - Used runs-on: rust, golang (non-existent runners) - Complex docker:27-cli setup with TLS (fragile) - Different secret variable names (FORGEJO_REGISTRY_TOKEN vs REGISTRY_PAT) - No tests before build .forgejo/workflows/build.yaml is the clean, working version: - Simplified docker commands - Proper runner: docker - Tests run first - Cleanup on failure - No hanging processes
This commit is contained in:
@@ -1,109 +0,0 @@
|
||||
{
|
||||
"events": [
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:00Z",
|
||||
"level": "ERROR",
|
||||
"message": "failed to connect to database",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"error_code": "CONNECTION_TIMEOUT",
|
||||
"error_message": "connection refused after 5000ms",
|
||||
"stack_trace": "at Database.connect (src/db.rs:45)\nat Server.init (src/main.rs:123)",
|
||||
"attempt": 1,
|
||||
"max_attempts": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:01Z",
|
||||
"level": "INFO",
|
||||
"message": "attempting reconnection strategy exponential_backoff",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"strategy": "exponential_backoff",
|
||||
"initial_delay_ms": 100,
|
||||
"max_delay_ms": 30000,
|
||||
"backoff_multiplier": 2.0
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:02Z",
|
||||
"level": "DEBUG",
|
||||
"message": "opening new connection pool",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"pool_size": 10,
|
||||
"min_idle": 2,
|
||||
"max_lifetime_seconds": 3600,
|
||||
"idle_timeout_seconds": 600
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:03Z",
|
||||
"level": "TRACE",
|
||||
"message": "acquiring connection from pool",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"available_connections": 8,
|
||||
"waiting_requests": 0,
|
||||
"pool_stats": {
|
||||
"created": 10,
|
||||
"reused": 1234,
|
||||
"destroyed": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:04Z",
|
||||
"level": "DEBUG",
|
||||
"message": "connection timeout after 5000ms",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"timeout_ms": 5000,
|
||||
"elapsed_ms": 5023,
|
||||
"reason": "no available connections"
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:05Z",
|
||||
"level": "ERROR",
|
||||
"message": "failed to connect to database",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"error": "connection timeout",
|
||||
"details": {
|
||||
"host": "memory-db.poimen.svc.cluster.local",
|
||||
"port": 5432,
|
||||
"database": "memory",
|
||||
"username": "app_user"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"timestamp": "2024-08-20T12:00:06Z",
|
||||
"level": "INFO",
|
||||
"message": "retrying with exponential backoff",
|
||||
"context": {
|
||||
"service": "api-server",
|
||||
"instance": "pod-abc123",
|
||||
"attempt": 1,
|
||||
"max_attempts": 3,
|
||||
"delay_ms": 100,
|
||||
"next_retry": "2024-08-20T12:00:06.100Z"
|
||||
}
|
||||
}
|
||||
],
|
||||
"summary": {
|
||||
"total_events": 7,
|
||||
"errors": 2,
|
||||
"warnings": 0,
|
||||
"info": 2,
|
||||
"debug": 2,
|
||||
"trace": 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user