1
0
mirror of https://github.com/rancher/os.git synced 2025-09-09 02:31:36 +00:00

Allow me to skip the INTEGRATION_TESTS due to network issues

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-08-29 04:13:57 +00:00
parent 6433676991
commit 3b918c4cc9
2 changed files with 10 additions and 4 deletions

View File

@@ -13,12 +13,18 @@ echo PREPARE
./scripts/prepare
echo PACKAGE
./scripts/package
if [[ "$ARCH" == "" || "$ARCH" == "amd64" ]]; then
export INTEGRATION_TESTS=1
if [[ "$INTEGRATION_TESTS" != "" ]]; then
if [[ "$ARCH" == "" || "$ARCH" == "amd64" ]]; then
export INTEGRATION_TESTS=1
else
export INTEGRATION_TESTS=0
fi
fi
if [[ "$INTEGRATION_TESTS" != "1" ]]; then
echo INTEGRATION-TEST
./scripts/integration-test
else
export INTEGRATION_TESTS=0
echo "Skipping integration tests"
fi