mirror of
https://github.com/rancher/os.git
synced 2025-09-10 11:11:31 +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:
@@ -39,7 +39,7 @@ RUN echo "Acquire::http { Proxy \"$APTPROXY\"; };" >> /etc/apt/apt.conf.d/01prox
|
|||||||
|
|
||||||
########## Dapper Configuration #####################
|
########## Dapper Configuration #####################
|
||||||
|
|
||||||
ENV DAPPER_ENV VERSION DEV_BUILD RUNTEST DEBUG APTPROXY ENGINE_REGISTRY_MIRROR
|
ENV DAPPER_ENV VERSION DEV_BUILD RUNTEST DEBUG APTPROXY ENGINE_REGISTRY_MIRROR INTEGRATION_TESTS
|
||||||
ENV DAPPER_DOCKER_SOCKET true
|
ENV DAPPER_DOCKER_SOCKET true
|
||||||
ENV DAPPER_SOURCE /go/src/github.com/rancher/os
|
ENV DAPPER_SOURCE /go/src/github.com/rancher/os
|
||||||
ENV DAPPER_OUTPUT ./bin ./dist ./build/initrd ./build/kernel
|
ENV DAPPER_OUTPUT ./bin ./dist ./build/initrd ./build/kernel
|
||||||
|
@@ -13,12 +13,18 @@ echo PREPARE
|
|||||||
./scripts/prepare
|
./scripts/prepare
|
||||||
echo PACKAGE
|
echo PACKAGE
|
||||||
./scripts/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
|
echo INTEGRATION-TEST
|
||||||
./scripts/integration-test
|
./scripts/integration-test
|
||||||
else
|
else
|
||||||
export INTEGRATION_TESTS=0
|
|
||||||
echo "Skipping integration tests"
|
echo "Skipping integration tests"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user