spawn/oracle
A d2fbd325b0
refactor: decompose fly get_server_name and oracle _setup_vcn_networking (#1000)
- fly/lib/common.sh: Replace 23-line get_server_name() that duplicated
  env-var-check, prompt, and validation logic with a one-line call to the
  shared get_validated_server_name helper, matching all other cloud providers.

- oracle/lib/common.sh: Break _setup_vcn_networking (48 lines, 3 distinct
  responsibilities) into focused helpers:
  - _create_internet_gateway: creates the IGW resource
  - _add_default_route: configures the route table
  - _add_ssh_security_rules: opens SSH port in the security list
  The orchestrator _setup_vcn_networking now delegates to these three helpers.

Agent: complexity-hunter

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
2026-02-13 12:57:11 -08:00
..
lib refactor: decompose fly get_server_name and oracle _setup_vcn_networking (#1000) 2026-02-13 12:57:11 -08:00
aider.sh fix: validate MODEL_ID from environment to prevent command injection (#548) 2026-02-11 15:41:10 -08:00
amazonq.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
claude.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
cline.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
codex.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
continue.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
gemini.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
goose.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
gptme.sh fix: add actionable guidance to agent installation failures across 126 scripts (#966) 2026-02-13 10:14:03 -08:00
interpreter.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
kilocode.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
nanoclaw.sh fix: replace log_warn with log_step/log_info for non-warning messages (#604) 2026-02-12 03:24:30 -08:00
openclaw.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
opencode.sh fix: use log_step (cyan) for progress messages instead of log_warn (yellow) (#534) 2026-02-11 14:37:43 -08:00
plandex.sh fix: add actionable guidance to agent installation failures across 126 scripts (#966) 2026-02-13 10:14:03 -08:00
README.md refactor: replace Python with jq in Hetzner lib, fix /lab → /labs URLs (#827) 2026-02-12 23:14:11 -08:00

Oracle Cloud Infrastructure

Oracle Cloud compute instances via OCI CLI. Oracle Cloud

Has a generous Always Free tier. Uses 'ubuntu' user for SSH. Requires OCI CLI installed and configured.

Prerequisites

  1. Install OCI CLI: pip install oci-cli
  2. Configure: oci setup config
  3. Set compartment: export OCI_COMPARTMENT_ID=ocid1.compartment.oc1.....

Agents

Claude Code

bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/claude.sh)

Aider

bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/aider.sh)

Goose

bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/goose.sh)

Non-Interactive Mode

OCI_COMPARTMENT_ID=ocid1.compartment.oc1..... \
OCI_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
  bash <(curl -fsSL https://openrouter.ai/labs/spawn/oracle/claude.sh)

Environment Variables

Variable Description Default
OCI_COMPARTMENT_ID OCI compartment OCID Auto-detected
OCI_INSTANCE_NAME Instance display name Prompted
OCI_SHAPE Compute shape VM.Standard.E2.1.Micro
OCI_SUBNET_ID Subnet OCID Auto-created
OCI_OCPUS OCPUs for flex shapes 1
OCI_MEMORY_GB Memory (GB) for flex shapes 4
OPENROUTER_API_KEY OpenRouter API key OAuth or prompted