update-ci-images
БесплатноЗапускает вложенные скриптыНе проверенLong-running orchestration to rebuild every Positron CI image (ubuntu24_04, rocky_8, rocky_9, debian, openSUSE15_6, SLES15_6, and postgres — each as a…
от posit-dev★ 4 361 звезда на GitHubОб этом скилле
Update all CI images
Rebuild every CI image at a single new tag, driving the workflow_dispatch
build workflows in posit-dev/positron-builds against a positron PR branch and
babysitting the runs until they all pass.
The build workflows are in positron-builds because they use internal inputs.
docker/images stays in this repository. Each workflow runs from the main
branch of positron-builds and checks out positron at its positron_ref input,
so a Dockerfile change on a pushed positron branch can be built before the
branch merges. A fork branch cannot be built.
The tag
The tag is <node>-py<python>-r<r>, for example 24.18.0-py3.14.7-r4.6.1:
<node>is the full Node version in the images (must match.nvmrc;build/npm/preinstall.tshard-fails otherwise).<python>is the primary Python: the uv venv at/root/.venv, and the value ofPOSITRON_PY_VER_SELin the container-based workflows.<r>is the primary R: therig default, and the value ofPOSITRON_R_VER_SELin the container-based workflows.
A new tag for every change to any of the three means image contents and the workflow env flip together in one PR. Open PR branches keep pulling the old tag with the old selectors until they rebase, so nothing goes red under them.
Postgres has none of the three but gets the same tag, so one string identifies a complete image set.
Inputs
Parse from the user's invocation (ask only if missing):
- node version, python version, R version — at least one must
differ from what the images have now. Read the current values from
docker/images/ubuntu24_04/docker-compose.amd64.yml(NODE_VERSION) anddocker/images/ubuntu24_04/Dockerfile.ubuntu24_04(uv venv --python=,rig default). Derive the tag from the three. - concurrency N (optional, default 4) — max build jobs in flight at once.
The alt interpreters (pyenv Python 3.13.0, R 4.4.2 or 4.4.3 on SLES) and the hidden ones (conda Python 3.12.10, R 4.4.1) are not part of the tag and are not touched by this skill.
The job matrix — 7 builds total
| Workflow (in positron-builds) | Variants |
|---|---|
ci-images-build-os.yml |
os in {ubuntu24_04, rocky_8, rocky_9, debian, openSUSE15_6, SLES15_6} = 6 |
ci-images-build-postgres.yml |
postgres = 1 |
Each workflow run builds both architectures (amd64 + arm64) as a matrix on native
runners and then merges them into a single multi-arch manifest list, e.g.
ghcr.io/<owner>/positron-ubuntu24:<tag>, positron-postgres:<tag>. There is one run
(one dispatch) per image, not per architecture. Each build leg pushes a per-arch tag
to the same package (positron-ubuntu24:<tag>-amd64, positron-ubuntu24:<tag>-arm64, …),
and the workflow's merge job assembles the manifest list from them. Postgres has no
Node, Python or R and gets no version change.
<dir> of this skill below means .claude/skills/update-ci-images.
Phase 0 — Preflight
Run and confirm all pass before changing anything:
gh auth status # authenticated, has workflow + repo scope
git -C "$REPO" status --porcelain # MUST be empty (clean tree)
git -C "$REPO" rev-parse --abbrev-ref HEAD # report the base branch (any is fine)
gh repo view --json nameWithOwner -q .nameWithOwner # expect posit-dev/positron
gh workflow view ci-images-build-os.yml -R posit-dev/positron-builds >/dev/null # you can read the build workflows
Verify each version that changes exists before you burn build minutes:
- Node:
curl -sfI https://nodejs.org/dist/v<node>/node-v<node>-linux-x64.tar.xzand...-linux-arm64.tar.xz. If either 404s, stop and tell the user. - Python:
uv python list --all-versions The primary must also differ from every other Python in the image: pyenv alt (3.13.0), the hidden conda env (3.12.10) and conda base, which the Dockerfiles pin withconda install -n base python=. Two interpreters with one version label make the kernel picker choose the wrong one, and uv reuses a matching system interpreter instead of downloading a managed build.| grep cpython-<python>-. The Dockerfiles install the newest uv at build time, so any version in uv's list is installable. Pick a patch whose string is not a prefix of another installed version: the e2e selectors match by substring, so3.13.1would also match3.13.15. - R: HEAD-request the Posit CDN for every distro and both arches:
ubuntu-2404/pkgs/r-<r>_1_{amd64,arm64}.deb,debian-13/pkgs/r-<r>_1_{amd64,arm64}.deb,{centos-8,rhel-9,opensuse-156}/pkgs/R-<r>-1-1.{x86_64,aarch64}.rpm, all underhttps://cdn.posit.co/r/. - PPM snapshot vs R minor: when the R minor changes, the dated
PPM_SNAPSHOTmust postdate PPM's binaries for that minor on every distro, or the dev-deps install compiles everything from source. Check one package per distro: downloaddplyr_<ver>.tar.gzfrom `https://packagemanager.posit.co/cran/
Установить update-ci-images в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-ci-images?
Long-running orchestration to rebuild every Positron CI image (ubuntu24_04, rocky_8, rocky_9, debian, openSUSE15_6, SLES15_6, and postgres — each as a multi-arch amd64+arm64 manifest) at one new tag. The tag names the Node, primary Python and primary R versions baked into the images (`<node>-py<python>-r<r>`). Bumps whichever of the three changed, repoints every consumer at the new tag, dispatches the build workflows in posit-dev/positron-builds against the PR branch with bounded concurrency, monitors the runs, auto-fixes failures and retries, and leaves the PR open for human review once all 7 builds are green.
Как установить скилл update-ci-images?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-ci-images запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub