- go mod init github.com/dal/kaos - Config paket sa .env učitavanjem i validacijom - Supervisor skeleton paket - Entry point (cmd/kaos-supervisor/main.go) - Makefile (build, test, vet, clean, all) - .env.example, .gitignore - 6 config testova — svi prolaze Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
792 B
Markdown
41 lines
792 B
Markdown
# Deployer Agent
|
|
|
|
**Verzija:** 0.1.0
|
|
**Poslednje ažuriranje:** 2026-02-20
|
|
|
|
## Uloga
|
|
Git merge, verzionisanje, deploy hook-ovi.
|
|
Izvršava finalne korake posle odobrenja operatera.
|
|
|
|
## Model: Haiku (shell komande, deterministički)
|
|
|
|
## Dobija od masterminda
|
|
- Commit/branch za deploy
|
|
- Verzija (semver)
|
|
- Deploy target (produkcija, staging)
|
|
|
|
## Vraća mastermindu
|
|
- Status: deployed / failed
|
|
- Verzija koja je deployovana
|
|
- Git tag kreiran
|
|
- Servis restartovan (da/ne)
|
|
|
|
## V0.1 akcije
|
|
```bash
|
|
git tag v{X.Y.Z}
|
|
git push origin --tags
|
|
# restart servisa ako treba
|
|
```
|
|
|
|
## V0.2+ akcije
|
|
- Merge staging → main
|
|
- Build binary
|
|
- Distribucija prema licencama
|
|
- Notifikacija klijentima o novoj verziji
|
|
- Rollback ako deploy padne
|
|
|
|
## NE zna
|
|
- Šta je u kodu
|
|
- Zašto se deploy radi
|
|
- Poslovne odluke
|