mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-19 01:39:48 +00:00
tests: Add check images as part of install dependencies
To avoid random failures while trying to build and install the stressng image, this PR moves that step as part of the install dependencies in order to move the stability tests and avoid timeouts. Fixes #8787 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
192c6ee9c3
commit
aceba94d95
@ -12,6 +12,9 @@ set -o pipefail
|
||||
kata_tarball_dir="${2:-kata-artifacts}"
|
||||
stability_dir="$(dirname "$(readlink -f "$0")")"
|
||||
source "${stability_dir}/../common.bash"
|
||||
source "${stability_dir}/../metrics/lib/common.bash"
|
||||
DOCKERFILE="${stability_dir}/stressng_dockerfile/Dockerfile"
|
||||
IMAGE="docker.io/library/local-stressng:latest"
|
||||
|
||||
function install_dependencies() {
|
||||
info "Installing the dependencies needed for running the containerd-stability tests"
|
||||
@ -27,6 +30,7 @@ function install_dependencies() {
|
||||
|
||||
ensure_yq
|
||||
install_docker
|
||||
check_ctr_images "${IMAGE}" "${DOCKERFILE}"
|
||||
}
|
||||
|
||||
function run() {
|
||||
|
Loading…
Reference in New Issue
Block a user