Merge branch 'feature/VNC-226-introduce-log-level-env-var-and-cli-switch' into 'master'

Resolve VNC-226 Introduce $DEBUG variable in CI

Closes VNC-226

See merge request kasm-technologies/internal/KasmVNC!201
This commit is contained in:
Matthew McClaskey 2025-08-04 09:38:39 +00:00
commit d72e163cb6
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