Add sqlite and s3 job archive backend

Add documentation
Extend config
This commit is contained in:
2025-11-19 17:00:11 +01:00
parent 39a2157d46
commit e1c7583670
9 changed files with 2284 additions and 19 deletions

View File

@@ -12,12 +12,40 @@ var configSchema = `
"kind": {
"description": "Backend type for job-archive",
"type": "string",
"enum": ["file", "s3"]
"enum": ["file", "s3", "sqlite"]
},
"path": {
"description": "Path to job archive for file backend",
"type": "string"
},
"dbPath": {
"description": "Path to SQLite database file for sqlite backend",
"type": "string"
},
"endpoint": {
"description": "S3 endpoint URL (for S3-compatible services like MinIO)",
"type": "string"
},
"accessKey": {
"description": "S3 access key ID",
"type": "string"
},
"secretKey": {
"description": "S3 secret access key",
"type": "string"
},
"bucket": {
"description": "S3 bucket name for job archive",
"type": "string"
},
"region": {
"description": "AWS region for S3 bucket",
"type": "string"
},
"usePathStyle": {
"description": "Use path-style S3 URLs (required for MinIO and some S3-compatible services)",
"type": "boolean"
},
"compression": {
"description": "Setup automatic compression for jobs older than number of days",
"type": "integer"