From 97a74e57718e49a6003a43338cb95db3c092ee14 Mon Sep 17 00:00:00 2001 From: Vincent BRIDIER Date: Fri, 10 Jul 2026 11:55:21 +0200 Subject: [PATCH] fix: Update CICD for SSR + Fix composer job --- .gitlab-ci.yml | 8 +------- Dockerfile | 2 +- manifest.yaml | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 801d810..0db86e0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,13 +25,7 @@ composer_vendor: before_script: - composer config gitlab-token.lab.s-web.fr "${GITLAB_USER}" "${GITLAB_PASSWORD}" script: - - composer install \ - --ignore-platform-reqs \ - --no-interaction \ - --no-plugins \ - --no-scripts \ - --no-dev \ - --prefer-dist + - composer install --ignore-platform-reqs --no-interaction --no-plugins --no-scripts --no-dev --prefer-dist artifacts: paths: - vendor/ diff --git a/Dockerfile b/Dockerfile index d847990..3971286 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY --chown=${USER}:${USER} ./resources/favicons/front/ /app/srcs/public/ # FROM CI COPY --chown=${USER}:${USER} vendor/ /app/srcs/vendor/ COPY --chown=${USER}:${USER} public/build/ /app/srcs/public/build/ -COPY --chown=${USER}:${USER} bootstrap/ssr/ssr.js /app/srcs/bootstrap/ssr/ssr.js +COPY --chown=${USER}:${USER} bootstrap/ssr/ /app/srcs/bootstrap/ssr/ # END FROM CI USER root diff --git a/manifest.yaml b/manifest.yaml index a262efa..e603a77 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -35,7 +35,7 @@ spec: command: - /bin/sh - -c - - cp /app/srcs/bootstrap/ssr/ssr.js /shared/ssr.js + - cp /app/srcs/bootstrap/ssr/ /shared/ volumeMounts: - name: ssr-shared mountPath: /shared