From ca988bb00ebae64e228a0f258b68d7c3199684f4 Mon Sep 17 00:00:00 2001 From: garrytan Date: Mon, 2 Nov 2026 05:49:01 +0000 Subject: [PATCH] docs(ubicloud): say how run streams a subdirectory of a checkout Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- ubicloud/SKILL.md | 4 +++- ubicloud/SKILL.md.tmpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ubicloud/SKILL.md b/ubicloud/SKILL.md index 3b90355ae..29873fb2c 100644 --- a/ubicloud/SKILL.md +++ b/ubicloud/SKILL.md @@ -185,7 +185,9 @@ UBI_TTL_HOURS=3 $U run --setup scripts/ubicloud/bootstrap.sh -- 'make test' `run` creates the VM (`-s SIZE`, default `standard-16`; `-l LOCATION`, default `eu-central-h1`), streams the checkout (tracked files, untracked files that -are not ignored, and `.git`, so uncommitted edits are tested), runs the +are not ignored, and `.git`, so uncommitted edits are tested; a subdirectory +of a checkout ships only its own git-listed files without `.git`, and one its +checkout ignores is refused), runs the bootstrap once, runs the command in a login shell with `umask 022`, copies `--pull REMOTE_GLOB:LOCAL_DIR` artifacts back and destroys the VM. It exits with the command's status. `--env K=V` passes a literal; `--pass NAME` forwards diff --git a/ubicloud/SKILL.md.tmpl b/ubicloud/SKILL.md.tmpl index 1c339af9f..d81b8bc36 100644 --- a/ubicloud/SKILL.md.tmpl +++ b/ubicloud/SKILL.md.tmpl @@ -111,7 +111,9 @@ UBI_TTL_HOURS=3 $U run --setup scripts/ubicloud/bootstrap.sh -- 'make test' `run` creates the VM (`-s SIZE`, default `standard-16`; `-l LOCATION`, default `eu-central-h1`), streams the checkout (tracked files, untracked files that -are not ignored, and `.git`, so uncommitted edits are tested), runs the +are not ignored, and `.git`, so uncommitted edits are tested; a subdirectory +of a checkout ships only its own git-listed files without `.git`, and one its +checkout ignores is refused), runs the bootstrap once, runs the command in a login shell with `umask 022`, copies `--pull REMOTE_GLOB:LOCAL_DIR` artifacts back and destroys the VM. It exits with the command's status. `--env K=V` passes a literal; `--pass NAME` forwards