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:
Jose Carlos Venegas Munoz 2018-07-04 15:19:52 -05:00
parent 9e93b510e2
commit ad6faf0d59

View File

@ -17,6 +17,10 @@ make_target() {
target=$1 target=$1
dir=$2 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 pushd "${script_dir}/.." >> /dev/null
if [ -n "${CI}" ] && ! git whatchanged origin/master..HEAD "${dir}" | grep "${dir}" >> /dev/null; then if [ -n "${CI}" ] && ! git whatchanged origin/master..HEAD "${dir}" | grep "${dir}" >> /dev/null; then
echo "Not changes in ${dir}" echo "Not changes in ${dir}"
@ -24,7 +28,7 @@ make_target() {
fi fi
popd >> /dev/null popd >> /dev/null
echo "Changes found in $dir" echo "Changes found in $dir"
make -f "${toplevel_mk}" ${target} make -f "${toplevel_mk}" "${target}"
} }
make_target test-release-tools "release/" make_target test-release-tools "release/"