From 2e8083bb0a7f9dbabc4cddb643313342bb0e11e3 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 14 Jan 2025 14:56:28 +0100 Subject: [PATCH] ci: fix manifest.yaml --- manifest.yaml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/manifest.yaml b/manifest.yaml index 57bda240..762b4c19 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -73,34 +73,34 @@ spec: app: ${CI_PROJECT_PATH_SLUG}-app spec: containers: - - name: ${CI_PROJECT_PATH_SLUG}-container - image: $IMAGE_TAG - envFrom: - - configMapRef: - name: ${CI_PROJECT_PATH_SLUG}-config-map - volumeMounts: - - name: storage - mountPath: /app/srcs/storage - - name: ${CI_PROJECT_PATH_SLUG}-queue-worker + - name: ${CI_PROJECT_PATH_SLUG}-container image: $IMAGE_TAG - lifecycle: - preStop: - exec: - command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"] - resources: - limits: - memory: 512Mi - cpu: "1" - command: - - "bash" - args: - - "k8s-queues.sh" envFrom: - configMapRef: name: ${CI_PROJECT_PATH_SLUG}-config-map volumeMounts: - name: storage mountPath: /app/srcs/storage + - name: ${CI_PROJECT_PATH_SLUG}-queue-worker + image: $IMAGE_TAG + lifecycle: + preStop: + exec: + command: ["/bin/sh","-c","kill -s TERM 1; while test $(ps ax | grep -v grep | grep bash | wc -l) -gt 0; do sleep 2s; done"] + resources: + limits: + memory: 512Mi + cpu: "1" + command: + - "bash" + args: + - "k8s-queues.sh" + envFrom: + - configMapRef: + name: ${CI_PROJECT_PATH_SLUG}-config-map + volumeMounts: + - name: storage + mountPath: /app/srcs/storage imagePullSecrets: - name: docker-registry-credentials securityContext: