mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-01-23 02:14:29 +00:00
Resolve VNC-226 Introduce $DEBUG variable in CI
This commit is contained in:
parent
efb076cbc8
commit
2312da3e7b
2 changed files with 12 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue