4b6817381b
Benchmark image — build + push to ECR (any adapter) / build + push (push) Waiting to run
CI / quality (ubuntu-latest) (push) Waiting to run
CI / test (tools-runtime) (push) Waiting to run
CI / test (e2e-general) (push) Waiting to run
CI / test (cli-runtime) (push) Waiting to run
CI / test (e2e-provider-and-openclaw) (push) Waiting to run
CI / test (integrations-and-misc) (push) Waiting to run
CI / coverage-report (push) Blocked by required conditions
CI / test-kubernetes (push) Waiting to run
CI / should-run-thorough (push) Waiting to run
CI / test-thorough (cloudwatch-demo) (push) Blocked by required conditions
CI / test-thorough (flink-ecs) (push) Blocked by required conditions
CI / test-thorough (upstream-lambda) (push) Blocked by required conditions
CI / test-thorough (prefect-ecs-fargate) (push) Blocked by required conditions
CodeQL / Analyze (python) (push) Waiting to run
Release / build-binaries (zip, opensre.exe, onefile, windows-latest, windows-x64) (push) Blocked by required conditions
Release / publish-release (push) Blocked by required conditions
Release / publish-main-release (push) Blocked by required conditions
Release / prepare (push) Waiting to run
Release / verify (push) Blocked by required conditions
Release / build-python-dist (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-15-intel, darwin-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, macos-latest, darwin-arm64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04, linux-x64) (push) Blocked by required conditions
Release / build-binaries (tar.gz, opensre, onedir, ubuntu-22.04-arm, linux-arm64) (push) Blocked by required conditions
Synthetic Deterministic Tests / Synthetic offline (deterministic) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-checks (no-LLM) (push) Waiting to run
Interactive Shell Live (PR + post-merge) / turn-live shard ${{ matrix.shard_index }} (push) Waiting to run
CI (OpenClaw E2E) / openclaw test (push) Has been cancelled
67 lines
2.8 KiB
Bash
67 lines
2.8 KiB
Bash
# Minimal .env for EC2 deployment.
|
|
# Copy to .env in repo root (or export vars) before running:
|
|
# make deploy
|
|
# make destroy
|
|
#
|
|
# Provisions one EC2 instance with opensre-web and opensre-gateway containers.
|
|
# NEVER commit a file with real credentials.
|
|
# See also: .env.example for the full application env reference.
|
|
|
|
# ─── AWS SDK (EC2 / ECR / SSM provisioning) ──────────────────────────────────
|
|
# Use static keys or a cross-account role (not both).
|
|
|
|
# Option A: static credentials
|
|
AWS_REGION=us-east-1
|
|
AWS_ACCESS_KEY_ID=your_access_key_id
|
|
AWS_SECRET_ACCESS_KEY=your_secret_access_key
|
|
# AWS_SESSION_TOKEN=optional_session_token
|
|
|
|
# Option B: cross-account role
|
|
# AWS_REGION=us-east-1
|
|
# AWS_ROLE_ARN=arn:aws:iam::123456789012:role/YourDeployRole
|
|
# AWS_EXTERNAL_ID=optional_external_id
|
|
|
|
# ─── Gateway deploy (make bake-gateway / make deploy-gateway) ───────────────
|
|
# Optional: git ref (commit SHA, tag, or branch) to bake into the gateway AMI.
|
|
# Defaults to the local git HEAD commit SHA at bake time.
|
|
# The ref must exist on GitHub — push your branch/commit before baking.
|
|
# OPENSRE_GATEWAY_GIT_REF=main
|
|
|
|
# Optional: skip baking by providing an existing AMI id directly.
|
|
# OPENSRE_GATEWAY_AMI_ID=ami-0abc123456789def0
|
|
|
|
# Optional: set to 1 to also deregister the AMI when running make destroy-gateway.
|
|
# OPENSRE_GATEWAY_DESTROY_PURGE_AMI=1
|
|
|
|
# Optional: personal suffix to isolate your resources from teammates in a shared AWS account.
|
|
# Set to your username or initials (e.g. joe, alice). All AWS resources (EC2 instance,
|
|
# IAM role/profile, ECR repo, container names) will be named with this suffix.
|
|
# Without this, all developers share the same resource names and will conflict.
|
|
# OPENSRE_STACK_SUFFIX=joe
|
|
|
|
# Optional: fail instead of auto-destroying when a prior deploy is still recorded.
|
|
# OPENSRE_DEPLOY_ABORT_IF_EXISTS=1
|
|
|
|
# Optional: override which key pair is attached to the instance for SSH debug access.
|
|
# Leave unset — SSM Run Command is used for gateway checks (no key pair required).
|
|
# EC2_KEY_NAME=your-key-pair-name
|
|
|
|
# ─── Telegram (gateway container) ─────────────────────────────────────────────
|
|
TELEGRAM_BOT_TOKEN=your_bot_token_here
|
|
|
|
# Comma-separated Telegram user IDs permitted to DM the bot.
|
|
# Get your ID from @userinfobot.
|
|
TELEGRAM_ALLOWED_USERS=123456789
|
|
|
|
# ─── LLM provider ─────────────────────────────────────────────────────────────
|
|
# Set one of: openai | anthropic | bedrock
|
|
LLM_PROVIDER=openai
|
|
|
|
# OpenAI
|
|
OPENAI_API_KEY=sk-...
|
|
|
|
# Anthropic (alternative)
|
|
# LLM_PROVIDER=anthropic
|
|
# ANTHROPIC_API_KEY=sk-ant-...
|
|
# ANTHROPIC_MODEL=claude-sonnet-4-5
|