Files
ljwx-stock/.claude/settings.local.json
T
brunoandClaude 2e8f92061c feat: Complete CICD implementation with Gitea Actions and Kubernetes deployment
✨ Features:
- Gitea Actions runners registered (docker + kubernetes)
- Complete CICD workflow (.gitea/workflows/cicd.yml)
- Build & test pipeline with parallel execution
- Harbor registry integration (localhost:8443)
- Kubernetes deployment to claude-stock namespace
- K8s to host Ollama connectivity via Node IP
- Comprehensive documentation and deployment scripts

🔧 Components:
- Workflow definitions for build, test, security scan, deploy, smoke test
- K8s manifests: namespace, deployment, service, configmap
- Deploy scripts: deploy-to-k8s.sh, verify-cicd.sh
- Documentation: QUICK_START.md, CICD_DEPLOYMENT_GUIDE.md

📋 Documentation:
- Created .gitea_secrets_setup.md for manual secret configuration
- Updated with Gitea Runners setup instructions

🎯 Next Steps:
1. Create 5 secrets in Gitea UI (see .gitea_secrets_setup.md)
2. Push code to trigger CICD: git push origin main
3. Monitor workflow in: http://192.168.1.83:33000/root/stock/actions
4. Verify K8s deployment: kubectl get pods -n claude-stock

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 14:14:36 +08:00

48 lines
2.0 KiB
JSON

{
"permissions": {
"allow": [
"Bash(mkdir:*)",
"Bash(tree:*)",
"Bash(cat:*)",
"Bash(docker:*)",
"Bash(docker-compose:*)",
"Bash(pip install:*)",
"Bash(python3:*)",
"Bash(find:*)",
"Bash(lsof:*)",
"Bash(xargs -r kill -9 lsof -i :5432)",
"Bash(xargs -r kill -9 lsof -i :8000)",
"Bash(xargs -r kill -9 lsof -i :8080)",
"Bash(xargs:*)",
"Bash(netstat:*)",
"Bash(sudo killall:*)",
"Bash(curl:*)",
"Bash(echo:*)",
"Bash(timeout 120 curl:*)",
"Bash(git -C /root/work/stock log --oneline -10)",
"Bash(/dev/null)",
"Bash(python:*)",
"Bash(pip3 install:*)",
"Bash(npm install)",
"Bash(npm run build:*)",
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(git push:*)",
"Bash(stock_backend:latest)",
"Bash(__NEW_LINE__ echo \"=== Testing AAPL (Stock) ===\" curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"AAPL\"\"\"\"}')",
"Bash(__NEW_LINE__ echo \"=== Testing AAPL (US Stock) ===\" curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"AAPL\"\"\"\"}')",
"Bash(__NEW_LINE__ echo \"=== Git Status ===\" git log --oneline -5 git status)",
"Bash(__NEW_LINE__ echo \"=== Git Log ===\" git log --oneline -3)",
"Bash(__NEW_LINE__ curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"AAPL\"\"\"\"}')",
"Bash(__NEW_LINE__ curl -s -X POST http://localhost:8001/api/collab/recommend -H \"Content-Type: application/json\" -d '{\"\"\"\"symbol\"\"\"\": \"\"\"\"EURUSD=X\"\"\"\"}')",
"Bash(timeout:*)",
"Bash(kubectl cluster-info:*)",
"Bash(chmod:*)",
"Bash(git reset:*)",
"Bash(export GITEA_RUNNER_TOKEN=e9udfPmR6PsKbTXNRY61fMiGpmVBXv1PRKhbTfPD)"
],
"deny": [],
"ask": []
}
}