Compare commits

...

8 commits

Author SHA1 Message Date
Noix
5b6f979967 Merge branch 'cicd' into 'develop'
fix: 🐛 use bedrock multistage

See merge request ldc-web/projets/regalette!32
2026-10-30 16:58:12 +00:00
Alexis Gousseau
7e809861ae
fix: 🐛 use bedrock multistage 2026-10-30 17:51:38 +01:00
Vincent BRIDIER
6336a3f120 Merge branch 'wordPress-7.1.4' into 'develop'
chore: 📦 bump wordpress to v7.1.4

See merge request ldc-web/projets/regalette!31
2026-10-30 14:58:49 +01:00
Alexis Gousseau
e4a25d54a6
chore: 📦 bump wordpress to v7.1.4 2026-10-30 12:35:34 +01:00
Noah Lancien
2733e62dc3 ci: 👷 Replaced user 33 with 82 2026-10-26 13:53:09 +01:00
Noix
8f435fcbd7 Merge branch 'bump-php-version' into 'develop'
build: bump php version form 8.3 to 8.5

See merge request ldc-web/projets/regalette!30
2026-10-23 10:05:26 +00:00
Jérémy
917ebfc4f9 uwil-production 2026-10-23 11:39:13 +02:00
29cf3b31e1
build: bump php version form 8.3 to 8.5 2026-10-23 11:28:23 +02:00
5 changed files with 654 additions and 387 deletions

View file

@ -1,22 +1,20 @@
include:
- project: "ldc-web/shared-ci"
ref: "main"
file: "security/composer.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "build/composer-bedrock-8.3.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "build/docker-bedrock.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "test/test.yml"
- project: "ldc-web/shared-ci"
ref: "main"
file: "deploy/deploy.yml"
- project: 'ldc-web/shared-ci'
ref: 'main'
file: 'security/security.yml'
- project: 'ldc-web/shared-ci'
ref: 'main'
file: "build/docker-bedrock-multistage.yml"
- project: 'ldc-web/shared-ci'
ref: 'main'
file: 'test/test.yml'
- project: 'ldc-web/shared-ci'
ref: 'main'
file: 'deploy/deploy.yml'
stages:
- security
- build
- test
- deploy
- security
- build
- test
- deploy

View file

@ -1,5 +1,33 @@
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.3:170625-101047
COPY --chown=www-data:www-data . /app/srcs
FROM composer:2.11 AS vendor
ARG GITLAB_USER
ARG GITLAB_PASSWORD
ARG APP_ACF_USER
ARG APP_ACF_PWD
COPY composer.json composer.json
COPY composer.lock composer.lock
RUN composer config gitlab-token.lab.s-web.fr ${GITLAB_USER} ${GITLAB_PASSWORD}
RUN composer config http-basic.connect.advancedcustomfields.com ${APP_ACF_USER} ${APP_ACF_PWD}
RUN composer install \
--no-dev \
--optimize-autoloader \
--classmap-authoritative
ARG PHP_8_5_TAG=latest
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/uwil-production-8.5:${PHP_8_5_TAG}
ARG USER=www-data
COPY --chown=${USER}:${USER} . /app/srcs
COPY --from=vendor --chown=${USER}:${USER} /app/vendor/ /app/srcs/vendor/
COPY --from=vendor --chown=${USER}:${USER} /app/public/wp/ /app/srcs/public/wp/
COPY --from=vendor --chown=${USER}:${USER} /app/public/app/mu-plugins/ /app/srcs/public/app/mu-plugins/
COPY --from=vendor --chown=${USER}:${USER} /app/public/app/plugins/ /app/srcs/public/app/plugins/
COPY --from=vendor --chown=${USER}:${USER} /app/public/app/themes/regalette-theme/ /app/srcs/public/app/themes/regalette-theme/
USER root
RUN chmod -R 755 /app/srcs/public/app/uploads
USER www-data
USER ${USER}

View file

@ -27,20 +27,20 @@
"oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "^2.0",
"roots/wordpress": "^7.0",
"roots/wordpress": "^7.1.4",
"roots/wp-config": "1.0.0",
"uwil/regalette-theme": "^1.3",
"wpengine/advanced-custom-fields-pro": "^6.8",
"wpackagist-plugin/wordpress-seo": "^27.4",
"wpackagist-plugin/wordpress-seo": "^28.8",
"uwil/admin-secure-wp": "^3.1",
"symfony/yaml": "^7.1",
"symfony/yaml": "^8.1",
"ezyang/htmlpurifier": "^4.17"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7.1",
"squizlabs/php_codesniffer": "^3.13",
"roave/security-advisories": "dev-latest",
"automattic/vipwpcs": "^2.3",
"slevomat/coding-standard": "^8.13"
"slevomat/coding-standard": "^8.22",
"automattic/vipwpcs": "^3.1"
},
"config": {
"optimize-autoloader": true,

953
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -82,9 +82,9 @@ spec:
imagePullSecrets:
- name: docker-registry-credentials
securityContext:
runAsUser: 33
runAsGroup: 33
fsGroup: 33
runAsUser: 82
runAsGroup: 82
fsGroup: 82
fsGroupChangePolicy: "OnRootMismatch"
volumes:
- name: storage