Skip to main content

sync-upstream-deployment

Porting changes from the legacy shopsys/deployment package (upstream PRs, manifest fixes) into these charts. Use when asked to review/port upstream deployment PRs or to check what changed upstream.

소스 정보

저장소
shopsys/helm
최근 소스 활동
2026년 8월 19일 00:53
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
sync-upstream-deployment
description
Porting changes from the legacy shopsys/deployment package (upstream PRs, manifest fixes) into these charts. Use when asked to review/port upstream deployment PRs or to check what changed upstream.
# Porting changes from legacy shopsys/deployment This package replaced github.com/shopsys/deployment, but the legacy repo still receives PRs (often by the same maintainer) until every project migrates. Changes flow one way: legacy → here. ## 1. Survey upstream ```bash gh pr list -R shopsys/deployment --state open --json number,title gh pr view <N> -R shopsys/deployment --json title,body,files gh pr diff <N> -R shopsys/deployment | awk '/^diff --git/{f=$3; show=(f !~ /expected|UPGRADE|README/)} show' ``` Skip `tests/scenarios/*/expected/*` (legacy snapshots), `UPGRADE.md`, `README.md` — the substance is in `kubernetes/*.yaml` and `deploy/*.sh`. ## 2. Map legacy mechanics to this package | Legacy | Here | |---|---| | manifest edit in `kubernetes/` | chart template + values default | | `deploy/parts/*.sh` logic (sed/yq at deploy time) | values/env overlay, helper, or helmfile mechanism | | new env variable | committed value; env interpolation in `runtime.yaml.gotmpl` only if sensitive/CI-dynamic | | kubectl exec / imperative step | helm hook Job or wrapper step (last resort) | | new kustomize resource | new template (+ schema + docs) | Check first whether the change is already covered — by the phase-1 port itself, an existing issue (search the tracker), or an intentional deviation (`docs/migrating-from-shopsys-deployment.md`). ## 3. Decide per upstream PR - **trivial & obviously right** → implement directly (own PR, reference `shopsys/deployment#N` in commit/PR/deviations entry) - **substantial** → file an issue with the concrete spec extracted from the upstream diff (`create-issue` skill); if an issue already covers the topic, add the spec as a comment - **not applicable here** (solved differently by the rewrite) → note why, nothing else ## 4. Parity verification `tools/compare-legacy.sh` semantically diffs our render against the legacy snapshots: ```bash LEGACY_REPO=/path/to/shopsys-deployment ./tools/compare-legacy.sh <scenario> ``` It canonicalizes both sides (sorted keys, sorted env, stripped hook/checksum noise). Expect the documented deviations to show up; anything else is a finding. Note yq-v4 artifacts: `0644`-style octals display as decimal (YAML 1.1 vs 1.2) — cosmetic only.
GitHub에서 보기