Renames: - platform/ → workspace-server/ (Go module path stays as "platform" for external dep compat — will update after plugin module republish) - workspace-template/ → workspace/ Removed (moved to separate repos or deleted): - PLAN.md — internal roadmap (move to private project board) - HANDOFF.md, AGENTS.md — one-time internal session docs - .claude/ — gitignored entirely (local agent config) - infra/cloudflare-worker/ → Molecule-AI/molecule-tenant-proxy - org-templates/molecule-dev/ → standalone template repo - .mcp-eval/ → molecule-mcp-server repo - test-results/ — ephemeral, gitignored Security scrubbing: - Cloudflare account/zone/KV IDs → placeholders - Real EC2 IPs → <EC2_IP> in all docs - CF token prefix, Neon project ID, Fly app names → redacted - Langfuse dev credentials → parameterized - Personal runner username/machine name → generic Community files: - CONTRIBUTING.md — build, test, branch conventions - CODE_OF_CONDUCT.md — Contributor Covenant 2.1 All Dockerfiles, CI workflows, docker-compose, railway.toml, render.yaml, README, CLAUDE.md updated for new directory names. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
38 lines
1.3 KiB
Bash
Executable File
38 lines
1.3 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# build-all.sh — Rebuild base image and optionally adapter images.
|
|
#
|
|
# NOTE: Adapters have been extracted to standalone template repos:
|
|
# https://github.com/Molecule-AI/molecule-ai-workspace-template-<runtime>
|
|
#
|
|
# This script now only builds the base image from workspace-template/Dockerfile.
|
|
# Each adapter repo has its own Dockerfile that installs molecule-ai-workspace-runtime
|
|
# from PyPI and the adapter-specific deps.
|
|
#
|
|
# Usage:
|
|
# bash workspace-template/build-all.sh # Build base image only
|
|
#
|
|
# Standalone adapter repos still reference the legacy base image for local dev
|
|
# (e.g. FROM workspace-template:base). To build those locally, clone the adapter
|
|
# repo and run `docker build -t workspace-template:<runtime> .` from its root.
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
|
|
GREEN='\033[0;32m'
|
|
RED='\033[0;31m'
|
|
NC='\033[0m'
|
|
|
|
log() { echo -e "${GREEN}[build]${NC} $1" >&2; }
|
|
err() { echo -e "${RED}[error]${NC} $1" >&2; }
|
|
|
|
# Build base image
|
|
log "Building workspace-template:base ..."
|
|
if ! docker build -t workspace-template:base -f Dockerfile . ; then
|
|
err "Base image build failed"
|
|
exit 1
|
|
fi
|
|
log "Base image built"
|
|
log "Done. Adapters are in standalone template repos — see docs/workspace-runtime-package.md"
|