mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-30 21:03:49 +00:00
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:
@@ -9,8 +9,11 @@ set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
kata_tarball_dir="${2:-kata-artifacts}"
|
||||
export kata_tarball_dir
|
||||
kata_agent_apis_dir="$(dirname "$(readlink -f "$0")")"
|
||||
# shellcheck source=/dev/null
|
||||
source "${kata_agent_apis_dir}/../../common.bash"
|
||||
# shellcheck source=/dev/null
|
||||
source "${kata_agent_apis_dir}/../../gha-run-k8s-common.sh"
|
||||
|
||||
function install_dependencies() {
|
||||
@@ -30,7 +33,7 @@ function install_dependencies() {
|
||||
}
|
||||
|
||||
function run() {
|
||||
bash -c ${kata_agent_apis_dir}/run-agent-api-tests.sh
|
||||
bash -c "${kata_agent_apis_dir}/run-agent-api-tests.sh"
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
||||
Reference in New Issue
Block a user