mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-09-14 02:35:05 +00:00
clean up
This commit is contained in:
+27
-25
@@ -8,39 +8,41 @@
|
||||
.todo
|
||||
|
||||
# Local configuration and secrets
|
||||
.env
|
||||
.env.*
|
||||
routstr_secret.key
|
||||
**/.env
|
||||
**/.env.*
|
||||
**/routstr_secret.key
|
||||
|
||||
# Python environments, caches, and build artifacts
|
||||
.venv
|
||||
__pycache__
|
||||
*.py[cod]
|
||||
.pytest_cache
|
||||
.mypy_cache
|
||||
.ruff_cache
|
||||
.coverage
|
||||
htmlcov
|
||||
*.egg-info
|
||||
build
|
||||
dist
|
||||
**/.venv
|
||||
**/__pycache__
|
||||
**/*.py[cod]
|
||||
**/.pytest_cache
|
||||
**/.mypy_cache
|
||||
**/.ruff_cache
|
||||
**/.coverage
|
||||
**/htmlcov
|
||||
**/*.egg-info
|
||||
**/build
|
||||
**/dist
|
||||
|
||||
# Runtime state must never be baked into the image
|
||||
logs
|
||||
logs.*
|
||||
*.log
|
||||
.wallet
|
||||
.cashu
|
||||
*.db
|
||||
*.db-*
|
||||
*.sqlite3
|
||||
keys
|
||||
proof_backups
|
||||
relay-data
|
||||
**/*.log
|
||||
**/.wallet*
|
||||
**/.cashu
|
||||
**/*.db
|
||||
**/*.db-*
|
||||
**/*.sqlite3
|
||||
**/*.sqlite3-*
|
||||
**/keys
|
||||
**/proof_backups
|
||||
**/relay-data
|
||||
|
||||
# The UI is built by its own service and mounted at runtime
|
||||
ui
|
||||
# The UI output is built by its own service and mounted at runtime
|
||||
ui_out
|
||||
ui/.next
|
||||
ui/out
|
||||
**/node_modules
|
||||
|
||||
# Compose and local development files
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
@@ -12,27 +11,35 @@ def test_backend_docker_context_excludes_generated_and_runtime_state() -> None:
|
||||
}
|
||||
|
||||
required_patterns = {
|
||||
"__pycache__",
|
||||
"*.py[cod]",
|
||||
".pytest_cache",
|
||||
".mypy_cache",
|
||||
".ruff_cache",
|
||||
".coverage",
|
||||
"*.egg-info",
|
||||
"build",
|
||||
"dist",
|
||||
"**/.env",
|
||||
"**/.env.*",
|
||||
"**/routstr_secret.key",
|
||||
"**/.venv",
|
||||
"**/__pycache__",
|
||||
"**/*.py[cod]",
|
||||
"**/.pytest_cache",
|
||||
"**/.mypy_cache",
|
||||
"**/.ruff_cache",
|
||||
"**/.coverage",
|
||||
"**/htmlcov",
|
||||
"**/*.egg-info",
|
||||
"**/build",
|
||||
"**/dist",
|
||||
"logs",
|
||||
"logs.*",
|
||||
".wallet",
|
||||
".cashu",
|
||||
"*.db",
|
||||
"*.db-*",
|
||||
"*.sqlite3",
|
||||
"keys",
|
||||
"proof_backups",
|
||||
"relay-data",
|
||||
"ui",
|
||||
"**/*.log",
|
||||
"**/.wallet*",
|
||||
"**/.cashu",
|
||||
"**/*.db",
|
||||
"**/*.db-*",
|
||||
"**/*.sqlite3",
|
||||
"**/*.sqlite3-*",
|
||||
"**/keys",
|
||||
"**/proof_backups",
|
||||
"**/relay-data",
|
||||
"ui_out",
|
||||
"ui/.next",
|
||||
"ui/out",
|
||||
}
|
||||
|
||||
assert required_patterns <= patterns, (
|
||||
|
||||
Reference in New Issue
Block a user