Complete rehearsal guidance and integrated verification
This commit is contained in:
@@ -781,6 +781,18 @@ selection, and CI secret source selection.
|
||||
|
||||
## Stage 15: Complete documentation and integrated verification
|
||||
|
||||
**Completed:** Canonical guides, integration formats, package inventory, the
|
||||
maintainer procedure, and an unnumbered migration draft describe the delivered
|
||||
behavior and the pre-release pin convention. Four assembled offline fixtures
|
||||
cover legacy Go modules, Go application source releases, calendar-version
|
||||
binaries, and YAML/JSON-only sources through readiness, candidate checking,
|
||||
publication, delivery, diagnostic verification, cleanup, and saved recovery.
|
||||
Compiled facade checks cover the new rehearsal operations. The offline
|
||||
`go test ./...` suite, `go run ./internal/apicheck`, shell syntax and local-link
|
||||
checks, and race tests for the facade, CLI, rehearsal, Woodpecker, Git, and
|
||||
Gitea packages pass. A live consumer rehearsal and the next release remain
|
||||
subsequent operator work.
|
||||
|
||||
1. Update canonical configuration, CLI, GoDoc, consumer adoption/check/build/
|
||||
publication/delivery guides, integration schemas, internal inventory, and
|
||||
maintainer runbook as their behavior lands. Add focused readiness/rehearsal
|
||||
|
||||
58
docs/roadmap/next-release-migration.md
Normal file
58
docs/roadmap/next-release-migration.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# Next release migration draft
|
||||
|
||||
The next ReleaseKit release number is not yet assigned. This is migration
|
||||
preparation for that release, not a published release note. Select and publish
|
||||
a compatible ReleaseKit version before replacing the illustrative `v0.10.0`
|
||||
pins in source-only examples. Until then, exercise the current source with the
|
||||
local fixtures described in [development guidance](../development.md).
|
||||
|
||||
## Credentials and readiness
|
||||
|
||||
Move the former `delivery.token_file` to
|
||||
`delivery.credentials.local.token_file`, and move `delivery.token_env` to
|
||||
`delivery.credentials.ci.token_environment_variable`. Keep existing CI secret
|
||||
names and job environment variable names where possible. A CI declaration with
|
||||
no variable name defaults to `RELEASEKIT_DELIVERY_TOKEN`; it does not fall back
|
||||
to the local token file. Local `deliver` and `test` use the local selection,
|
||||
while `ci-deliver` uses the CI environment. `validate --context ci` explicitly
|
||||
selects CI credentials for readiness.
|
||||
|
||||
For a live rehearsal, configure a separate local Woodpecker API token, numeric
|
||||
repository ID, exact workflow and step, and selector in `rehearsal`. Grant the
|
||||
local forge and Git credentials the diagnostic deletion permissions they need;
|
||||
the CI secret still needs delivery write access. The [rehearsal guide](../consumers/rehearsal.md)
|
||||
describes the evidence boundary and retained CI history, notifications, and
|
||||
webhook effects.
|
||||
|
||||
## Source and version selection
|
||||
|
||||
Profiles omitting all of `source`, `go`, `publication`, and `version` retain
|
||||
legacy Go-module publication and prefixed stable SemVer. A non-null selection
|
||||
object selects the explicit model: declare `go: {}` to retain Go checks or
|
||||
builds, choose `publication.mode: "go-module"` only for module publication,
|
||||
and otherwise use general `source` publication. A source-only profile can use
|
||||
`source: {}` without an application `go.mod`. The [configuration reference](../config.md)
|
||||
owns defaults, physical directories, tag prefixes, and identifier grammars.
|
||||
|
||||
Source publication can select stable SemVer, Gregorian `date`, or `year-month`
|
||||
identifiers. Source tags use the selected physical source prefix by default;
|
||||
Go module publication retains declared path-major compatibility. Applications
|
||||
can release a product major or calendar identifier independently of the Go
|
||||
module path when using source publication. Update release-note paths and
|
||||
workflow tag filters to match the chosen format.
|
||||
|
||||
## Tools, workflows, and recovery
|
||||
|
||||
Commit the installed-tool `.releasekit-version` pin for a source-only product,
|
||||
or select a tool dependency in each Go module. Upgrade the tool and tagged CI
|
||||
workflow together. The maintained multi-product selector uses four columns:
|
||||
selector, production tag pattern, tool module directory, and profile path; `-`
|
||||
selects the installed pinned tool. Add the diagnostic tag filter and ensure its
|
||||
selector maps to the same committed profile as production delivery.
|
||||
|
||||
Regenerate old build receipts with the current `build` command before using
|
||||
`deliver --assets`; receipts bind source selection and artifact identity.
|
||||
Existing publication records remain explicit inputs to `reconcile` and do not
|
||||
become rehearsal records. Rehearsal recovery similarly requires the exact
|
||||
attempt record and supports explicit credential-file overrides. Neither recovery
|
||||
path selects an attempt automatically.
|
||||
Reference in New Issue
Block a user