Deploy to K8s / deploy (push) Successful in 20s
Go (go/) becomes the primary implementation. The original Python version moves to legacy/ and is kept runnable; new features are still built in both (see the Dual implementation rule in CLAUDE.md). - git mv app.py, scripts/, templates/, tests/, pyproject.toml, uv.lock and build/ into legacy/ - Makefile: Python targets point at legacy/, venv in legacy/.venv, CREDENTIALS_PATH exported for the root .secret/ file - CI and make image build the Python image with legacy/ as context; the Makefile is no longer copied into the image - legacy/.dockerignore moved to the context root so it takes effect - CLAUDE.md, docs/README.md, Go comments, fixture README, capture script and VS Code launch config updated to the new layout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1012 B
JSON
35 lines
1012 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python Debugger: Flask (legacy)",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"module": "flask",
|
|
"python": "${workspaceFolder}/legacy/.venv/bin/python",
|
|
"cwd": "${workspaceFolder}/legacy",
|
|
"env": {
|
|
"FLASK_APP": "app.py",
|
|
"FLASK_DEBUG": "1",
|
|
"CREDENTIALS_PATH": "${workspaceFolder}/.secret/fuj-management-bot-credentials.json"
|
|
},
|
|
"args": [
|
|
"run",
|
|
"--no-debugger",
|
|
"--no-reload",
|
|
"--host", "0.0.0.0",
|
|
"--port", "5001"
|
|
],
|
|
"jinja": true
|
|
},
|
|
{
|
|
"name": "Python Debugger: Attach",
|
|
"type": "debugpy",
|
|
"request": "attach",
|
|
"connect": {
|
|
"host": "localhost",
|
|
"port": 5678
|
|
}
|
|
}
|
|
]
|
|
} |