docs: Add CI/CD workflow rule - commit and wait
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
20
CLAUDE.md
20
CLAUDE.md
@@ -20,7 +20,25 @@ Never deploy unless user explicitly says: "CLAUDE — DEPLOYMENT IS NOW AUTHORIZ
|
|||||||
### 5. DB POOL ONLY
|
### 5. DB POOL ONLY
|
||||||
Never import `src/db/migrate.ts` at runtime. Use `src/db/pool.ts` for DB access.
|
Never import `src/db/migrate.ts` at runtime. Use `src/db/pool.ts` for DB access.
|
||||||
|
|
||||||
### 6. K8S POD LIMITS — CRITICAL
|
### 6. CI/CD DEPLOYMENT — COMMIT AND WAIT
|
||||||
|
**Never manually deploy or check deployment status.** The project uses Woodpecker CI.
|
||||||
|
|
||||||
|
**Workflow:**
|
||||||
|
1. Make code changes
|
||||||
|
2. `git add` + `git commit`
|
||||||
|
3. `git push origin master`
|
||||||
|
4. **STOP** - CI handles the rest
|
||||||
|
5. Wait for user to confirm deployment worked
|
||||||
|
|
||||||
|
**DO NOT:**
|
||||||
|
- Run `kubectl rollout status` to check deployment
|
||||||
|
- Run `kubectl logs` to verify new code is running
|
||||||
|
- Manually restart pods
|
||||||
|
- Check CI pipeline status
|
||||||
|
|
||||||
|
Just commit, push, and wait for user feedback.
|
||||||
|
|
||||||
|
### 7. K8S POD LIMITS — CRITICAL
|
||||||
**EXACTLY 8 PODS** for `scraper-worker` deployment. NEVER CHANGE THIS.
|
**EXACTLY 8 PODS** for `scraper-worker` deployment. NEVER CHANGE THIS.
|
||||||
|
|
||||||
**Replica Count is LOCKED:**
|
**Replica Count is LOCKED:**
|
||||||
|
|||||||
Reference in New Issue
Block a user