From fba950df20b72b82f0956852f6f7c5630674b6a7 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Thu, 8 Jan 2026 17:05:55 +0100 Subject: [PATCH 1/2] ci: added ci variables to define pod resources --- manifest.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifest.yaml b/manifest.yaml index 284f719..2c5c63d 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -65,6 +65,13 @@ spec: envFrom: - configMapRef: name: ${CI_PROJECT_PATH_SLUG}-config-map + resources: + limits: + cpu: "${APP_CI_CPU_LIMIT}" + memory: "${APP_CI_MEMORY_LIMIT}" + requests: + cpu: "${APP_CI_CPU_REQUEST}" + memory: "${APP_CI_MEMORY_REQUEST}" volumeMounts: - name: storage mountPath: /app/srcs/storage From 54ffd9b57470f1ccbbe586f64b79218227cae0b7 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Fri, 13 Feb 2026 12:50:38 +0100 Subject: [PATCH 2/2] ci: limit jobs history to 1 --- manifest.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifest.yaml b/manifest.yaml index 2c5c63d..22fc23f 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -126,6 +126,8 @@ metadata: name: ${CI_PROJECT_PATH_SLUG}-cronjob spec: schedule: "* * * * *" + successfulJobsHistoryLimit: 1 + failedJobsHistoryLimit: 1 concurrencyPolicy: Forbid jobTemplate: spec: