peppa/openspec/changes/pep-314-go-postgres-stack/tasks.md

18 lines
1.1 KiB
Markdown
Raw 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.

## 1. Песочница агента
- [x] 1.1 Go и PostgreSQL 18 в `infra/runner/Dockerfile`
- [x] 1.2 Дымовой тест `scripts/runner-image.sh` проверяет go, psql, initdb; тест на моке
## 2. Проверки
- [x] 2.1 `template/.gitea/peppa-tools.sh` (go, postgres)
- [x] 2.2 Тест помощника на моках (скачивание Go из file://, кластер из мок-бинарей, повтор)
## 3. Шаблон выкладки
- [x] 3.1 `template/deploy/Dockerfile.go`, `template/deploy/compose.postgres.yml`
- [x] 3.2 `peppa-deploy.sh`: `deploy.database` (пароль в томе, копия перед миграцией, `down -v` превью), `migrate` массивом
- [x] 3.3 mock-docker: volume, run с паролем, compose exec, db-контейнер; тесты в `deploy.test.ts`
## 4. Стандарт и правила
- [ ] 4.1 `docs/standards/default-stack.md` 1.1.0 + копия в шаблоне
- [ ] 4.2 `template/RULES.md`, `template/AGENTS.md`, `docs`
- [ ] 4.3 Проверки платформы, память, archive, PR