feat: add wordpress site variant

This commit is contained in:
bisco
2026-06-25 07:36:25 +02:00
parent cae9180bc6
commit c66dd7e511
46 changed files with 2091 additions and 136 deletions
+11 -7
View File
@@ -4,9 +4,9 @@ Edit this file for each repository.
## Project identity
Project name: `CHANGE_ME`
Project description: `CHANGE_ME`
Primary language/runtime: `CHANGE_ME`
Project name: `Azione!Lab WordPress`
Project description: `Single-page WordPress website for a contemporary theatre workshop.`
Primary language/runtime: `PHP 8.3 and WordPress 7`
## Project mode
@@ -14,7 +14,6 @@ Choose one:
```text
project_mode: personal
project_mode: work
```
Rules:
@@ -29,8 +28,6 @@ Enable only the profiles that apply to this repository:
```text
enabled_profiles:
- docker
- ansible
- python
```
## Branching model
@@ -77,7 +74,14 @@ All tests MUST be executed inside Docker containers.
Configure the canonical test command for this repository:
```bash
CHANGE_ME
docker compose run --rm --no-deps wordpress php -l /opt/azionelab/theme/functions.php
docker compose run --rm --no-deps wordpress php -l /opt/azionelab/theme/front-page.php
docker compose run --rm --no-deps wordpress php -l /opt/azionelab/azionelab-content.php
docker compose run --rm --no-deps proxy nginx -t
docker compose -f docker-compose.yml -f docker-compose.test.yml up --build -d db wordpress proxy
docker compose -f docker-compose.yml -f docker-compose.test.yml --profile tools run --rm wp-cli /scripts/bootstrap.sh
docker compose -f docker-compose.yml -f docker-compose.test.yml --profile test run --build --rm functional-tests
docker compose config --quiet
```
Examples: