Add hrms app and update branch strategy docs

apps.json:
- Add frappe/hrms @ version-16 (HR & Payroll, ★7.6k)
- Reorder: erpnext → hrms → crm → helpdesk → payments → insights → lms → telephony

DEPLOY.md:
- Add branch strategy table
- Add GitHub Actions workflows section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
abounoone 2026-03-18 09:06:59 +00:00
parent c60ecbbabc
commit 717d19f966
2 changed files with 35 additions and 7 deletions

View file

@ -1,5 +1,27 @@
# Frappe ERP — развёртывание и обновление
## Стратегия обновления приложений
| Приложение | Ветка | Почему |
|------------|-------|--------|
| `frappe` | `version-16` | стабильная ветка мажорной версии |
| `erpnext` | `version-16` | стабильная ветка мажорной версии |
| `hrms` | `version-16` | стабильная ветка мажорной версии |
| `crm` | `main` | нет ветки version-16, main = стабильный |
| `helpdesk` | `main` | нет ветки version-16 |
| `insights` | `main` | v2.x line, v3.x — отдельная мажорная версия |
| `lms` | `main` | нет ветки version-16 |
| `payments` | `develop` | нет релизов, активная разработка |
| `telephony`| `develop` | нет релизов, активная разработка |
**Автоматические обновления** — GitHub Actions каждый понедельник проверяет новые теги
и создаёт PR при наличии обновлений (`.github/workflows/check-app-updates.yml`).
**Автосборка образа** — при merge в `main` с изменениями `apps.json` автоматически
стартует сборка и публикация образа в GHCR (`.github/workflows/build-image.yml`).
---
## Структура репозитория
```
@ -11,6 +33,11 @@ frappe_docker/
├── Makefile ← все команды управления
├── DEPLOY.md ← эта документация
├── .github/
│ └── workflows/
│ ├── check-app-updates.yml ← еженедельная проверка обновлений → PR
│ └── build-image.yml ← сборка образа при изменении apps.json
├── images/
│ ├── layered/Containerfile ← сборка на базе frappe/build (быстро)
│ └── custom/Containerfile ← сборка с нуля (полный контроль)

View file

@ -1,9 +1,10 @@
[
{ "url": "https://github.com/frappe/erpnext", "branch": "version-16" },
{ "url": "https://github.com/frappe/crm", "branch": "main" },
{ "url": "https://github.com/frappe/telephony", "branch": "develop" },
{ "url": "https://github.com/frappe/helpdesk", "branch": "main" },
{ "url": "https://github.com/frappe/payments", "branch": "develop" },
{ "url": "https://github.com/frappe/insights", "branch": "main" },
{ "url": "https://github.com/frappe/lms", "branch": "main" }
{ "url": "https://github.com/frappe/erpnext", "branch": "version-16" },
{ "url": "https://github.com/frappe/hrms", "branch": "version-16" },
{ "url": "https://github.com/frappe/crm", "branch": "main" },
{ "url": "https://github.com/frappe/helpdesk", "branch": "main" },
{ "url": "https://github.com/frappe/payments", "branch": "develop" },
{ "url": "https://github.com/frappe/insights", "branch": "main" },
{ "url": "https://github.com/frappe/lms", "branch": "main" },
{ "url": "https://github.com/frappe/telephony", "branch": "develop" }
]