Skip to content

Commit e6c099b

Browse files
authored
Cleanup smoketest and move k8s to deployment/ (#658)
* Remove run-gunicorn-v2.sh and smoketest2.py Signed-off-by: Mihai Criveti <[email protected]> * Move test files to tests/ Signed-off-by: Mihai Criveti <[email protected]> * Add mcpgateway.sbom.xml to FILES_TO_CLEAN Signed-off-by: Mihai Criveti <[email protected]> * Move k8s to deployment/ Signed-off-by: Mihai Criveti <[email protected]> * Move smoketest.py back for now Signed-off-by: Mihai Criveti <[email protected]> --------- Signed-off-by: Mihai Criveti <[email protected]>
1 parent 33864d3 commit e6c099b

22 files changed

+500
-1590
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ agent_runtimes/
1313
charts/
1414
deployment/
1515
docs/
16-
k8s/
16+
deployment/k8s/
1717
mcp-servers/
1818
tests/
1919
test/

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ FILES_TO_CLEAN := .coverage coverage.xml mcp.prof mcp.pstats \
4141
*.db *.sqlite *.sqlite3 mcp.db-journal *.py,cover \
4242
.depsorter_cache.json .depupdate.* \
4343
grype-results.sarif devskim-results.sarif \
44-
*.tar.gz *.tar.bz2 *.tar.xz *.zip *.deb
44+
*.tar.gz *.tar.bz2 *.tar.xz *.zip *.deb \
45+
*.log mcpgateway.sbom.xml
4546

4647
COVERAGE_DIR ?= $(DOCS_DIR)/docs/coverage
4748
LICENSES_MD ?= $(DOCS_DIR)/docs/test/licenses.md
@@ -2035,7 +2036,7 @@ IMAGE ?= $(IMG):$(TAG) # or IMAGE=ghcr.io/ibm/mcp-context-forge:$(TA
20352036
# help: minikube-port-forward - Run kubectl port-forward -n mcp-private svc/mcp-stack-mcpgateway 8080:80
20362037
# help: minikube-dashboard - Print & (best-effort) open the Kubernetes dashboard URL
20372038
# help: minikube-image-load - Load $(IMAGE) into Minikube container runtime
2038-
# help: minikube-k8s-apply - Apply manifests from k8s/ - access with `kubectl port-forward svc/mcp-context-forge 8080:80`
2039+
# help: minikube-k8s-apply - Apply manifests from deployment/k8s/ - access with `kubectl port-forward svc/mcp-context-forge 8080:80`
20392040
# help: minikube-status - Cluster + addon health overview
20402041
# help: minikube-context - Switch kubectl context to Minikube
20412042
# help: minikube-ssh - SSH into the Minikube VM
@@ -2126,7 +2127,7 @@ minikube-image-load:
21262127

21272128
minikube-k8s-apply:
21282129
@echo "🧩 Applying k8s manifests in ./k8s ..."
2129-
@kubectl apply -f k8s/ --recursive
2130+
@kubectl apply -f deployment/k8s/ --recursive
21302131

21312132
# -----------------------------------------------------------------------------
21322133
# 🔍 Utility: print the current registry URL (host-port) - works after cluster

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ minikube-start - Start local Minikube cluster with Ingress + DNS + metric
19981998
minikube-stop - Stop the Minikube cluster
19991999
minikube-delete - Delete the Minikube cluster
20002000
minikube-image-load - Build and load ghcr.io/ibm/mcp-context-forge:latest into Minikube
2001-
minikube-k8s-apply - Apply Kubernetes manifests from k8s/
2001+
minikube-k8s-apply - Apply Kubernetes manifests from deployment/k8s/
20022002
minikube-status - Show status of Minikube and ingress pods
20032003
🛠️ HELM CHART TASKS
20042004
helm-lint - Lint the Helm chart (static analysis)

deployment/ansible/ibm-cloud/roles/ibm_cloud/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
redis_conn: "{{ redis_key.resource.connection[0].rediss.composed[0] }}"
6363

6464
# 6️⃣ Fetch kubeconfig (CLI) - simplest universal path
65-
- name: Grab kubeconfig for subsequent k8s/helm modules
65+
- name: Grab kubeconfig for subsequent deployment/k8s/helm modules
6666
command: ibmcloud ks cluster config --cluster {{ cluster.resource.id }} --export --json
6767
register: kube_json
6868
changed_when: false
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)