CLI command
weles release validate
Judge a candidate deployment manifest against the accepted source revision and candidate tag. The manifest's sourceRevision must be --source-revision, and the tag must be candidate-deployment-<deploymentId>-<abbreviation>, where deploymentId is the manifest's and the abbreviation is a leading part of that revision; any other tag is refused with the form it should take. Artifact entries use platform, uri, sha256 and entrypoint: uri names a stado://releases/<product>/<version>/<platform>/<archive> coordinate; supported platforms are darwin-arm64, darwin-amd64 and linux-amd64. Missing or obsolete fields, unsupported platforms, invalid release coordinates and entrypoints outside the archive are refused by field name. Validation does not fetch an archive, verify its signed publication, install a browser or prove browser readiness.
Purpose#
Judge a candidate deployment manifest against the accepted source revision and candidate tag. The manifest's sourceRevision must be --source-revision, and the tag must be candidate-deployment-<deploymentId>-<abbreviation>, where deploymentId is the manifest's and the abbreviation is a leading part of that revision; any other tag is refused with the form it should take. Artifact entries use platform, uri, sha256 and entrypoint: uri names a stado://releases/<product>/<version>/<platform>/<archive> coordinate; supported platforms are darwin-arm64, darwin-amd64 and linux-amd64. Missing or obsolete fields, unsupported platforms, invalid release coordinates and entrypoints outside the archive are refused by field name. Validation does not fetch an archive, verify its signed publication, install a browser or prove browser readiness.
Invocation#
weles release validate --manifest <file> --source-revision <sha> --candidate-tag <tag> [--json]Options#
| Option | Effect |
|---|---|
--manifest | weles --help names this option in the usage line and gives it no description. |
--source-revision | weles --help names this option in the usage line and gives it no description. |
--candidate-tag | weles --help names this option in the usage line and gives it no description. |
--json | Print the answer as one JSON document instead of key: value lines. release surface always prints its JSON document: it is the file a release carries. |
Help#
`weles release validate --help` prints these usage lines and never runs the command.