53 lines
1.8 KiB
Markdown
53 lines
1.8 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 three 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`.
|
|
|
|
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
|
|
```
|
|
|
|
## License
|
|
|
|
[GNU GPLv3](LICENSE.txt). Copyright (c) [Valentin Popov](mailto:info@valentineus.link).
|