From 1ea59f7cb5917deacbddc2e211e58126a0b733bd Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 24 Oct 2023 10:10:15 +0200 Subject: [PATCH] fix: sort arg infos on the client-side --- benchmarks/pulumi/index.ts | 10 +++++----- frontend/src/lib/components/JobArgs.svelte | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/pulumi/index.ts b/benchmarks/pulumi/index.ts index 0aa66ebee7..bf4acd9959 100644 --- a/benchmarks/pulumi/index.ts +++ b/benchmarks/pulumi/index.ts @@ -118,7 +118,7 @@ const db = new aws.rds.Instance("bench", { dbName: "windmill", engine: "postgres", engineVersion: "14.8", - instanceClass: "db.m5d.large", + instanceClass: "db.t4g.2xlarge", password: "postgres", skipFinalSnapshot: true, username: "postgres", @@ -261,7 +261,7 @@ db.address.apply((address) => { containerDefinitions: JSON.stringify([ { name: "windmill-worker", - image: "ghcr.io/windmill-labs/windmill-ee:latest", + image: "ghcr.io/windmill-labs/windmill-ee:190.2", cpu: 1024, memory: 1800, essential: true, @@ -312,7 +312,7 @@ db.address.apply((address) => { containerDefinitions: JSON.stringify([ { name: "windmill-worker", - image: "ghcr.io/windmill-labs/windmill-ee:latest", + image: "ghcr.io/windmill-labs/windmill-ee:1.190.2", cpu: 1024, memory: 1800, essential: true, @@ -364,7 +364,7 @@ db.address.apply((address) => { containerDefinitions: JSON.stringify([ { name: "windmill-server", - image: "ghcr.io/windmill-labs/windmill-ee:latest", + image: "ghcr.io/windmill-labs/windmill-ee:1.190.2", cpu: 1024, memory: 1024, essential: true, @@ -437,7 +437,7 @@ db.address.apply((address) => { const service_worker2 = new aws.ecs.Service("service-worker-2", { cluster: cluster.id, taskDefinition: worker_td2.arn, - desiredCount: 20, + desiredCount: 3, forceNewDeployment: true, orderedPlacementStrategies: [ { diff --git a/frontend/src/lib/components/JobArgs.svelte b/frontend/src/lib/components/JobArgs.svelte index 529c5d464f..5f9f04dde0 100644 --- a/frontend/src/lib/components/JobArgs.svelte +++ b/frontend/src/lib/components/JobArgs.svelte @@ -69,7 +69,7 @@ ${Object.entries(args) {#if args && Object.keys(args).length > 0} - {#each Object.entries(args) as [arg, value]} + {#each Object.entries(args).sort((a, b) => a[0].localeCompare(b[0])) as [arg, value]} {arg}