You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1014 B
1014 B
ADR-0001 — Struktur Monorepo server-connection
Tanggal: 2025-xx-xx Status: Accepted
Konteks
Perlu mengelola beberapa aplikasi IT internal (geonet-console, databaselist, sqlservercheck), skrip deploy, dan skrip infrastruktur (MikroTik, SSH) dalam satu repositori.
Keputusan
Menggunakan monorepo dengan struktur folder per-aplikasi:
server-connection/
├── geonet-console/
├── databaselist/
├── sqlservercheck/
├── scripts/
└── server/
Alasan
- Semua aplikasi dikelola oleh satu tim IT kecil
- Deploy scripts saling terkait (SSH ke server yang sama)
- Mudah cross-reference antara app code dan infra scripts
- Tidak perlu manage banyak repo untuk skala tim kecil
Alternatif Ditolak
- Polyrepo (repo terpisah per app): Terlalu banyak overhead untuk tim kecil, sync deploy scripts jadi sulit
Konsekuensi
- Semua perubahan ada di satu commit history
- Harus hati-hati agar
.envtidak masuk ke satu folder yang salah saat deploy