mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
ci: Add run.sh and setup.sh in order to run the tests.
The setup script will be in charge of clone the test repository, meanwhile, the run script will be in charge of execute for example the docker integration tests. Fixes #36 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
14
.ci/run.sh
Executable file
14
.ci/run.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Intel Corporation
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cidir=$(dirname "$0")
|
||||||
|
source "${cidir}/lib.sh"
|
||||||
|
|
||||||
|
pushd "${tests_repo_dir}"
|
||||||
|
.ci/run.sh
|
||||||
|
popd
|
16
.ci/setup.sh
Executable file
16
.ci/setup.sh
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Intel Corporation
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cidir=$(dirname "$0")
|
||||||
|
source "${cidir}/lib.sh"
|
||||||
|
|
||||||
|
clone_tests_repo
|
||||||
|
|
||||||
|
pushd "${tests_repo_dir}"
|
||||||
|
.ci/setup.sh
|
||||||
|
popd
|
Reference in New Issue
Block a user