From 36e18d9b48a5964ad5860e3d690987167efa1e20 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Tue, 14 Jul 2020 16:12:54 +0300 Subject: [PATCH] Add INTEGRATION_TESTS_ARGS gitlab-ci variable (#3605) This allows tweaking integration tests params on the fly (in Gitlab GUI https://docs.gitlab.com/ee/ci/variables/#create-a-custom-variable-in-the-ui). --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0134f88404..34f47b84b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -112,8 +112,11 @@ builder-image: .test-template: stage: test extends: .base-template + variables: + INTEGRATION_TESTS_ARGS: "--extended --exclude pruning,dbcrash" script: - - ./ci/test_integrationtests.sh --extended --exclude pruning,dbcrash + - echo "INTEGRATION_TESTS_ARGS=${INTEGRATION_TESTS_ARGS}" + - ./ci/test_integrationtests.sh $INTEGRATION_TESTS_ARGS after_script: - mkdir -p $CI_PROJECT_DIR/testlogs artifacts: