Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

new-release

БесплатноЗапускает вложенные скриптыНе проверен

Automate complete Multicluster Global Hub release workflow across 6 repositories including branch creation, OpenShift CI configuration, catalog OCP version…

stolostronот stolostron★ 26 звёзд на GitHub13 установок в других каталогах

Об этом скилле

Global Hub New Release Workflow

Automates the complete end-to-end workflow for cutting a new Multicluster Global Hub release across all 6 repositories with full automation.

Execution Instructions for Claude

CRITICAL - Synchronous Execution Required:

  1. Run Synchronously: Execute the cut-release.sh script using the Bash tool WITHOUT the run_in_background parameter. The script must run synchronously to completion with a 600000ms (10 minute) timeout.

  2. No BashOutput Calls: DO NOT use the BashOutput tool. The command runs synchronously and returns complete output when finished.

When to Use This Skill

  • Cutting a new Global Hub release (e.g., release-2.16, release-2.17)
  • Updating an existing release branch with new configurations
  • Setting up complete release infrastructure across all repositories
  • Automating the entire release checklist workflow
  • Creating coordinated PRs and branches for new releases

Important Requirements

RELEASE_BRANCH must be explicitly specified - The skill does NOT auto-detect release versions. You must provide the exact release branch name.

Two Operating Modes:

  • CREATE_BRANCHES=true: Create new release branches and push directly to upstream (for initial release creation)
  • CREATE_BRANCHES=false (default): Update existing release branches via PR (for updating current releases)

Version Mapping (ACM to Global Hub)

The skill uses ACM release branch names as the primary input and automatically calculates the corresponding Global Hub version.

Version Mapping Table

ACM Version Release Branch Global Hub Version Bundle/Catalog Branch OCP Versions
2.14 release-2.14 v1.5.0 release-1.5 4.15 - 4.19
2.15 release-2.15 v1.6.0 release-1.6 4.16 - 4.20
2.16 release-2.16 v1.7.0 release-1.7 4.17 - 4.21
2.17 release-2.17 v1.8.0 release-1.8 4.18 - 4.22
2.18 release-2.18 v1.9.0 release-1.9 4.19 - 4.23

Formulas:

  • Global Hub version: v1.X.0 where X = ACM_MINOR - 9
  • OCP versions: 4.(GH_MINOR + 10) to 4.(GH_MINOR + 14)

Example: ACM release-2.17 → Global Hub v1.8.0 → Bundle/Catalog release-1.8

Repository Workflow

The skill manages releases across 6 repositories, each with its own dedicated script.

Version example below uses release-2.17 / Global Hub v1.8.0 (globalhub-1-8)


Repository 1: multicluster-global-hub (Script 01)

Repository: stolostron/multicluster-global-hub

What it does (3-part workflow):

  1. Update main branch: Creates new .tekton/ configuration files for new version (e.g., globalhub-1-8) with target_branch="main", updates Containerfile.* version labels
  2. Create PR to main: Creates PR to upstream main with new release configurations
  3. Update previous release: Updates previous release branch's .tekton/ files to set target_branch to the previous release branch (e.g., globalhub-1-7 files updated to target_branch="release-2.16")

Key behavior:

  • New .tekton/ files (e.g., globalhub-1-8) created by copying old files (globalhub-1-7), not renaming
  • Old .tekton/ files (globalhub-1-7) remain on main with target_branch="main"
  • Previous release branch gets updated so its files point to itself (not main)
  • Ensures continuous file naming progression: globalhub-1-6 → globalhub-1-7 → globalhub-1-8
  • The new tekton files on main will be automatically synced to the current release branch (release-2.17) after the PR is merged — no separate PR needed for the current release branch

Expected PRs: 2

PR Target Branch Content Verification
PR to main main New .tekton/globalhub-1-8-*.yaml files; old globalhub-1-7 files removed; Containerfile version updated; Makefile VERSION/CHANNELS updated Check .tekton/ has globalhub-1-8 files with target_branch=main (pull-request) and target_branch=release-2.17 (push)
PR to prev release release-2.16 globalhub-1-7 pull-request.yaml target_branch changed from main → release-2.16 Verify *pull-request.yaml has target_branch=release-2.16

Repository 2: openshift/release (Script 02)

Repository: openshift/release

What it does:

  • Updates main branch CI configuration (promotion, fast-forward)
  • Creates new release pipeline configuration by copying from previous release
  • Replaces version strings: ACM branch, version number, image prefix, GH version tag
  • Auto-generates presubmit/postsubmit jobs using make update + make jobs
  • Creates PR with all CI changes

Expected PRs: 1

| PR | Target Branch | Content | Verific

Полный SKILL.md на GitHub

Установить new-release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Bash
Glob
Grep

Вложенные файлы

README.mdscripts/01-multicluster-global-hub.shscripts/02-openshift-release.shscripts/03-bundle.shscripts/04-catalog.shscripts/05-grafana.shscripts/06-postgres-exporter.shscripts/cut-release.sh

FAQ

Что делает скилл new-release?

Automate complete Multicluster Global Hub release workflow across 6 repositories including branch creation, OpenShift CI configuration, catalog OCP version management, bundle updates, and PR creation. REQUIRES explicit RELEASE_BRANCH specification (e.g., RELEASE_BRANCH=release-2.17). Supports two modes - CREATE_BRANCHES=true (create branches) or false (update via PR). Keywords: release branch, global hub, openshift/release, catalog, bundle, CI configuration, OCP versions.

Как установить скилл new-release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл new-release запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить new-release с