sozsoft-platform/configs/change-logs/README.md
2026-08-17 11:51:46 +03:00

18 lines
769 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# change-logs
`change-logs.json` git tag'lerinden üretilir ve API konteynerine salt okunur
mount edilir (`/etc/api/change-logs`). İmaja gömülmez.
- Üretim: `bash configs/change-logs/generate-change-logs.sh`
- Deploy akışında otomatik çağrılır: `configs/deployment/scripts/deploy/app.sh`
- Okuyan taraf: `ChangeLogStartupService` (uygulama açılışında `Sas_H_ChangeLog`
tablosunu bu dosyayla eşitler)
Bu klasör API build context'inin dışındadır; böylece yeni bir tag atmak API imajını
yeniden derletmez, docker cache'i bozulmaz.
Farklı bir yol kullanılacaksa `App:ChangeLogsPath` (env: `App__ChangeLogsPath`)
ayarı ile ezilebilir.
`change-logs.json` `.gitignore`'dadır; deploy'daki `git pull` ile çakışmaması için
takip edilmez.