tests: Fix shellcheck issues in gha-run.sh

Fix shellcheck warnings and notes identified by running
shellcheck --severity=style.

Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
This commit is contained in:
Fabiano Fidêncio
2026-04-21 12:32:07 +02:00
parent 7618715c24
commit be0c348b80

View File

@@ -9,9 +9,12 @@ set -o errexit
set -o nounset
set -o pipefail
# shellcheck disable=SC2034
kata_tarball_dir="${2:-kata-artifacts}"
stability_dir="$(dirname "$(readlink -f "$0")")"
# shellcheck source=/dev/null
source "${stability_dir}/../common.bash"
# shellcheck source=/dev/null
source "${stability_dir}/common_stability.bash"
DOCKERFILE="${stability_dir}/stressng_dockerfile/Dockerfile"
IMAGE="docker.io/library/local-stressng:latest"
@@ -33,6 +36,7 @@ function install_dependencies() {
}
function run() {
# shellcheck disable=SC2154
info "Running soak parallel stability tests using ${KATA_HYPERVISOR} hypervisor"
export ITERATIONS=2 MAX_CONTAINERS=20