Skip to content

Commit af24d4c

Browse files
chore(den): default worker plan to render standard (anomalyco#642)
1 parent cbaa058 commit af24d4c

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/deploy-den.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
service_id = os.environ["RENDER_DEN_CONTROL_PLANE_SERVICE_ID"]
8686
owner_id = os.environ["RENDER_OWNER_ID"]
8787
openwork_version = os.environ.get("DEN_RENDER_WORKER_OPENWORK_VERSION") or "0.11.113"
88+
worker_plan = os.environ.get("DEN_RENDER_WORKER_PLAN") or "standard"
8889
paywall_enabled = (os.environ.get("DEN_POLAR_FEATURE_GATE_ENABLED") or "false").lower() == "true"
8990
polar_api_base = os.environ.get("DEN_POLAR_API_BASE") or "https://api.polar.sh"
9091
polar_success_url = os.environ.get("DEN_POLAR_SUCCESS_URL") or "https://app.openwork.software"
@@ -142,7 +143,7 @@ jobs:
142143
{"key": "RENDER_WORKER_REPO", "value": "https://github.com/different-ai/openwork"},
143144
{"key": "RENDER_WORKER_BRANCH", "value": "dev"},
144145
{"key": "RENDER_WORKER_ROOT_DIR", "value": "services/den-worker-runtime"},
145-
{"key": "RENDER_WORKER_PLAN", "value": "starter"},
146+
{"key": "RENDER_WORKER_PLAN", "value": worker_plan},
146147
{"key": "RENDER_WORKER_REGION", "value": "oregon"},
147148
{"key": "RENDER_WORKER_OPENWORK_VERSION", "value": openwork_version},
148149
{"key": "RENDER_WORKER_NAME_PREFIX", "value": "den-worker-openwork"},

‎services/den/.env.example‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RENDER_OWNER_ID=
1111
RENDER_WORKER_REPO=https://github.com/different-ai/openwork
1212
RENDER_WORKER_BRANCH=dev
1313
RENDER_WORKER_ROOT_DIR=services/den-worker-runtime
14-
RENDER_WORKER_PLAN=starter
14+
RENDER_WORKER_PLAN=standard
1515
RENDER_WORKER_REGION=oregon
1616
RENDER_WORKER_OPENWORK_VERSION=0.11.113
1717
RENDER_WORKER_NAME_PREFIX=den-worker

‎services/den/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Required GitHub Actions secrets:
8181

8282
Optional GitHub Actions variable:
8383

84+
- `DEN_RENDER_WORKER_PLAN` (defaults to `standard`)
8485
- `DEN_RENDER_WORKER_OPENWORK_VERSION` (defaults to `0.11.113`)
8586
- `DEN_POLAR_FEATURE_GATE_ENABLED` (`true`/`false`, defaults to `false`)
8687
- `DEN_POLAR_API_BASE` (defaults to `https://api.polar.sh`)

‎services/den/src/env.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const env = {
5353
workerRepo: parsed.RENDER_WORKER_REPO ?? "https://github.com/different-ai/openwork",
5454
workerBranch: parsed.RENDER_WORKER_BRANCH ?? "dev",
5555
workerRootDir: parsed.RENDER_WORKER_ROOT_DIR ?? "services/den-worker-runtime",
56-
workerPlan: parsed.RENDER_WORKER_PLAN ?? "starter",
56+
workerPlan: parsed.RENDER_WORKER_PLAN ?? "standard",
5757
workerRegion: parsed.RENDER_WORKER_REGION ?? "oregon",
5858
workerOpenworkVersion: parsed.RENDER_WORKER_OPENWORK_VERSION ?? "0.11.113",
5959
workerNamePrefix: parsed.RENDER_WORKER_NAME_PREFIX ?? "den-worker",

0 commit comments

Comments
 (0)