Skip to content

Commit

Permalink
fix: update HTTP port in scripts, bump version to v0.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPokorny committed Jan 10, 2025
1 parent e59c9f2 commit 8960c11
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion k8s/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
image: localhost/bee-code-interpreter:local
ports:
- containerPort: 50051
- containerPort: 8000
- containerPort: 50081
env:
- name: APP_FILE_STORAGE_PATH
value: /storage
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bee-code-interpreter"
version = "0.0.28"
version = "0.0.29"
license = "Apache-2.0"
description = "A gRPC service intended as a backend for an LLM that can run arbitrary pieces of Python code."
authors = [ "Jan Pokorný <jan.pokorny@ibm.com>", "Tomáš Dvořák <tomas.dvorak@ibm.com>" ]
Expand Down
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ docker build -t localhost/bee-code-executor:local executor
kubectl delete -f k8s/local.yaml || true
kubectl apply -f k8s/local.yaml
kubectl wait --for=condition=Ready pod/code-interpreter-service
kubectl port-forward pods/code-interpreter-service 8000:8000 50051:50051 &
kubectl port-forward pods/code-interpreter-service 50081:50081 50051:50051 &
kubectl logs --follow code-interpreter-service
wait
2 changes: 1 addition & 1 deletion test/e2e/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def config():

@pytest.fixture
def http_client():
base_url = "http://localhost:8000"
base_url = "http://localhost:50081"
return httpx.Client(base_url=base_url)


Expand Down

0 comments on commit 8960c11

Please sign in to comment.