diff --git a/lib/OpenQA/CLI.pm b/lib/OpenQA/CLI.pm index 1dc507a87fa..ff05644d7dd 100644 --- a/lib/OpenQA/CLI.pm +++ b/lib/OpenQA/CLI.pm @@ -6,7 +6,7 @@ use Mojo::Base 'Mojolicious::Commands'; has hint => < sub { shift->extract_usage . "\nCommands:\n" }; has namespaces => sub { ['OpenQA::CLI'] }; diff --git a/lib/OpenQA/CLI/monitor.pm b/lib/OpenQA/CLI/monitor.pm index d9ca2c753e8..aaa4b8b9b80 100644 --- a/lib/OpenQA/CLI/monitor.pm +++ b/lib/OpenQA/CLI/monitor.pm @@ -56,6 +56,9 @@ sub command ($self, @args) { Usage: openqa-cli monitor [OPTIONS] [JOB_IDS] + Wait until all specified jobs have reached a final state and return a non-zero + exit code if at least one job is not ok (is not passed or softfailed). + Options: --apibase API base, defaults to /api/v1 --apikey API key diff --git a/lib/OpenQA/CLI/schedule.pm b/lib/OpenQA/CLI/schedule.pm index 9c7a455fa53..d491dad006f 100644 --- a/lib/OpenQA/CLI/schedule.pm +++ b/lib/OpenQA/CLI/schedule.pm @@ -52,6 +52,8 @@ sub command ($self, @args) { Usage: openqa-cli schedule [OPTIONS] DISTRI=… VERSION=… FLAVOR=… ARCH=… [ISO=… …] + Schedule a set of jobs creating a scheduled product on the web UI ("posts an ISO"). + Options: --apibase API base, defaults to /api/v1 --apikey API key