Skip to content

Commit 59cb380

Browse files
committed
Cleanup devcontainer, add smoketest to makefile
Signed-off-by: Mihai Criveti <[email protected]>
1 parent 409b23c commit 59cb380

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
},
2626
"remoteEnv": {
2727
"MCPGATEWAY_DEV_MODE": "true",
28-
"VENV_DIR": "/Users/mg/.venv/mcpgateway"
28+
"VENV_DIR": "$HOME/.venv/mcpgateway"
2929
}
3030
}

.devcontainer/postCreateCommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fi
1111
make install-dev
1212

1313
# Run tests to verify setup
14-
make test
14+
# make test
1515

1616
echo "Devcontainer setup complete."
1717

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ check-env:
125125
# help: serve-ssl - Run Gunicorn behind HTTPS on :4444 (uses ./certs)
126126
# help: dev - Run fast-reload dev server (uvicorn)
127127
# help: run - Execute helper script ./run.sh
128+
# help: smoketest - Run smoketest.py --verbose (build container, add MCP server, test endpoints)
128129
# help: test - Run unit tests with pytest
129130
# help: test-curl - Smoke-test API endpoints with curl script
130131
# help: pytest-examples - Run README / examples through pytest-examples
@@ -159,6 +160,11 @@ certs: ## Generate ./certs/cert.pem & ./certs/key.pem
159160
chmod 640 certs/key.pem
160161

161162
## --- Testing -----------------------------------------------------------------
163+
smoketest:
164+
@echo "🚀 Running smoketest…"
165+
@./smoketest.py --verbose || { echo "❌ Smoketest failed!"; exit 1; }
166+
@echo "✅ Smoketest passed!"
167+
162168
test:
163169
@echo "🧪 Running tests..."
164170
@test -d "$(VENV_DIR)" || make venv

0 commit comments

Comments
 (0)