Skip to content

Cleanup tests #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 65 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,67 @@
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.pdb
*.egg-info/
.eggs/
*.egg
*.log

# Node/Bun/JS/TS
node_modules/
bun.lockb
npm-debug.log
yarn-error.log
.pnpm-debug.log
agent-tools-ts/node_modules/
agent-tools-ts/.next/
agent-tools-ts/dist/
agent-tools-ts/.turbo/
agent-tools-ts/.bun/

# General
.DS_Store
.env
agent-tools-ts/.env
.env.*
*.swp
*.swo
*.bak
*.tmp
*.orig
*.old

# Git
.git
agent-tools-ts/.git
.gitmodules
.gitignore

# Docker
Dockerfile
.dockerignore

# VSCode/Editor
.vscode/
.idea/
*.code-workspace

# Test/Cache/Build Artifacts
.pytest_cache/
.ruff_cache/
*.coverage
coverage.*
htmlcov/
dist/
build/
*.spec

# Documentation
*.md
docs/
README.md

# Misc
*.sqlite3
*.db
*.pid
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
interval: "daily"
target-branch: "staging"
groups:
dev-dependencies:
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

22 changes: 18 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,27 @@ FROM public.ecr.aws/docker/library/python:3.13

WORKDIR /usr/src/app

# Install Python dependencies
RUN pip install uv
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN uv pip install --system --no-cache-dir -r requirements.txt

# Install Bun
RUN curl -fsSL https://bun.sh/install | bash

# Set Bun path for this shell
ENV PATH="/root/.bun/bin:${PATH}"

# Install JS/TS dependencies efficiently
WORKDIR /usr/src/app/agent-tools-ts

# Copy only dependency files first for better caching
COPY agent-tools-ts/package.json agent-tools-ts/bun.lock ./
RUN bun install

# Now copy the rest of the code
COPY . .

RUN curl -fsSL https://bun.sh/install | bash
RUN cp /root/.bun/bin/bun /usr/local/bin/bun
RUN cd /usr/src/app/agent-tools-ts/ && bun install
WORKDIR /usr/src/app

CMD [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000" ]
1 change: 0 additions & 1 deletion backend/abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
AgentBase,
AgentCreate,
AgentFilter,
AgentWithWalletTokenDTO,
ChainState,
ChainStateBase,
ChainStateCreate,
Expand Down
1 change: 0 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

logger = configure_logger(__name__)

# Load environment variables first
load_dotenv()


Expand Down
Loading