From 451b3d064244614a3199c3d1d09e488c4db187f3 Mon Sep 17 00:00:00 2001 From: harris1111 Date: Wed, 25 Mar 2026 16:51:57 +0700 Subject: [PATCH] docs: update files_to_copy examples to newline separator Align documentation with actions repo change from space to newline separated files_to_copy using YAML block scalar. --- README-2.md | 292 ++++++++++++++++++++++++ docs/dockerfile-generator.md | 414 +++++++++++++++++++++++++++++++++++ 2 files changed, 706 insertions(+) create mode 100644 README-2.md create mode 100644 docs/dockerfile-generator.md diff --git a/README-2.md b/README-2.md new file mode 100644 index 0000000..47935dc --- /dev/null +++ b/README-2.md @@ -0,0 +1,292 @@ +# dev-off + +DevOps toolchain for Orochi Network — Dockerfile generation, GPG commit verification, local infrastructure, and developer environment setup. + +## Table of Contents + +- [Overview](#overview) +- [Dockerfile Generator](#dockerfile-generator) +- [GPG Commit Verification](#gpg-commit-verification) +- [Local Infrastructure](#local-infrastructure) +- [NPM/Yarn Configuration](#npmyarn-configuration) +- [Claude Code Setup (Z.AI)](#claude-code-setup-zai) +- [Security & Checksums](#security--checksums) +- [Repository Structure](#repository-structure) +- [Contributing](#contributing) + +## Overview + +`dev-off` provides shared DevOps utilities used across Orochi Network repositories: + +| Tool | Description | +|------|-------------| +| `dockerfile.sh` | Generate multi-stage Dockerfiles from templates | +| `check-gpg.sh` | Verify GPG signatures on PR commits | +| `docker-compose.yaml` | Local dev infrastructure (Postgres, Redis, RabbitMQ) | +| `generate-yarn-npm.sh` | Configure `.npmrc` and `.yarnrc.yml` for private packages | +| `claude_code_zai_env.sh` | Install and configure Claude Code with Z.AI API | +| `security.sh` | Merge GPG keys and update checksums | + +Scripts can be run locally or fetched remotely via `curl`. Pin a specific revision with `BASE_REVISION`: + +```bash +BASE_REVISION="main" curl -sL https://raw.githubusercontent.com/orochi-network/dev-off/main/