From 5cb52f294466988addf6ff7d766044316317c9f1 Mon Sep 17 00:00:00 2001 From: Al Bowles Date: Fri, 14 Oct 2022 23:09:45 -0500 Subject: [PATCH] Add usage information --- scripts/cancel-build.sh | 3 +++ scripts/run-all-flavors.sh | 3 +++ scripts/run-openqa-tests.sh | 11 +++++++++++ 3 files changed, 17 insertions(+) diff --git a/scripts/cancel-build.sh b/scripts/cancel-build.sh index 38842ba8..a5b78a08 100755 --- a/scripts/cancel-build.sh +++ b/scripts/cancel-build.sh @@ -2,6 +2,9 @@ BUILD="$1" +## Usage: Cancels all outstanding openQA jobs for the specified build +# scripts/cancel-build.sh 20221014.133700-My-Named-Build + jobs_in_build=$(openqa-cli api jobs build="$BUILD" | jq -r '.jobs[].id' | xargs) for id in $jobs_in_build diff --git a/scripts/run-all-flavors.sh b/scripts/run-all-flavors.sh index 2be6eef5..fc12e8d7 100755 --- a/scripts/run-all-flavors.sh +++ b/scripts/run-all-flavors.sh @@ -4,6 +4,9 @@ set -e MAJOR_VERSION=9 MINOR_VERSION=0 +## Usage: Posts ISOs to openQA for each of the universal, dvd-iso, package-set, minimal-iso, and boot-iso FLAVORs. +# scripts/run-all-flavors.sh + ROCKY_VERSION="$MAJOR_VERSION.$MINOR_VERSION" ROCKY_ARCH="${ROCKY_ARCH:=x86_64}" ROCKY_EXTRA_ARGS="${ROCKY_EXTRA_ARGS:-}" diff --git a/scripts/run-openqa-tests.sh b/scripts/run-openqa-tests.sh index 1f10704d..7f8fa91b 100755 --- a/scripts/run-openqa-tests.sh +++ b/scripts/run-openqa-tests.sh @@ -4,6 +4,17 @@ set -e MAJOR_VERSION=9 MINOR_VERSION=0 +## Usage: Post an ISO for the specified FLAVOR. Defaults to boot-iso. +# +## Run the boot-iso FLAVOR +# scripts/run-openqa-tests.sh +# +## Run the package-set FLAVOR +# ROCKY_FLAVOR=package-set scripts/run-openqa-tests.sh +# +## Run the localization test suites +# ROCKY_FLAVOR ROCKY_EXTRA_ARGS=TEST=install_arabic_language,install_asian_language,install_european_language,install_cyrillic_language scripts/run-openqa-tests.sh + ROCKY_FLAVOR="${ROCKY_FLAVOR:-boot-iso}" ROCKY_VERSION="$MAJOR_VERSION.$MINOR_VERSION" ROCKY_ARCH="${ROCKY_ARCH:=x86_64}"