hi: add list-versions subcommand
Prints the tailscale versions integration tests use, with optional filter and format flags. Source of truth stays in hscontrol/capver; CI shells out to this instead of duplicating the version list in YAML. Examples: hi list-versions hi list-versions --set=must --exclude=head hi list-versions --set=all --format=json
This commit is contained in:
parent
58a85b68b3
commit
79562b9782
2 changed files with 96 additions and 0 deletions
|
|
@ -29,6 +29,13 @@ func main() {
|
|||
return runDoctorCheck(env.Context())
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "list-versions",
|
||||
Help: "Print Tailscale versions used by integration tests",
|
||||
Usage: "list-versions [flags]",
|
||||
SetFlags: command.Flags(flax.MustBind, &listVersionsConfig),
|
||||
Run: listVersions,
|
||||
},
|
||||
{
|
||||
Name: "clean",
|
||||
Help: "Clean Docker resources",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue