Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 8s
CLI Tests / test-cli (push) Successful in 10s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m22s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m11s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m13s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 5s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-foundry (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
Smart Contract Tests / deploy-contracts (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 45s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Failing after 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
P2P Network Verification / p2p-verification (push) Successful in 3s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 46s
Staking Tests / test-staking-service (push) Failing after 2s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 21s
API Endpoint Tests / test-api-endpoints (push) Failing after 12m19s
- Changed pytest calls to use `venv/bin/python -m pytest` with explicit config - Added `--rootdir "$PWD"` and `--import-mode=importlib` for consistent imports - Fixed PYTHONPATH to use absolute paths with $PWD prefix - Added smart contract security scanning for Solidity files - Added Circom circuit security checks for ZK proof circuits - Added ZK proof implementation security validation - Added contracts/** to security scanning workflow
143 lines
4.0 KiB
Plaintext
143 lines
4.0 KiB
Plaintext
# AITBC Environment Variables Configuration
|
|
# Copy this file to .env and fill in the actual values
|
|
|
|
# ============================================================================
|
|
# SECURITY - REQUIRED FOR PRODUCTION
|
|
# ============================================================================
|
|
|
|
# JWT Secret for token generation and validation
|
|
# Generate with: python -c 'import secrets; print(secrets.token_urlsafe(32))'
|
|
# WARNING: This MUST be set in production. The application will fail to start without it.
|
|
JWT_SECRET=generate-secure-secret-here
|
|
|
|
# API Key Storage Path for persistent API key storage
|
|
# Default: /var/lib/aitbc/api_keys.json
|
|
API_KEY_STORAGE_PATH=/var/lib/aitbc/api_keys.json
|
|
|
|
# Redis URL for distributed rate limiting
|
|
# Default: redis://localhost:6379/0
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# ============================================================================
|
|
# COORDINATOR API
|
|
# ============================================================================
|
|
|
|
# Coordinator API URL
|
|
COORDINATOR_URL=http://localhost:8011
|
|
|
|
# Client API Key for job submission
|
|
CLIENT_API_KEY=your-client-api-key-here
|
|
|
|
# Admin API Key for administrative operations
|
|
ADMIN_API_KEY=your-admin-api-key-here
|
|
|
|
# Coordinator Port
|
|
COORDINATOR_PORT=8011
|
|
|
|
# ============================================================================
|
|
# BLOCKCHAIN NODE
|
|
# ============================================================================
|
|
|
|
# Blockchain Node URL
|
|
BLOCKCHAIN_URL=http://localhost:8080
|
|
|
|
# Blockchain Data Directory
|
|
BLOCKCHAIN_DATA_DIR=/var/lib/aitbc/blockchain
|
|
|
|
# Blockchain Port
|
|
BLOCKCHAIN_PORT=8080
|
|
|
|
# ============================================================================
|
|
# WALLET DAEMON
|
|
# ============================================================================
|
|
|
|
# Wallet Daemon URL
|
|
WALLET_DAEMON_URL=http://localhost:8081
|
|
|
|
# Wallet Data Directory
|
|
WALLET_DATA_DIR=/var/lib/aitbc/wallet
|
|
|
|
# Wallet Port
|
|
WALLET_PORT=8081
|
|
|
|
# ============================================================================
|
|
# MARKETPLACE
|
|
# ============================================================================
|
|
|
|
# Marketplace URL
|
|
MARKETPLACE_URL=http://localhost:8102
|
|
|
|
# Marketplace Port
|
|
MARKETPLACE_PORT=8102
|
|
|
|
# ============================================================================
|
|
# DATABASE
|
|
# ============================================================================
|
|
|
|
# PostgreSQL Database URL
|
|
DATABASE_URL=postgresql://aitbc:password@localhost:5432/aitbc
|
|
|
|
# PostgreSQL Host
|
|
POSTGRES_HOST=localhost
|
|
|
|
# PostgreSQL Port
|
|
POSTGRES_PORT=5432
|
|
|
|
# PostgreSQL Database Name
|
|
POSTGRES_DB=aitbc
|
|
|
|
# PostgreSQL User
|
|
POSTGRES_USER=aitbc
|
|
|
|
# PostgreSQL Password
|
|
POSTGRES_PASSWORD=your-secure-password-here
|
|
|
|
# ============================================================================
|
|
# MINER MANAGEMENT
|
|
# ============================================================================
|
|
|
|
# Miner API Key for miner operations
|
|
MINER_API_KEY=your-miner-api-key-here
|
|
|
|
# Coordinator URL for miner management
|
|
COORDINATOR_URL=http://localhost:8011
|
|
|
|
# ============================================================================
|
|
# TESTING
|
|
# ============================================================================
|
|
|
|
# Test API Key for E2E tests
|
|
TEST_API_KEY=test-api-key-for-testing-only
|
|
|
|
# Test Coordinator URL
|
|
TEST_COORDINATOR_URL=http://localhost:8011
|
|
|
|
# Test Blockchain URL
|
|
TEST_BLOCKCHAIN_URL=http://localhost:8080
|
|
|
|
# Test Marketplace URL
|
|
TEST_MARKETPLACE_URL=http://localhost:8102
|
|
|
|
# ============================================================================
|
|
# MONITORING
|
|
# ============================================================================
|
|
|
|
# Prometheus URL
|
|
PROMETHEUS_URL=http://localhost:9090
|
|
|
|
# Grafana URL
|
|
GRAFANA_URL=http://localhost:3000
|
|
|
|
# ============================================================================
|
|
# LOGGING
|
|
# ============================================================================
|
|
|
|
# Log Level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
|
LOG_LEVEL=INFO
|
|
|
|
# Log Directory
|
|
LOG_DIR=/var/log/aitbc
|
|
|
|
# Audit Log Directory
|
|
AUDIT_LOG_DIR=/var/log/aitbc/audit
|