fix: Update CICD for SSR + Fix composer job
This commit is contained in:
parent
8cef812ff5
commit
97a74e5771
3 changed files with 3 additions and 9 deletions
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue