Skip to content

Commit d4e8045

Browse files
committed
revert name
1 parent 4bebbd2 commit d4e8045

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

.github/workflows/agentex-tutorials-test.yml renamed to .github/workflows/main.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,21 @@ jobs:
5858
pip install "$WHEEL_FILE"
5959
6060
# Verify CLI is available
61-
agentex --version
61+
agentex --help | head -n 5
6262
6363
# Store wheel path for later use if needed
6464
echo "AGENTEX_WHEEL=$WHEEL_FILE" >> $GITHUB_ENV
6565
66+
- name: Debug Docker Hub credentials
67+
run: |
68+
echo "Username exists: ${{ vars.DOCKERHUB_USERNAME != '' }}"
69+
echo "Token exists: ${{ secrets.DOCKERHUB_TOKEN != '' }}"
70+
6671
- name: Login to Docker Hub
6772
uses: docker/login-action@v3
6873
with:
6974
username: ${{ vars.DOCKERHUB_USERNAME }}
70-
password: ${{ secrets.DOCKERHUB_TOKEN }}
75+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
7176

7277
# Set up Docker Buildx
7378
- name: Set up Docker Buildx
@@ -107,7 +112,7 @@ jobs:
107112
108113
run-agentex-tests:
109114
runs-on: ubuntu-latest
110-
if: needs.detect-changes.outputs.changed-tutorials != "run"
115+
if: false # Disabled - not running this job for now
111116
steps:
112117
- name: Checkout code
113118
uses: actions/checkout@v3
@@ -139,7 +144,7 @@ jobs:
139144
pip install "$WHEEL_FILE"
140145
141146
# Verify CLI is available
142-
agentex --version
147+
agentex --help | head -n 5
143148
144149
# Store wheel path for later use if needed
145150
echo "AGENTEX_WHEEL=$WHEEL_FILE" >> $GITHUB_ENV

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
curl -sSf https://rye.astral.sh/get | bash
2222
echo "$HOME/.rye/shims" >> $GITHUB_PATH
2323
env:
24-
RYE_VERSION: '0.44.0'
25-
RYE_INSTALL_OPTION: '--yes'
24+
RYE_VERSION: "0.44.0"
25+
RYE_INSTALL_OPTION: "--yes"
2626

2727
- name: Publish to PyPI
2828
run: |

examples/tutorials/10_agentic/00_base/000_hello_acp/Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,21 @@ RUN uv pip install --system --upgrade pip setuptools wheel
2222

2323
ENV UV_HTTP_TIMEOUT=1000
2424

25-
# Copy just the requirements file to optimize caching
26-
COPY 000_hello_acp/requirements.txt /app/requirements.txt
25+
# Copy pyproject.toml and README.md to install dependencies
26+
COPY 000_hello_acp/pyproject.toml /app/000_hello_acp/pyproject.toml
27+
COPY 000_hello_acp/README.md /app/000_hello_acp/README.md
2728

28-
WORKDIR /app/
29-
30-
# Install the required Python packages
31-
RUN uv pip install --system -r requirements.txt
29+
WORKDIR /app/000_hello_acp
3230

3331
# Copy the project code
34-
COPY 000_hello_acp/project /app/project
32+
COPY 000_hello_acp/project /app/000_hello_acp/project
33+
34+
# Install the required Python packages from pyproject.toml
35+
RUN uv pip install --system .
3536

37+
WORKDIR /app/000_hello_acp
3638
# Set environment variables
3739
ENV PYTHONPATH=/app
3840

3941
# Run the agent using uvicorn
40-
CMD ["uvicorn", "project.acp:acp", "--host", "0.0.0.0", "--port", "8000"]
42+
CMD ["uvicorn", "project.acp:acp", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)