fix: include missing tags from default/native consts (#7034)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -11,64 +11,63 @@
|
||||
// integration: Option<AutoscalingIntegration>,
|
||||
|
||||
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'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user