Skip to content

Commit b4ef4b5

Browse files
committed
try the other acp url
1 parent 5462ed0 commit b4ef4b5

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

β€Ž.github/workflows/integration-tests.ymlβ€Ž

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
echo "🐳 Using image: ghcr.io/scaleapi/scale-agentex-python/tutorial-agents/00_sync-000_hello_acp:latest"
5151
5252
# Start the agent container
53+
5354
docker run -d --name agent-test-s000-hello-acp \
5455
-e AGENT_NAME=s000-hello-acp \
55-
-e ACP_URL=http://localhost \
56+
-e ACP_URL=http://agent-test-s000-hello-acp:8000 \
5657
-e ACP_PORT=8000 \
5758
-e ACP_TYPE=sync \
5859
-e AGENTEX_BASE_URL=http://agentex:5003 \
@@ -90,6 +91,24 @@ jobs:
9091
- name: Run agent tests with retry
9192
run: |
9293
echo "πŸ§ͺ Running pytest tests against the agent..."
94+
95+
echo "πŸ”— Testing connectivity from agentex container to agent..."
96+
echo "πŸ“‘ From agentex container, try to reach agent:"
97+
docker exec agentex curl -v http://agent-test-s000-hello-acp:8000
98+
echo "πŸ₯ From agentex container, try to reach agent health endpoint:"
99+
docker exec agentex curl -v http://agent-test-s000-hello-acp:8000/health
100+
101+
echo "πŸ”— Testing connectivity from agent container to agentex..."
102+
echo "πŸ“‘ From agent container, try to reach agentex:"
103+
docker exec agent-test-s000-hello-acp curl -v http://agentex:5003
104+
echo "πŸ₯ From agent container, try to reach agentex health endpoint:"
105+
docker exec agent-test-s000-hello-acp curl -v http://agentex:5003/health
106+
107+
echo "πŸ”— Testing basic network connectivity (ping)..."
108+
echo "πŸ“ Ping from agentex to agent:"
109+
docker exec agentex ping -c 3 agent-test-s000-hello-acp
110+
echo "πŸ“ Ping from agent to agentex:"
111+
docker exec agent-test-s000-hello-acp ping -c 3 agentex
93112
MAX_ATTEMPTS=2
94113
ATTEMPT=1
95114
SUCCESS=false

β€Žagentex/Dockerfileβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ FROM base AS dev
3232
RUN uv sync --group dev
3333

3434
COPY agentex/src/ ./src/
35-
COPY agentex/tests/ ./tests/
36-
COPY agentex/pyproject.toml ./pyproject.toml
3735
EXPOSE 5003
3836
ENV PYTHONPATH=/app
3937
CMD ["ddtrace-run", "uvicorn", "src.api.app:app", "--host", "0.0.0.0", "--port", "5003", "--reload"]

0 commit comments

Comments
Β (0)