mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-29 16:57:18 +00:00
ci: Skip pkgs test on CI.
The zypper still hangs in the CI. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
9e93b510e2
commit
ad6faf0d59
@ -17,6 +17,10 @@ make_target() {
|
||||
target=$1
|
||||
dir=$2
|
||||
|
||||
if [ -n "${CI}" ] && [ "${target}" == "test-packaging-tools" ];then
|
||||
echo "skip $target see https://github.com/kata-containers/packaging/issues/72"
|
||||
return
|
||||
fi
|
||||
pushd "${script_dir}/.." >> /dev/null
|
||||
if [ -n "${CI}" ] && ! git whatchanged origin/master..HEAD "${dir}" | grep "${dir}" >> /dev/null; then
|
||||
echo "Not changes in ${dir}"
|
||||
@ -24,7 +28,7 @@ make_target() {
|
||||
fi
|
||||
popd >> /dev/null
|
||||
echo "Changes found in $dir"
|
||||
make -f "${toplevel_mk}" ${target}
|
||||
make -f "${toplevel_mk}" "${target}"
|
||||
}
|
||||
|
||||
make_target test-release-tools "release/"
|
||||
|
Loading…
Reference in New Issue
Block a user