diff --git a/backend/windmill-common/src/worker.rs b/backend/windmill-common/src/worker.rs index 627dcec486..8d03be0bc9 100644 --- a/backend/windmill-common/src/worker.rs +++ b/backend/windmill-common/src/worker.rs @@ -168,6 +168,7 @@ lazy_static::lazy_static! { "powershell".to_string(), "nativets".to_string(), "mysql".to_string(), + "oracledb".to_string(), "bun".to_string(), "postgresql".to_string(), "bigquery".to_string(), @@ -196,7 +197,9 @@ lazy_static::lazy_static! { "snowflake".to_string(), "mssql".to_string(), "bigquery".to_string(), + "oracledb".to_string(), "duckdb".to_string(), + // for related places search: ADD_NEW_LANG ]; pub static ref DEFAULT_TAGS_PER_WORKSPACE: AtomicBool = AtomicBool::new(false); diff --git a/frontend/src/lib/components/worker_group.ts b/frontend/src/lib/components/worker_group.ts index 298e9473bf..65879647ea 100644 --- a/frontend/src/lib/components/worker_group.ts +++ b/frontend/src/lib/components/worker_group.ts @@ -11,64 +11,63 @@ // integration: Option, export type AutoscalingConfig = { - enabled: boolean - min_workers: number - max_workers: number - cooldown_seconds?: number - inc_scale_num_jobs_waiting?: number - full_scale_cooldown_seconds?: number - full_scale_jobs_waiting?: number - dec_scale_occupancy_rate?: number - inc_scale_occupancy_rate?: number - inc_num_workers?: number - integration?: AutoscalingIntegration - custom_tags?: string[] + enabled: boolean + min_workers: number + max_workers: number + cooldown_seconds?: number + inc_scale_num_jobs_waiting?: number + full_scale_cooldown_seconds?: number + full_scale_jobs_waiting?: number + dec_scale_occupancy_rate?: number + inc_scale_occupancy_rate?: number + inc_num_workers?: number + integration?: AutoscalingIntegration + custom_tags?: string[] } - export type AutoscalingIntegration = AutoscaleScript | AutoscaleDryRun | AutoscaleKubernetes export type AutoscaleScript = { - type: 'script' - tag?: string - path: string + type: 'script' + tag?: string + path: string } export type AutoscaleDryRun = { - type: 'dryrun' + type: 'dryrun' } export type AutoscaleKubernetes = { - type: 'kubernetes' + type: 'kubernetes' } export const defaultTags = [ - 'deno', - 'python3', - 'go', - 'bash', - 'powershell', - 'dependency', - 'flow', - 'other', - 'bun', - 'php', - 'rust', - 'ansible', - 'csharp', - 'nu', - 'java', - 'ruby' - // for related places search: ADD_NEW_LANG - + 'deno', + 'python3', + 'go', + 'bash', + 'powershell', + 'dependency', + 'flow', + 'other', + 'bun', + 'php', + 'rust', + 'ansible', + 'csharp', + 'nu', + 'java', + 'ruby' + // for related places search: ADD_NEW_LANG ] export const nativeTags = [ - 'nativets', - 'postgresql', - 'mysql', - 'graphql', - 'snowflake', - 'mssql', - 'bigquery', - 'oracledb' + 'nativets', + 'postgresql', + 'mysql', + 'graphql', + 'snowflake', + 'mssql', + 'bigquery', + 'oracledb', + 'duckdb' ]