Skip to content

gaia deployment

Release helpers. Today the command has one subcommand, used by the deployment workflow to compute the release batch — the tickets a deployment delivers.

Synopsis

gaia deployment tickets --since <ref> --to <ref>

tickets

Parses the ticket identifiers out of the git log between two refs and resolves each against the control plane, printing the result as JSON.

OptionMeaning
--since <ref>the environment's currently deployed ref — the start of the git range
--to <ref>the post-merge environment branch tip — the end of the range
sh
gaia deployment tickets --since v1.4.0 --to develop

Identifiers are read from the commits' ref:<identifier> trailers and MR references, so a squash merge whose body carries ref:GAIA-427 contributes that ticket once. The output is what the pre_deployment step records on a gaia_deployment ticket as its referenced_tickets, and what post_deployment stamps with the target environment.

Next