Skip to content

Commit

Permalink
kernel: remove build-kernel_test.sh
Browse files Browse the repository at this point in the history
`build-kernel_test.sh` builds the kernel when there are changes
of it in a PR and then runs the whole CI tests. Now we are running
all CI tests on all changes[1] (not only when there is a kernel change).
This is making the CI to run all tests twice when there is a change
in the kernel, so we need to remove the script.

[1] kata-containers/packaging#348

Fixes: #380.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
  • Loading branch information
chavafg committed Mar 6, 2019
1 parent 55ac255 commit 1fbeaec
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 119 deletions.
11 changes: 2 additions & 9 deletions .ci/test.sh
Expand Up @@ -29,14 +29,6 @@ make_target() {
[ -n "${CI}" ] && echo "${skip_msg}" && return
;;

test-build-kernel)
[ -n "${CI}" ] && check_kata_kernel_version
# Setup testing script to test Kata with new kernel changes.
[ -n "${CI}" ] && clone_tests_repo &&
pushd "${tests_repo_dir}" &&
.ci/setup.sh &&
popd
;;
esac

popd >>/dev/null
Expand Down Expand Up @@ -66,4 +58,5 @@ check_kata_kernel_version() {
make_target test-release-tools "release/"
make_target test-packaging-tools "obs-packaging/"
make_target test-static-build "static-build/"
make_target test-build-kernel "kernel/"

[ -n "${CI}" ] && check_kata_kernel_version
3 changes: 0 additions & 3 deletions Makefile
Expand Up @@ -34,9 +34,6 @@ test-static-build:
test-packaging-tools:
@$(MK_DIR)/obs-packaging/build_from_docker.sh

test-build-kernel:
@$(MK_DIR)/kernel/build-kernel_test.sh

$(YQ):
@bash -c "source .ci/lib.sh; install_yq $${MK_DIR}"

Expand Down
106 changes: 0 additions & 106 deletions kernel/build-kernel_test.sh

This file was deleted.

2 changes: 1 addition & 1 deletion kernel/kata_config_version
@@ -1 +1 @@
26
27

0 comments on commit 1fbeaec

Please sign in to comment.