Resolve VNC-226 Introduce $DEBUG variable in CI

This commit is contained in:
Dmitry Maksyoma 2025-08-04 09:38:39 +00:00 committed by Matthew McClaskey
parent efb076cbc8
commit 2312da3e7b
2 changed files with 12 additions and 0 deletions

View file

@ -108,6 +108,17 @@ prepare_to_run_functional_tests() {
prepare_functional_tests_source_and_cd_into_it
prepare_s3_uploader
prepare_kasmvnc_built_packages_to_replace_workspaces_image_packages
heed_debug_variable_and_toggle_debug_in_functional_tests
}
heed_debug_variable_and_toggle_debug_in_functional_tests() {
if [ -z "$CI" ]; then
return
fi
if [ "$DEBUG" = "true" ]; then
export KASMVNC_FUNC_TESTS_DEBUG=1
fi
}
install_packages_needed_for_functional_tests() {

View file

@ -3,6 +3,7 @@ services:
- docker:dind
variables:
DEBUG: true
KASMVNC_COMMIT_ID: $CI_COMMIT_SHA
GITLAB_SHARED_DIND_DIR: /builds/$CI_PROJECT_PATH/shared
GIT_SUBMODULE_STRATEGY: recursive