From e92b0b4e130f129a473c4634e1f35d2c44b5c46f Mon Sep 17 00:00:00 2001 From: fluxcdbot Date: Wed, 13 Nov 2024 23:16:35 +0000 Subject: [PATCH 1/6] ghcr.io/klimatbyran/garbo:3.1.6 --- k8s/api.yaml | 2 +- k8s/pre-deploy/db-migrate.yaml | 2 +- k8s/worker.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/api.yaml b/k8s/api.yaml index 165310bc..4e4b1429 100644 --- a/k8s/api.yaml +++ b/k8s/api.yaml @@ -14,7 +14,7 @@ spec: app: garbo spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.5 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} resources: {} name: garbo ports: diff --git a/k8s/pre-deploy/db-migrate.yaml b/k8s/pre-deploy/db-migrate.yaml index 560ae1dc..6d279746 100644 --- a/k8s/pre-deploy/db-migrate.yaml +++ b/k8s/pre-deploy/db-migrate.yaml @@ -9,7 +9,7 @@ spec: restartPolicy: Never containers: - name: migration - image: ghcr.io/klimatbyran/garbo:3.1.5 # {"$imagepolicy": "flux-system:garbo"} + image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} command: ['npm', 'run', 'migrate'] env: - name: POSTGRES_PASSWORD diff --git a/k8s/worker.yaml b/k8s/worker.yaml index 9b2dbf58..f33c9ca3 100644 --- a/k8s/worker.yaml +++ b/k8s/worker.yaml @@ -14,7 +14,7 @@ spec: app: worker spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.5 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} resources: {} command: ['npm', 'run', 'workers'] name: worker From 6815d006d79d6a2279da76b10ca6f5edf756b43c Mon Sep 17 00:00:00 2001 From: Christian Landgren Date: Thu, 14 Nov 2024 15:09:23 +0100 Subject: [PATCH 2/6] fix: always return a value --- src/workers/nlmParsePDF.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/workers/nlmParsePDF.ts b/src/workers/nlmParsePDF.ts index cbb60d9c..fa84faa2 100644 --- a/src/workers/nlmParsePDF.ts +++ b/src/workers/nlmParsePDF.ts @@ -69,6 +69,7 @@ const nlmParsePDF = new DiscordWorker( } const name = url.slice(-20) + await job.editMessage(`🤖 Tolkar tabeller...`) await flow.add({ ...base, @@ -111,6 +112,7 @@ const nlmParsePDF = new DiscordWorker( cachedMarkdown: markdown, }) } + return true } catch (error) { job.editMessage(`❌ Fel vid nedladdning av PDF: ${error.message}`) throw new UnrecoverableError(`Download Failed: ${error.message}`) From 57dfc5d57d35aa6063f16e1dc71bca21a1df17d2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 Nov 2024 14:09:46 +0000 Subject: [PATCH 3/6] 3.1.7 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 731e2c79..1ec248da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "garbo", - "version": "3.1.6", + "version": "3.1.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "garbo", - "version": "3.1.6", + "version": "3.1.7", "license": "MIT License", "dependencies": { "@bull-board/api": "^6.3.2", diff --git a/package.json b/package.json index 0fc70b08..149b70de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "garbo", - "version": "3.1.6", + "version": "3.1.7", "description": "", "type": "module", "engines": { From 84058bcbf73adab557f09fa9fe28235875a6fb3b Mon Sep 17 00:00:00 2001 From: fluxcdbot Date: Thu, 14 Nov 2024 14:13:15 +0000 Subject: [PATCH 4/6] ghcr.io/klimatbyran/garbo:3.1.7 --- k8s/api.yaml | 2 +- k8s/pre-deploy/db-migrate.yaml | 2 +- k8s/worker.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/api.yaml b/k8s/api.yaml index 4e4b1429..37c89b3b 100644 --- a/k8s/api.yaml +++ b/k8s/api.yaml @@ -14,7 +14,7 @@ spec: app: garbo spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} resources: {} name: garbo ports: diff --git a/k8s/pre-deploy/db-migrate.yaml b/k8s/pre-deploy/db-migrate.yaml index 6d279746..4a3f229d 100644 --- a/k8s/pre-deploy/db-migrate.yaml +++ b/k8s/pre-deploy/db-migrate.yaml @@ -9,7 +9,7 @@ spec: restartPolicy: Never containers: - name: migration - image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} + image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} command: ['npm', 'run', 'migrate'] env: - name: POSTGRES_PASSWORD diff --git a/k8s/worker.yaml b/k8s/worker.yaml index f33c9ca3..581275cd 100644 --- a/k8s/worker.yaml +++ b/k8s/worker.yaml @@ -14,7 +14,7 @@ spec: app: worker spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.6 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} resources: {} command: ['npm', 'run', 'workers'] name: worker From 6e70d2de618e833e69b5b4fe24b6bb007f121845 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 14 Nov 2024 14:17:42 +0000 Subject: [PATCH 5/6] 3.1.8 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1ec248da..8804fa87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "garbo", - "version": "3.1.7", + "version": "3.1.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "garbo", - "version": "3.1.7", + "version": "3.1.8", "license": "MIT License", "dependencies": { "@bull-board/api": "^6.3.2", diff --git a/package.json b/package.json index 149b70de..952b41e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "garbo", - "version": "3.1.7", + "version": "3.1.8", "description": "", "type": "module", "engines": { From e8109beac2f07777e3e06b7c385d3362fc7c6ace Mon Sep 17 00:00:00 2001 From: fluxcdbot Date: Thu, 14 Nov 2024 14:20:52 +0000 Subject: [PATCH 6/6] ghcr.io/klimatbyran/garbo:3.1.8 --- k8s/api.yaml | 2 +- k8s/pre-deploy/db-migrate.yaml | 2 +- k8s/worker.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/api.yaml b/k8s/api.yaml index 37c89b3b..86d89ec4 100644 --- a/k8s/api.yaml +++ b/k8s/api.yaml @@ -14,7 +14,7 @@ spec: app: garbo spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.8 # {"$imagepolicy": "flux-system:garbo"} resources: {} name: garbo ports: diff --git a/k8s/pre-deploy/db-migrate.yaml b/k8s/pre-deploy/db-migrate.yaml index 4a3f229d..72a19933 100644 --- a/k8s/pre-deploy/db-migrate.yaml +++ b/k8s/pre-deploy/db-migrate.yaml @@ -9,7 +9,7 @@ spec: restartPolicy: Never containers: - name: migration - image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} + image: ghcr.io/klimatbyran/garbo:3.1.8 # {"$imagepolicy": "flux-system:garbo"} command: ['npm', 'run', 'migrate'] env: - name: POSTGRES_PASSWORD diff --git a/k8s/worker.yaml b/k8s/worker.yaml index 581275cd..90ccbb33 100644 --- a/k8s/worker.yaml +++ b/k8s/worker.yaml @@ -14,7 +14,7 @@ spec: app: worker spec: containers: - - image: ghcr.io/klimatbyran/garbo:3.1.7 # {"$imagepolicy": "flux-system:garbo"} + - image: ghcr.io/klimatbyran/garbo:3.1.8 # {"$imagepolicy": "flux-system:garbo"} resources: {} command: ['npm', 'run', 'workers'] name: worker