mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 12:06:49 +00:00
Merge pull request #2688 from GabyCT/shutdown
backport: Call agent shutdown test only in the correspondent CI_JOB
This commit is contained in:
commit
852fc53351
@ -8,11 +8,14 @@
|
|||||||
set -e
|
set -e
|
||||||
cidir=$(dirname "$0")
|
cidir=$(dirname "$0")
|
||||||
source "${cidir}/lib.sh"
|
source "${cidir}/lib.sh"
|
||||||
|
export CI_JOB="${CI_JOB:-}"
|
||||||
|
|
||||||
clone_tests_repo
|
clone_tests_repo
|
||||||
|
|
||||||
pushd ${tests_repo_dir}
|
pushd ${tests_repo_dir}
|
||||||
.ci/run.sh
|
.ci/run.sh
|
||||||
# temporary fix, see https://github.com/kata-containers/tests/issues/3878
|
# temporary fix, see https://github.com/kata-containers/tests/issues/3878
|
||||||
[ "$(uname -m)" != "s390x" ] && tracing/test-agent-shutdown.sh
|
if [ "$(uname -m)" != "s390x" ] && [ "$CI_JOB" == "CRI_CONTAINERD_K8S_MINIMAL" ]; then
|
||||||
|
tracing/test-agent-shutdown.sh
|
||||||
|
fi
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user