Moodle Plugin CI / Test (Moodle 5.2.2, PHP 8.4, mysql) (push) Successful in 3m1s
Moodle Plugin CI / Test (Moodle 4.5.13, PHP 8.1.34, postgresql) (push) Successful in 2m56s
Moodle Plugin CI / Test (Moodle 5.0.9, PHP 8.2.33, postgresql) (push) Successful in 3m9s
Moodle Plugin CI / Test (Moodle 5.1.6, PHP 8.2.33, postgresql) (push) Successful in 3m2s
Moodle Plugin CI / Test (Moodle 5.2.2, PHP 8.4, postgresql) (push) Successful in 3m31s
73 lines
2.6 KiB
Markdown
73 lines
2.6 KiB
Markdown
# Moodle Webhooks
|
|
|
|
`local_webhooks` is a Moodle local plugin under active modernization.
|
|
|
|
## Status
|
|
|
|
[Gitea](https://code.popov.link/moodle/local_webhooks) is the source of truth. GitHub is intentionally a stale mirror.
|
|
|
|
The `develop` branch is unreleased modernization work toward `6.0.0` and is not production-ready. Synchronous delivery and the legacy administration/configuration UI are disabled, so this branch sends no webhook requests.
|
|
|
|
## Current CI baseline
|
|
|
|
Gitea Actions currently runs five blocking compatibility checks:
|
|
|
|
- Moodle `5.2.2` on PHP `8.4` with PostgreSQL `16`;
|
|
- Moodle `5.2.2` on PHP `8.4` with MySQL `8.4`;
|
|
- Moodle `4.5.13` LTS on PHP `8.1.34` with PostgreSQL `16`;
|
|
- Moodle `5.0.9` on PHP `8.2.33` with PostgreSQL `16`;
|
|
- Moodle `5.1.6` on PHP `8.2.33` with PostgreSQL `16`.
|
|
|
|
This is an incremental development baseline, not the final support matrix.
|
|
|
|
Run the same checks from the repository root with Docker:
|
|
|
|
PostgreSQL:
|
|
|
|
```bash
|
|
export COMPOSE_PROJECT_NAME=local_webhooks_local_postgresql
|
|
docker compose build --pull ci
|
|
docker compose up --abort-on-container-exit --exit-code-from ci ci
|
|
docker compose down --volumes --remove-orphans --rmi local
|
|
```
|
|
|
|
MySQL:
|
|
|
|
```bash
|
|
export COMPOSE_PROJECT_NAME=local_webhooks_local_mysql
|
|
docker compose --profile mysql build --pull ci-mysql
|
|
docker compose --profile mysql up --abort-on-container-exit --exit-code-from ci-mysql ci-mysql
|
|
docker compose --profile mysql down --volumes --remove-orphans --rmi local
|
|
```
|
|
|
|
Moodle 4.5 LTS with PostgreSQL:
|
|
|
|
```bash
|
|
export COMPOSE_PROJECT_NAME=local_webhooks_local_moodle45_postgresql
|
|
docker compose --profile moodle45 build --pull ci-moodle45
|
|
docker compose --profile moodle45 up --abort-on-container-exit --exit-code-from ci-moodle45 ci-moodle45
|
|
docker compose --profile moodle45 down --volumes --remove-orphans --rmi local
|
|
```
|
|
|
|
Moodle 5.0 with PostgreSQL:
|
|
|
|
```bash
|
|
export COMPOSE_PROJECT_NAME=local_webhooks_local_moodle50_postgresql
|
|
docker compose --profile moodle50 build --pull ci-moodle50
|
|
docker compose --profile moodle50 up --abort-on-container-exit --exit-code-from ci-moodle50 ci-moodle50
|
|
docker compose --profile moodle50 down --volumes --remove-orphans --rmi local
|
|
```
|
|
|
|
Moodle 5.1 with PostgreSQL:
|
|
|
|
```bash
|
|
export COMPOSE_PROJECT_NAME=local_webhooks_local_moodle51_postgresql
|
|
docker compose --profile moodle51 build --pull ci-moodle51
|
|
docker compose --profile moodle51 up --abort-on-container-exit --exit-code-from ci-moodle51 ci-moodle51
|
|
docker compose --profile moodle51 down --volumes --remove-orphans --rmi local
|
|
```
|
|
|
|
## License
|
|
|
|
[GNU GPLv3](LICENSE.txt). Copyright (c) [Valentin Popov](mailto:info@valentineus.link).
|