From f0503ba54a73cb60a805e7f326d5c942a5f0752a Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Thu, 22 Feb 2018 01:00:55 -0600 Subject: [PATCH] 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 --- .ci/run.sh | 14 ++++++++++++++ .ci/setup.sh | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100755 .ci/run.sh create mode 100755 .ci/setup.sh diff --git a/.ci/run.sh b/.ci/run.sh new file mode 100755 index 0000000000..3b2b7d7c2a --- /dev/null +++ b/.ci/run.sh @@ -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 diff --git a/.ci/setup.sh b/.ci/setup.sh new file mode 100755 index 0000000000..8580fb7352 --- /dev/null +++ b/.ci/setup.sh @@ -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