fix: update workspace script comments for workspace-template → workspace rename
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2fa3f9def9
commit
7786d6e1eb
@ -4,12 +4,12 @@
|
||||
# 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.
|
||||
# This script now only builds the base image from workspace/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
|
||||
# bash workspace/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
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
# logs `--dangerously-skip-permissions cannot be used with root/sudo
|
||||
# privileges for security reasons`.
|
||||
#
|
||||
# Pattern matches the legacy monorepo workspace-template/entrypoint.sh:
|
||||
# Pattern matches the legacy monorepo workspace/entrypoint.sh:
|
||||
# fix volume ownership as root, then re-exec via gosu as agent (uid 1000).
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# rebuild-runtime-images.sh — Rebuild all 6 workspace runtime Docker images.
|
||||
#
|
||||
# Run this script from the repo root (or from workspace-template/) after any
|
||||
# change to workspace-template/Dockerfile, entrypoint.sh, or the git credential
|
||||
# Run this script from the repo root (or from workspace/) after any
|
||||
# change to workspace/Dockerfile, entrypoint.sh, or the git credential
|
||||
# helper scripts. Also run after PR #640 merged.
|
||||
#
|
||||
# What this does:
|
||||
@ -24,10 +24,10 @@
|
||||
# Prerequisites: docker, git, gh (authenticated)
|
||||
#
|
||||
# Usage (from repo root):
|
||||
# bash workspace-template/rebuild-runtime-images.sh
|
||||
# bash workspace/rebuild-runtime-images.sh
|
||||
#
|
||||
# To rebuild a single runtime:
|
||||
# bash workspace-template/rebuild-runtime-images.sh claude-code
|
||||
# bash workspace/rebuild-runtime-images.sh claude-code
|
||||
#
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
#
|
||||
# git config --global \
|
||||
# "credential.https://github.com.helper" \
|
||||
# "!/workspace-template/scripts/molecule-git-token-helper.sh"
|
||||
# "!/workspace/scripts/molecule-git-token-helper.sh"
|
||||
#
|
||||
# # How git calls this helper
|
||||
#
|
||||
@ -43,7 +43,7 @@
|
||||
#
|
||||
# To also fix `gh` CLI auth, run this from a workspace cron prompt:
|
||||
#
|
||||
# token=$(bash /workspace-template/scripts/molecule-git-token-helper.sh _fetch_token)
|
||||
# token=$(bash /workspace/scripts/molecule-git-token-helper.sh _fetch_token)
|
||||
# echo "$token" | gh auth login --with-token
|
||||
#
|
||||
# (The _fetch_token private action returns only the raw token string.)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user