Skip to content
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
11 changes: 1 addition & 10 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ VALIDATOR_PORT=8090
# Port for the TEE service
TEE_PORT=8080

# Port for the VPN service (if needed for credentials mining)
VPN_PORT=3128

# ========== API CONFIGURATION ==========
# API key to protect /monitor endpoints (for validator)
API_KEY=""
Expand Down Expand Up @@ -91,7 +88,7 @@ MASA_TEE_API=https://tee-api.masa.ai
# WORKER_MEMORY_LIMIT=8G
# WORKER_CPU_LIMIT=2
# WORKER_MEMORY_RESERVATION=4G
# WORKER_MEMORY_LIMIT=1
# WORKER_CPU_RESERVATION=1

# ====== MEMORY LIMITS ONLY (16GB RAM) ======
# Use this if you just want to prevent OOM errors but don't want to limit CPU
Expand All @@ -100,12 +97,6 @@ MASA_TEE_API=https://tee-api.masa.ai
# WORKER_MEMORY_LIMIT=8G
# WORKER_MEMORY_RESERVATION=4G

# Cookie Updater Configuration
COOKIES_REMOTE_HOST=<your-remote-host>
COOKIES_REMOTE_USER=azureuser
COOKIES_REMOTE_DIR=/tmp/cookies-upload


# ============ PERMANENT TELEMETRY STORAGE =========
# POSTGRES_HOST=your-postgres-host.example.com
# POSTGRES_PORT=5432
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/docker-build-extra.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
matrix:
include:
- dockerfile: Dockerfile
- dockerfile: Dockerfile.vpn
- dockerfile: Dockerfile.cookies.generator
- dockerfile: Dockerfile.cookies.updater.docker
- dockerfile: Dockerfile.cookies.updater.kubernetes
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests

on:
pull_request:
branches:
- main
push:
branches:
- main

concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]

- name: Run tests
run: pytest -v --tb=short
12 changes: 2 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,21 @@ userstories.md
/bittensor
/protocol/__pycache__
/neurons/__pycache__
.env
nodes.json
*.encrypted
/tests/__pycache__
/protocol/x/__pycache__
/protocol/data_processing/__pycache__
*.pyc
data/*
.DS_Store
/protocol/data_processing/__pycache__
/protocol/data_processing/__pycache__
*.pyc
notebooks/.DS_Store
.conda

config.ovpn
auth.txt
cookies/

.env*
!.env.example

key.pem

*.conf

kubeconfig*.yaml
*.egg-info
6 changes: 0 additions & 6 deletions .vscode/settings.json

This file was deleted.

60 changes: 0 additions & 60 deletions Dockerfile.cookies.generator

This file was deleted.

103 changes: 0 additions & 103 deletions Dockerfile.cookies.updater.docker

This file was deleted.

44 changes: 0 additions & 44 deletions Dockerfile.cookies.updater.kubernetes

This file was deleted.

14 changes: 0 additions & 14 deletions Dockerfile.vpn

This file was deleted.

Loading